Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2281/0.2281, allocations: 46.88 MB / 361.1 MB, free: 4.648 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque3,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 76.16 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3647, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.02879/0.3935, allocations: 24.33 MB / 0.585 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01741/0.411, allocations: 6.853 MB / 0.5917 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006051/0.417, allocations: 179.4 kB / 0.5918 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01925/0.4363, allocations: 9.72 MB / 0.6013 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.4472, allocations: 3.711 MB / 0.605 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005851/0.453, allocations: 1.934 MB / 0.6069 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0205/0.4735, allocations: 11.84 MB / 0.6184 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01502/0.4885, allocations: 8.052 MB / 0.6263 GB, free: 2.133 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008633/0.4972, allocations: 4.273 MB / 0.6304 GB, free: 13.85 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01088/0.5081, allocations: 6.138 MB / 0.6364 GB, free: 7.691 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003644/0.5117, allocations: 0.9688 MB / 0.6374 GB, free: 6.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006348/0.518, allocations: 1.858 MB / 0.6392 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008193/0.5262, allocations: 5.38 MB / 0.6445 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01096/0.5372, allocations: 5.812 MB / 0.6501 GB, free: 9.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.027/0.5642, allocations: 17.68 MB / 0.6674 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5642, allocations: 0 / 0.6674 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5642, allocations: 4 kB / 0.6674 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000651/0.5649, allocations: 0 / 0.6674 GB, free: 7.875 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3565 * Number of variables: 3565 Notification: Performance of Generate backend data structure: time 0.03467/0.5995, allocations: 12.69 MB / 0.6798 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.5996, allocations: 8.031 kB / 0.6798 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02096/0.6205, allocations: 3.96 MB / 0.6837 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01984/0.6404, allocations: 7.329 MB / 0.6908 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005934/0.641, allocations: 0.6262 MB / 0.6914 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/0.6439, allocations: 0.8668 MB / 0.6923 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05148/0.6953, allocations: 24.13 MB / 0.7159 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004407/0.6958, allocations: 111.2 kB / 0.716 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00206/0.6978, allocations: 395.7 kB / 0.7163 GB, free: 4.188 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008174/0.706, allocations: 4.214 MB / 0.7205 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5653/1.271, allocations: 20.56 MB / 0.7405 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/1.373, allocations: 92.62 MB / 0.831 GB, free: 59.17 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02779/1.401, allocations: 11.53 MB / 0.8422 GB, free: 47.48 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007275/1.408, allocations: 7.001 MB / 0.8491 GB, free: 40.47 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002056/1.41, allocations: 2.33 MB / 0.8514 GB, free: 37.79 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/1.41, allocations: 90.48 kB / 0.8514 GB, free: 37.69 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=443): time 6.853e-06/1.41, allocations: 0 / 0.8514 GB, free: 37.69 MB / 0.5607 GB Notification: Performance of matching and sorting (n=527): time 0.1607/1.571, allocations: 61.58 MB / 0.9116 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002893/1.571, allocations: 321 kB / 0.9119 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01862/1.59, allocations: 9.636 MB / 0.9213 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00147/1.591, allocations: 109.7 kB / 0.9214 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.007235/1.599, allocations: 6.989 MB / 0.9282 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003505/1.602, allocations: 2.046 MB / 0.9302 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005726/1.608, allocations: 2.706 MB / 0.9329 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.608, allocations: 305.1 kB / 0.9332 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01108/1.619, allocations: 6.178 MB / 0.9392 GB, free: 12.36 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02041/1.639, allocations: 13.11 MB / 0.952 GB, free: 11.89 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02942/1.669, allocations: 20.63 MB / 0.9721 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002047/1.669, allocations: 68 kB / 0.9722 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1706) (initialization): time 0.319/1.988, allocations: 23.19 MB / 0.9949 GB, free: 220.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003736/1.988, allocations: 113.6 kB / 0.995 GB, free: 220.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006362/1.989, allocations: 238.1 kB / 0.9952 GB, free: 220.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/2.001, allocations: 4.418 MB / 0.9995 GB, free: 220.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/2.011, allocations: 3.065 MB / 1.002 GB, free: 220.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02928/2.04, allocations: 28.64 MB / 1.03 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009987/2.05, allocations: 0.7958 MB / 1.031 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00212/2.052, allocations: 0.7385 MB / 1.032 GB, free: 207.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1090 * Number of states: 0 () * Number of discrete variables: 120 (torque4.torqueArrow.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.forceArrow.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque3.torqueArrow.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.forceArrow.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1586): * Single equations (assignments): 1579 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,23,100.0%), (2,23,100.0%), (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.00962/2.062, allocations: 4.694 MB / 1.037 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002708/2.065, allocations: 0.8952 MB / 1.037 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0253/2.09, allocations: 14.21 MB / 1.051 GB, free: 196.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001474/2.09, allocations: 29.97 kB / 1.051 GB, free: 196.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/2.09, allocations: 0 / 1.051 GB, free: 196.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00307/2.093, allocations: 0.9595 MB / 1.052 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00274/2.096, allocations: 84 kB / 1.052 GB, free: 195.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005525/2.101, allocations: 427.3 kB / 1.053 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/2.103, allocations: 367.5 kB / 1.053 GB, free: 194.8 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0233/2.126, allocations: 14.38 MB / 1.067 GB, free: 180.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01885/2.145, allocations: 17.72 MB / 1.084 GB, free: 163.1 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004908/2.15, allocations: 4.605 MB / 1.089 GB, free: 158.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008297/2.158, allocations: 6.122 MB / 1.095 GB, free: 152.4 MB / 0.67 GB Notification: Performance of Backend: time 7.21e-07/2.158, allocations: 3.75 kB / 1.095 GB, free: 152.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01988/2.178, allocations: 10.46 MB / 1.105 GB, free: 142 MB / 0.67 GB Notification: Performance of SimCode: time 0.03389/2.212, allocations: 23.33 MB / 1.128 GB, free: 118.6 MB / 0.67 GB Notification: Performance of Templates: time 0.4675/2.679, allocations: 130.5 MB / 1.255 GB, free: 223 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.59636742202565] 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', 'Revolute5.phi', 'Revolute5.w', 'Revolute6.phi', 'Revolute6.w', 'Revolute7.phi', 'Revolute7.w', 'Revolute8.phi', 'Revolute8.w'] 2.688652988988906 2.697723342 2.1308025539999997 Calling exit ...