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.001105/0.001105, allocations: 111.7 kB / 18.46 MB, free: 4.613 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.001152/0.001152, allocations: 190 kB / 19.39 MB, free: 3.688 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.346/1.346, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.208/0.208, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.89 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3383, allocations: 60.83 MB / 0.5196 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.02621/0.3646, allocations: 24.78 MB / 0.5438 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.3813, allocations: 6.936 MB / 0.5506 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006597/0.3879, allocations: 179.4 kB / 0.5508 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01831/0.4062, allocations: 9.659 MB / 0.5602 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.4185, allocations: 3.874 MB / 0.564 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00484/0.4234, allocations: 1.934 MB / 0.5659 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01674/0.4402, allocations: 11.91 MB / 0.5775 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01768/0.4579, allocations: 11.37 MB / 0.5886 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/0.4683, allocations: 4.362 MB / 0.5929 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.479, allocations: 5.865 MB / 0.5986 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004369/0.4835, allocations: 0.9922 MB / 0.5996 GB, free: 9.895 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006413/0.4899, allocations: 1.862 MB / 0.6014 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007694/0.4976, allocations: 5.456 MB / 0.6067 GB, free: 2.562 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01185/0.5095, allocations: 6.041 MB / 0.6126 GB, free: 12.49 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0261/0.5356, allocations: 18.38 MB / 0.6305 GB, free: 10.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.5357, allocations: 4 kB / 0.6306 GB, free: 10.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5357, allocations: 0 / 0.6306 GB, free: 10.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006945/0.5364, allocations: 0 / 0.6306 GB, free: 10.03 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.0334/0.5698, allocations: 13.01 MB / 0.6433 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5699, allocations: 8.031 kB / 0.6433 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01955/0.5894, allocations: 4.116 MB / 0.6473 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/0.6067, allocations: 7.571 MB / 0.6547 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006738/0.6075, allocations: 0.65 MB / 0.6553 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003399/0.6109, allocations: 0.8824 MB / 0.6562 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05448/0.6654, allocations: 25.27 MB / 0.6809 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006704/0.6661, allocations: 107.2 kB / 0.681 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003495/0.6696, allocations: 407.7 kB / 0.6814 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008751/0.6784, allocations: 4.577 MB / 0.6858 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04627/0.7247, allocations: 21.51 MB / 0.7068 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4087/1.133, allocations: 95.26 MB / 0.7999 GB, free: 93.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02705/1.161, allocations: 11.96 MB / 0.8115 GB, free: 81.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008723/1.169, allocations: 7.632 MB / 0.819 GB, free: 73.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002349/1.172, allocations: 2.319 MB / 0.8213 GB, free: 71.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/1.172, allocations: 94.44 kB / 0.8213 GB, free: 71.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=443): time 1.188e-05/1.172, allocations: 0 / 0.8213 GB, free: 71.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=527): time 0.1522/1.324, allocations: 62.07 MB / 0.882 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.324, allocations: 325 kB / 0.8823 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01625/1.34, allocations: 9.804 MB / 0.8918 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001538/1.342, allocations: 105.7 kB / 0.8919 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006368/1.348, allocations: 7.257 MB / 0.899 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003637/1.352, allocations: 2.046 MB / 0.901 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006532/1.359, allocations: 2.749 MB / 0.9037 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.359, allocations: 304.9 kB / 0.904 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00973/1.368, allocations: 6.218 MB / 0.9101 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01635/1.385, allocations: 13.29 MB / 0.9231 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02745/1.412, allocations: 20.87 MB / 0.9434 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002763/1.413, allocations: 75.94 kB / 0.9435 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1730) (initialization): time 0.3831/1.796, allocations: 23.44 MB / 0.9664 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/1.796, allocations: 113.1 kB / 0.9665 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000477/1.797, allocations: 243.5 kB / 0.9667 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01247/1.809, allocations: 4.439 MB / 0.9711 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/1.821, allocations: 3.097 MB / 0.9741 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03112/1.852, allocations: 28.65 MB / 1.002 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01206/1.864, allocations: 0.806 MB / 1.003 GB, free: 196.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003148/1.867, allocations: 0.7455 MB / 1.004 GB, free: 196.1 MB / 0.6387 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.01043/1.877, allocations: 4.89 MB / 1.008 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/1.88, allocations: 0.9035 MB / 1.009 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02146/1.901, allocations: 14.28 MB / 1.023 GB, free: 185.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.891e-05/1.901, allocations: 31.73 kB / 1.023 GB, free: 185.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.901, allocations: 0 / 1.023 GB, free: 185.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.903, allocations: 0.9745 MB / 1.024 GB, free: 185.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002176/1.906, allocations: 91.98 kB / 1.024 GB, free: 185.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004754/1.91, allocations: 419.2 kB / 1.025 GB, free: 184.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001171/1.912, allocations: 379.4 kB / 1.025 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02214/1.934, allocations: 14.37 MB / 1.039 GB, free: 170.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01883/1.953, allocations: 17.73 MB / 1.056 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005221/1.958, allocations: 4.984 MB / 1.061 GB, free: 147.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.008574/1.966, allocations: 6.223 MB / 1.067 GB, free: 141.3 MB / 0.6387 GB Notification: Performance of Backend: time 1.302e-06/1.966, allocations: 0 / 1.067 GB, free: 141.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02187/1.988, allocations: 11.21 MB / 1.078 GB, free: 130.1 MB / 0.6387 GB Notification: Performance of SimCode: time 0.04345/2.032, allocations: 23.87 MB / 1.102 GB, free: 106.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.4905/2.522, allocations: 131.5 MB / 1.23 GB, free: 211.1 MB / 0.6387 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)