Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces2.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.001945/0.001945, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002374/0.002374, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.551/1.551, allocations: 230.6 MB / 258.3 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.2461/0.2461, allocations: 46.97 MB / 361.6 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: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.89 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3751, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01748/0.3926, allocations: 13.41 MB / 0.5749 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.4042, allocations: 4.856 MB / 0.5797 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003023/0.4072, allocations: 127.4 kB / 0.5798 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.4173, allocations: 4.86 MB / 0.5845 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008308/0.4256, allocations: 2.595 MB / 0.5871 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.4294, allocations: 1.236 MB / 0.5883 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01276/0.4422, allocations: 7.952 MB / 0.596 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007222/0.4494, allocations: 4.69 MB / 0.6006 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005138/0.4545, allocations: 2.562 MB / 0.6031 GB, free: 9.645 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008216/0.4628, allocations: 3.688 MB / 0.6067 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002318/0.4651, allocations: 0.5352 MB / 0.6073 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004071/0.4691, allocations: 1.467 MB / 0.6087 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004173/0.4733, allocations: 3.222 MB / 0.6118 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005255/0.4786, allocations: 2.598 MB / 0.6144 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.4944, allocations: 10.88 MB / 0.625 GB, free: 3.168 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.4944, allocations: 0 / 0.625 GB, free: 3.168 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4944, allocations: 0 / 0.625 GB, free: 3.168 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003946/0.4948, allocations: 0 / 0.625 GB, free: 3.168 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.02174/0.5166, allocations: 7.615 MB / 0.6324 GB, free: 11.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.5166, allocations: 12.03 kB / 0.6324 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01604/0.5327, allocations: 3.078 MB / 0.6355 GB, free: 8.375 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/0.5467, allocations: 4.759 MB / 0.6401 GB, free: 3.527 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005019/0.5472, allocations: 361.7 kB / 0.6404 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/0.5496, allocations: 495.9 kB / 0.6409 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0318/0.5814, allocations: 14.38 MB / 0.655 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002854/0.5817, allocations: 67.45 kB / 0.655 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0012/0.5829, allocations: 231.8 kB / 0.6552 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004666/0.5876, allocations: 2.535 MB / 0.6577 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02594/0.6135, allocations: 11.75 MB / 0.6692 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07653/0.69, allocations: 52.11 MB / 0.7201 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/0.7025, allocations: 4.065 MB / 0.7241 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004257/0.7067, allocations: 2.728 MB / 0.7267 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.7069, allocations: 21 kB / 0.7267 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.7069, allocations: 60.19 kB / 0.7268 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 6.643e-06/0.7069, allocations: 0 / 0.7268 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.3889/1.096, allocations: 23.3 MB / 0.7496 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/1.096, allocations: 255.9 kB / 0.7498 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00739/1.103, allocations: 5.724 MB / 0.7554 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005611/1.104, allocations: 57.11 kB / 0.7554 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002545/1.106, allocations: 4.676 MB / 0.76 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.108, allocations: 0.8663 MB / 0.7609 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/1.109, allocations: 1.681 MB / 0.7625 GB, free: 140 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.589e-05/1.11, allocations: 305.1 kB / 0.7628 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/1.113, allocations: 2.888 MB / 0.7656 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005138/1.118, allocations: 7.862 MB / 0.7733 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009899/1.128, allocations: 11.43 MB / 0.7844 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001859/1.128, allocations: 52 kB / 0.7845 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02067/1.149, allocations: 11.82 MB / 0.796 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004322/1.149, allocations: 82.19 kB / 0.7961 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005535/1.15, allocations: 175.9 kB / 0.7963 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/1.155, allocations: 1.762 MB / 0.798 GB, free: 99.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006388/1.162, allocations: 1.914 MB / 0.7999 GB, free: 97.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/1.174, allocations: 11.92 MB / 0.8115 GB, free: 85.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007922/1.182, allocations: 455.4 kB / 0.8119 GB, free: 84.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/1.184, allocations: 492 kB / 0.8124 GB, free: 84.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (994): * Single equations (assignments): 988 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006037/1.19, allocations: 2.951 MB / 0.8153 GB, free: 81.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.191, allocations: 488.8 kB / 0.8158 GB, free: 80.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008801/1.2, allocations: 4.738 MB / 0.8204 GB, free: 75.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.553e-05/1.2, allocations: 12.98 kB / 0.8204 GB, free: 75.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.2, allocations: 4 kB / 0.8204 GB, free: 75.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/1.202, allocations: 448.6 kB / 0.8208 GB, free: 75.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/1.204, allocations: 32 kB / 0.8209 GB, free: 75.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/1.206, allocations: 139.8 kB / 0.821 GB, free: 75.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004701/1.207, allocations: 155.7 kB / 0.8211 GB, free: 75.21 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009102/1.216, allocations: 5.348 MB / 0.8264 GB, free: 69.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007293/1.223, allocations: 6.484 MB / 0.8327 GB, free: 63.38 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00166/1.225, allocations: 1.561 MB / 0.8342 GB, free: 61.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00594/1.231, allocations: 3.362 MB / 0.8375 GB, free: 58.48 MB / 0.5606 GB Notification: Performance of Backend: time 1.192e-06/1.231, allocations: 0 / 0.8375 GB, free: 58.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.244, allocations: 5.596 MB / 0.843 GB, free: 52.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02772/1.272, allocations: 13.76 MB / 0.8564 GB, free: 39.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.1196/1.392, allocations: 72.02 MB / 0.9267 GB, free: 15.77 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.98998899399885] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w', 'Revolute3.phi', 'Revolute3.w'] 1.4025166949941195 1.417578269 0.919579722 Calling exit ...