Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque3.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.001308/0.001308, 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.001545/0.001545, allocations: 210.8 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.576/1.576, 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.2373/0.2373, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.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_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_ModelicaTest.MultiBody.Forces.Torque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003549/0.003549, allocations: 63.89 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4407, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.02596/0.4667, allocations: 20.81 MB / 0.5822 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.4838, allocations: 6.622 MB / 0.5886 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005141/0.4889, allocations: 203.1 kB / 0.5888 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01948/0.5084, allocations: 9.308 MB / 0.5979 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.5205, allocations: 3.726 MB / 0.6016 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006788/0.5273, allocations: 1.927 MB / 0.6034 GB, free: 9.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0223/0.5496, allocations: 11.86 MB / 0.615 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01567/0.5652, allocations: 8.585 MB / 0.6234 GB, free: 4.836 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009331/0.5746, allocations: 4.327 MB / 0.6276 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.5852, allocations: 6.138 MB / 0.6336 GB, free: 10.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003735/0.5889, allocations: 0.9648 MB / 0.6346 GB, free: 9.375 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006105/0.5951, allocations: 1.737 MB / 0.6363 GB, free: 7.637 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01049/0.6055, allocations: 5.38 MB / 0.6415 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01305/0.6186, allocations: 4.417 MB / 0.6458 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02928/0.6479, allocations: 17.78 MB / 0.6632 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.659e-06/0.6479, allocations: 4 kB / 0.6632 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6479, allocations: 0 / 0.6632 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007924/0.6487, allocations: 0 / 0.6632 GB, free: 11.95 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.03981/0.6885, allocations: 12.62 MB / 0.6755 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/0.6886, allocations: 12.03 kB / 0.6755 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02157/0.7101, allocations: 3.96 MB / 0.6794 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02236/0.7325, allocations: 7.242 MB / 0.6865 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007646/0.7332, allocations: 0.6301 MB / 0.6871 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003863/0.7371, allocations: 0.859 MB / 0.6879 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0592/0.7963, allocations: 24.44 MB / 0.7118 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00067/0.797, allocations: 103.2 kB / 0.7119 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004273/0.8013, allocations: 399.7 kB / 0.7123 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009166/0.8104, allocations: 4.21 MB / 0.7164 GB, free: 3.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6416/1.452, allocations: 20.49 MB / 0.7364 GB, free: 138.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.11/1.562, allocations: 86.73 MB / 0.8211 GB, free: 67.71 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02854/1.591, allocations: 11.05 MB / 0.8319 GB, free: 56.64 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008189/1.599, allocations: 7.044 MB / 0.8388 GB, free: 49.59 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/1.601, allocations: 0.7362 MB / 0.8395 GB, free: 48.86 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.826e-05/1.601, allocations: 86.5 kB / 0.8396 GB, free: 48.76 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=443): time 9.969e-06/1.601, allocations: 0 / 0.8396 GB, free: 48.76 MB / 0.5607 GB Notification: Performance of matching and sorting (n=527): time 0.1689/1.77, allocations: 61.27 MB / 0.8994 GB, free: 3.984 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002373/1.77, allocations: 309.1 kB / 0.8997 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01751/1.788, allocations: 8.039 MB / 0.9075 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001663/1.789, allocations: 109.7 kB / 0.9076 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.007167/1.796, allocations: 7.052 MB / 0.9145 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003944/1.8, allocations: 2.031 MB / 0.9165 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009927/1.81, allocations: 2.706 MB / 0.9192 GB, free: 36 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.81, allocations: 309.1 kB / 0.9195 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01191/1.822, allocations: 6.174 MB / 0.9255 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02016/1.842, allocations: 13.21 MB / 0.9384 GB, free: 8.945 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03237/1.875, allocations: 20.63 MB / 0.9585 GB, free: 0.9258 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000379/1.875, allocations: 68 kB / 0.9586 GB, free: 0.8594 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1706) (initialization): time 0.05645/1.932, allocations: 23.07 MB / 0.9811 GB, free: 9.738 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004687/1.932, allocations: 108 kB / 0.9812 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005605/1.933, allocations: 240 kB / 0.9814 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/1.946, allocations: 4.42 MB / 0.9858 GB, free: 4.961 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01287/1.959, allocations: 3.057 MB / 0.9888 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4232/2.382, allocations: 27.83 MB / 1.016 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01238/2.395, allocations: 0.7813 MB / 1.017 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003445/2.398, allocations: 0.7408 MB / 1.017 GB, free: 214.5 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.01067/2.409, allocations: 4.702 MB / 1.022 GB, free: 212.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002308/2.411, allocations: 0.7499 MB / 1.023 GB, free: 212.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02322/2.434, allocations: 14.09 MB / 1.036 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001373/2.434, allocations: 23.39 kB / 1.037 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/2.434, allocations: 6.078 kB / 1.037 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/2.437, allocations: 0.681 MB / 1.037 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002597/2.439, allocations: 87.38 kB / 1.037 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005244/2.445, allocations: 422.4 kB / 1.038 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001441/2.446, allocations: 395.1 kB / 1.038 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02629/2.472, allocations: 14.33 MB / 1.052 GB, free: 193.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02215/2.494, allocations: 17.58 MB / 1.069 GB, free: 176.7 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005784/2.5, allocations: 4.592 MB / 1.074 GB, free: 172.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007378/2.508, allocations: 4.719 MB / 1.078 GB, free: 167.4 MB / 0.67 GB Notification: Performance of Backend: time 5.71e-07/2.508, allocations: 0 / 1.078 GB, free: 167.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02004/2.528, allocations: 10.44 MB / 1.089 GB, free: 157.2 MB / 0.67 GB Notification: Performance of SimCode: time 0.03726/2.565, allocations: 22.89 MB / 1.111 GB, free: 134.3 MB / 0.67 GB Notification: Performance of Templates: time 0.4511/3.016, allocations: 136.2 MB / 1.244 GB, free: 227.7 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.267835554994235] 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'] 3.028251869996893 3.036278448 2.385158983 Calling exit ...