Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 106.6 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 187.2 kB / 19.39 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2106/0.2106, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.91 kB / 471.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3562, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.0271/0.3834, allocations: 24.8 MB / 0.5438 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01697/0.4004, allocations: 6.927 MB / 0.5506 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006506/0.4069, allocations: 179.7 kB / 0.5507 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01772/0.4246, allocations: 9.661 MB / 0.5602 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.4365, allocations: 3.874 MB / 0.564 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005639/0.4422, allocations: 1.931 MB / 0.5659 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0176/0.4598, allocations: 11.91 MB / 0.5775 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0168/0.4767, allocations: 11.39 MB / 0.5886 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00806/0.4848, allocations: 4.347 MB / 0.5929 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008688/0.4935, allocations: 5.873 MB / 0.5986 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003598/0.4971, allocations: 0.9922 MB / 0.5996 GB, free: 9.902 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005971/0.5031, allocations: 1.862 MB / 0.6014 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007556/0.5107, allocations: 5.452 MB / 0.6067 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01091/0.5216, allocations: 6.041 MB / 0.6126 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.026/0.5476, allocations: 18.39 MB / 0.6306 GB, free: 10.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5477, allocations: 4 kB / 0.6306 GB, free: 10.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.5477, allocations: 0 / 0.6306 GB, free: 10.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007055/0.5484, allocations: 0 / 0.6306 GB, free: 10.04 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.03617/0.5846, allocations: 13.01 MB / 0.6433 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5847, allocations: 8.031 kB / 0.6433 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02166/0.6063, allocations: 4.116 MB / 0.6473 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01652/0.6229, allocations: 7.571 MB / 0.6547 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00054/0.6234, allocations: 0.65 MB / 0.6553 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00299/0.6264, allocations: 0.8756 MB / 0.6562 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05596/0.6824, allocations: 25.27 MB / 0.6809 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005917/0.6831, allocations: 107.2 kB / 0.681 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002874/0.686, allocations: 411.7 kB / 0.6813 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008922/0.6949, allocations: 4.585 MB / 0.6858 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04682/0.7418, allocations: 21.5 MB / 0.7068 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6324/1.374, allocations: 95.26 MB / 0.7999 GB, free: 90.85 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02904/1.403, allocations: 11.97 MB / 0.8115 GB, free: 78.71 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007719/1.411, allocations: 7.624 MB / 0.819 GB, free: 71.09 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002065/1.413, allocations: 2.319 MB / 0.8213 GB, free: 68.42 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/1.413, allocations: 94.42 kB / 0.8213 GB, free: 68.32 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=443): time 7.004e-06/1.413, allocations: 0 / 0.8213 GB, free: 68.32 MB / 0.5607 GB Notification: Performance of matching and sorting (n=527): time 0.1529/1.566, allocations: 62.07 MB / 0.882 GB, free: 6.566 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.566, allocations: 313 kB / 0.8823 GB, free: 6.195 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01443/1.581, allocations: 9.812 MB / 0.8918 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001594/1.582, allocations: 107.7 kB / 0.8919 GB, free: 12.48 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.006335/1.589, allocations: 7.255 MB / 0.899 GB, free: 5.863 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.004588/1.593, allocations: 2.046 MB / 0.901 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006687/1.6, allocations: 2.749 MB / 0.9037 GB, free: 1.039 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.6, allocations: 311.5 kB / 0.904 GB, free: 0.7344 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01037/1.611, allocations: 6.21 MB / 0.9101 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01904/1.63, allocations: 13.29 MB / 0.9231 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02832/1.658, allocations: 20.86 MB / 0.9434 GB, free: 1.441 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004028/1.658, allocations: 68 kB / 0.9435 GB, free: 1.375 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1730) (initialization): time 0.3754/2.034, allocations: 23.45 MB / 0.9664 GB, free: 208.1 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001836/2.034, allocations: 109.8 kB / 0.9665 GB, free: 208.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003356/2.034, allocations: 244 kB / 0.9667 GB, free: 208.1 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01242/2.047, allocations: 4.434 MB / 0.9711 GB, free: 208 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/2.059, allocations: 3.096 MB / 0.9741 GB, free: 208 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03365/2.093, allocations: 28.66 MB / 1.002 GB, free: 194.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01184/2.105, allocations: 0.8069 MB / 1.003 GB, free: 194.6 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002513/2.107, allocations: 0.7504 MB / 1.004 GB, free: 194.5 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1114 * Number of states: 0 () * Number of discrete variables: 126 (torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.arrowLine.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.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[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.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[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 (1610): * Single equations (assignments): 1603 * 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.008356/2.116, allocations: 4.883 MB / 1.008 GB, free: 192.6 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001909/2.117, allocations: 0.905 MB / 1.009 GB, free: 192.6 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02387/2.141, allocations: 14.28 MB / 1.023 GB, free: 182 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001183/2.142, allocations: 27.91 kB / 1.023 GB, free: 182 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/2.142, allocations: 0 / 1.023 GB, free: 182 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/2.144, allocations: 0.9751 MB / 1.024 GB, free: 181.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002752/2.147, allocations: 87.94 kB / 1.024 GB, free: 181.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005608/2.152, allocations: 427.4 kB / 1.025 GB, free: 181 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001352/2.154, allocations: 367.5 kB / 1.025 GB, free: 180.6 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02628/2.18, allocations: 14.38 MB / 1.039 GB, free: 166.4 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02227/2.202, allocations: 17.73 MB / 1.056 GB, free: 148.8 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005916/2.208, allocations: 4.982 MB / 1.061 GB, free: 143.8 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.009938/2.218, allocations: 6.219 MB / 1.067 GB, free: 137.6 MB / 0.6388 GB Notification: Performance of Backend: time 1.182e-06/2.218, allocations: 0 / 1.067 GB, free: 137.6 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02278/2.241, allocations: 11.23 MB / 1.078 GB, free: 126.4 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03594/2.277, allocations: 23.86 MB / 1.102 GB, free: 102.5 MB / 0.6388 GB Notification: Performance of Templates: time 0.462/2.739, allocations: 131.5 MB / 1.23 GB, free: 204 MB / 0.6388 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1)