Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 212.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3341, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01338/0.3475, allocations: 10.26 MB / 0.5706 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009482/0.357, allocations: 3.863 MB / 0.5744 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.3592, allocations: 67.75 kB / 0.5744 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.362, allocations: 1.167 MB / 0.5756 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.3671, allocations: 1.782 MB / 0.5773 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.3688, allocations: 0.5652 MB / 0.5779 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006544/0.3753, allocations: 4.038 MB / 0.5818 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.378, allocations: 1.679 MB / 0.5835 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.3802, allocations: 1.175 MB / 0.5846 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003076/0.3833, allocations: 1.853 MB / 0.5864 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006218/0.3839, allocations: 224 kB / 0.5866 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.3866, allocations: 1.189 MB / 0.5878 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.3886, allocations: 1.608 MB / 0.5894 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.3906, allocations: 1.311 MB / 0.5906 GB, free: 5.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009717/0.4003, allocations: 6.24 MB / 0.5967 GB, free: 15.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.4003, allocations: 0 / 0.5967 GB, free: 15.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4004, allocations: 3.938 kB / 0.5967 GB, free: 15.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002223/0.4006, allocations: 0 / 0.5967 GB, free: 15.03 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.01121/0.4118, allocations: 4.134 MB / 0.6008 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.4118, allocations: 11.97 kB / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001663/0.4135, allocations: 0.6876 MB / 0.6015 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02146/0.435, allocations: 6.179 MB / 0.6075 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009505/0.4445, allocations: 2.586 MB / 0.61 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.4448, allocations: 184.5 kB / 0.6102 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/0.4466, allocations: 311.6 kB / 0.6105 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/0.4693, allocations: 10.71 MB / 0.621 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-05/0.4694, allocations: 27.81 kB / 0.621 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004012/0.4698, allocations: 111.8 kB / 0.6211 GB, free: 5.516 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004816/0.4746, allocations: 2.463 MB / 0.6235 GB, free: 3.051 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/0.499, allocations: 10.14 MB / 0.6334 GB, free: 8.902 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06175/0.5608, allocations: 33.91 MB / 0.6665 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.5717, allocations: 4.454 MB / 0.6709 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00326/0.575, allocations: 2.183 MB / 0.673 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.5763, allocations: 0.5518 MB / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/0.5763, allocations: 56.5 kB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 6.452e-06/0.5763, allocations: 0 / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03625/0.6126, allocations: 14.79 MB / 0.688 GB, free: 16 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001564/0.6141, allocations: 1.506 MB / 0.6895 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/0.6184, allocations: 2.989 MB / 0.6924 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004645/0.6189, allocations: 53.69 kB / 0.6925 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002297/0.6212, allocations: 2.788 MB / 0.6952 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/0.6224, allocations: 0.8952 MB / 0.6961 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.624, allocations: 1.108 MB / 0.6971 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6241, allocations: 305.1 kB / 0.6974 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/0.628, allocations: 2.626 MB / 0.7 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006874/0.6348, allocations: 5.631 MB / 0.7055 GB, free: 12.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/0.647, allocations: 8.941 MB / 0.7142 GB, free: 2.023 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/0.6471, allocations: 32 kB / 0.7143 GB, free: 1.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06205/0.7092, allocations: 17.12 MB / 0.731 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.383e-05/0.7093, allocations: 48 kB / 0.731 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3298/1.039, allocations: 10.6 MB / 0.7414 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0418/1.081, allocations: 8.637 MB / 0.7498 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004079/1.085, allocations: 1.304 MB / 0.7511 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0229/1.108, allocations: 17.33 MB / 0.768 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/1.112, allocations: 419.6 kB / 0.7684 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000669/1.112, allocations: 316 kB / 0.7687 GB, free: 128.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002341/1.115, allocations: 2.025 MB / 0.7707 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/1.115, allocations: 289.1 kB / 0.771 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006622/1.122, allocations: 5.096 MB / 0.7759 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005872/1.128, allocations: 4.401 MB / 0.7802 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/1.128, allocations: 0.875 kB / 0.7802 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/1.128, allocations: 7.969 kB / 0.7803 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01973/1.147, allocations: 12.36 MB / 0.7923 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/1.147, allocations: 8 kB / 0.7923 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.149, allocations: 462.7 kB / 0.7928 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/1.152, allocations: 0.938 MB / 0.7937 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/1.152, allocations: 47.81 kB / 0.7937 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/1.157, allocations: 5.599 MB / 0.7992 GB, free: 97.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006695/1.158, allocations: 1.451 MB / 0.8006 GB, free: 96.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008815/1.167, allocations: 7.733 MB / 0.8082 GB, free: 88.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/1.167, allocations: 270.6 kB / 0.8084 GB, free: 88.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003666/1.168, allocations: 41.3 kB / 0.8085 GB, free: 88.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.169, allocations: 195.7 kB / 0.8087 GB, free: 88.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/1.169, allocations: 152.9 kB / 0.8088 GB, free: 87.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.169, allocations: 67.81 kB / 0.8089 GB, free: 87.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001758/1.171, allocations: 1.729 MB / 0.8106 GB, free: 86.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.171, allocations: 3.938 kB / 0.8106 GB, free: 86.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003804/1.175, allocations: 1.077 MB / 0.8116 GB, free: 85 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008841/1.184, allocations: 8.399 MB / 0.8198 GB, free: 76.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008377/1.192, allocations: 6.213 MB / 0.8259 GB, free: 70.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.192, allocations: 0 / 0.8259 GB, free: 70.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002829/1.195, allocations: 2.301 MB / 0.8281 GB, free: 67.99 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/1.197, allocations: 392.3 kB / 0.8285 GB, free: 67.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1158/1.313, allocations: 56.83 MB / 0.884 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002928/1.316, allocations: 2.61 MB / 0.8865 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003833/1.32, allocations: 2.06 MB / 0.8886 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/1.322, allocations: 1.66 MB / 0.8902 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.573e-06/1.322, allocations: 0 / 0.8902 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1651/1.487, allocations: 73.83 MB / 0.9623 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/17.42, allocations: 13.78 kB / 0.9623 GB, free: 6.461 MB / 0.6387 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.31440077497973] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 17.5763300289982 17.60227273 17.196868671 Calling exit ...