Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.001285/0.001285, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001443/0.001443, allocations: 204.6 kB / 24.49 MB, free: 3.965 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2313/0.2313, allocations: 46.95 MB / 361.6 MB, free: 4.168 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.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 63.88 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 66.03 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.01782/0.3234, allocations: 14.06 MB / 0.5756 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3346, allocations: 4.933 MB / 0.5804 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.3375, allocations: 131.4 kB / 0.5805 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01127/0.3487, allocations: 5.565 MB / 0.5859 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007553/0.3563, allocations: 2.673 MB / 0.5886 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.3592, allocations: 1.205 MB / 0.5897 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01058/0.3698, allocations: 7.214 MB / 0.5968 GB, free: 304 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007328/0.3771, allocations: 5.302 MB / 0.602 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005184/0.3823, allocations: 2.695 MB / 0.6046 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00647/0.3887, allocations: 3.801 MB / 0.6083 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.3906, allocations: 0.582 MB / 0.6089 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.3939, allocations: 1.389 MB / 0.6102 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003583/0.3974, allocations: 3.374 MB / 0.6135 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003635/0.4011, allocations: 2.765 MB / 0.6162 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.4141, allocations: 11.58 MB / 0.6275 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.4141, allocations: 3.938 kB / 0.6275 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4142, allocations: 0 / 0.6275 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002875/0.4144, allocations: 0 / 0.6275 GB, free: 0.6133 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: 2371 * Number of variables: 2371 Notification: Performance of Generate backend data structure: time 0.01738/0.4318, allocations: 8.09 MB / 0.6354 GB, free: 8.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4319, allocations: 12.03 kB / 0.6354 GB, free: 8.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/0.4439, allocations: 2.808 MB / 0.6382 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/0.4556, allocations: 4.446 MB / 0.6425 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004302/0.456, allocations: 402.8 kB / 0.6429 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/0.4583, allocations: 0.5387 MB / 0.6434 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03194/0.4902, allocations: 16.13 MB / 0.6592 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002876/0.4905, allocations: 67.45 kB / 0.6593 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001555/0.4921, allocations: 251.8 kB / 0.6595 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005653/0.4977, allocations: 2.927 MB / 0.6623 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02988/0.5276, allocations: 13.51 MB / 0.6755 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/0.6308, allocations: 59.24 MB / 0.7334 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5426/1.173, allocations: 6.523 MB / 0.7398 GB, free: 152.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00425/1.178, allocations: 4.055 MB / 0.7437 GB, free: 151 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01351/1.191, allocations: 8.62 MB / 0.7521 GB, free: 147.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/1.191, allocations: 68.19 kB / 0.7522 GB, free: 147.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=277): time 6.983e-06/1.191, allocations: 0 / 0.7522 GB, free: 147.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=319): time 0.1259/1.317, allocations: 35.17 MB / 0.7865 GB, free: 114.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/1.317, allocations: 239.9 kB / 0.7868 GB, free: 114.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008934/1.326, allocations: 5.717 MB / 0.7924 GB, free: 109 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008285/1.327, allocations: 73.7 kB / 0.7924 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002852/1.33, allocations: 4.884 MB / 0.7972 GB, free: 104.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/1.331, allocations: 1.257 MB / 0.7984 GB, free: 103 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003239/1.335, allocations: 1.881 MB / 0.8003 GB, free: 101.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/1.335, allocations: 313 kB / 0.8006 GB, free: 100.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006515/1.341, allocations: 3.832 MB / 0.8043 GB, free: 96.98 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006133/1.347, allocations: 9.063 MB / 0.8132 GB, free: 85.38 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.359, allocations: 13.81 MB / 0.8266 GB, free: 69.02 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/1.359, allocations: 52 kB / 0.8267 GB, free: 68.97 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1199) (initialization): time 0.01999/1.379, allocations: 14.58 MB / 0.8409 GB, free: 54.38 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/1.379, allocations: 80 kB / 0.841 GB, free: 54.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/1.379, allocations: 180 kB / 0.8412 GB, free: 54.12 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004945/1.384, allocations: 2.292 MB / 0.8434 GB, free: 51.82 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006212/1.39, allocations: 2.125 MB / 0.8455 GB, free: 49.69 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/1.405, allocations: 14.04 MB / 0.8592 GB, free: 35.46 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007441/1.412, allocations: 0.515 MB / 0.8597 GB, free: 34.94 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.414, allocations: 0.5312 MB / 0.8602 GB, free: 34.41 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 77 (forceAndTorque2.torqueArrow.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.forceArrow.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque1.torqueArrow.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.forceArrow.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1117): * Single equations (assignments): 1110 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005925/1.42, allocations: 3.219 MB / 0.8634 GB, free: 31.18 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.421, allocations: 0.5161 MB / 0.8639 GB, free: 30.66 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/1.434, allocations: 7.551 MB / 0.8712 GB, free: 23.09 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.375e-05/1.434, allocations: 19.94 kB / 0.8713 GB, free: 23.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.434, allocations: 3.938 kB / 0.8713 GB, free: 23.07 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.435, allocations: 468.4 kB / 0.8717 GB, free: 22.61 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.436, allocations: 48 kB / 0.8718 GB, free: 22.56 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/1.439, allocations: 215.7 kB / 0.872 GB, free: 22.35 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005926/1.44, allocations: 217.8 kB / 0.8722 GB, free: 22.13 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01279/1.453, allocations: 8.05 MB / 0.88 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01069/1.463, allocations: 10.15 MB / 0.8899 GB, free: 3.91 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002612/1.466, allocations: 2.555 MB / 0.8924 GB, free: 1.355 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005672/1.472, allocations: 3.33 MB / 0.8957 GB, free: 14.04 MB / 0.5763 GB Notification: Performance of Backend: time 3.71e-07/1.472, allocations: 0 / 0.8957 GB, free: 14.04 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01592/1.487, allocations: 6.687 MB / 0.9022 GB, free: 7.379 MB / 0.5763 GB Notification: Performance of SimCode: time 0.0295/1.517, allocations: 14.86 MB / 0.9167 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of Templates: time 0.4024/1.919, allocations: 82.66 MB / 0.9975 GB, free: 225.3 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.652566752003622] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w', 'Revolute3.phi', 'Revolute3.w', 'Revolute4.phi', 'Revolute4.w'] 1.9282917029995588 1.945467036 1.52759691 Calling exit ...