Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 113.9 kB / 18.46 MB, free: 4.594 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.001272/0.001272, allocations: 186 kB / 19.38 MB, free: 3.676 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.43/1.43, 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.2267/0.2267, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3898, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.02009/0.41, allocations: 16.6 MB / 0.5358 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.4253, allocations: 5.183 MB / 0.5409 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004744/0.43, allocations: 111.1 kB / 0.541 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01167/0.4418, allocations: 5.772 MB / 0.5466 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008771/0.4506, allocations: 2.785 MB / 0.5493 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.4542, allocations: 1.204 MB / 0.5505 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01213/0.4664, allocations: 7.288 MB / 0.5576 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/0.4773, allocations: 7.327 MB / 0.5648 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006994/0.4843, allocations: 2.722 MB / 0.5674 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007024/0.4914, allocations: 3.626 MB / 0.571 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002966/0.4944, allocations: 0.6016 MB / 0.5716 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005004/0.4994, allocations: 1.498 MB / 0.573 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005442/0.5049, allocations: 3.433 MB / 0.5764 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008097/0.513, allocations: 3.841 MB / 0.5801 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02104/0.5341, allocations: 11.96 MB / 0.5918 GB, free: 1.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.5342, allocations: 0 / 0.5918 GB, free: 1.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5342, allocations: 0 / 0.5918 GB, free: 1.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005702/0.5348, allocations: 0 / 0.5918 GB, free: 1.84 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.03658/0.5714, allocations: 8.186 MB / 0.5998 GB, free: 9.566 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.812e-05/0.5715, allocations: 8.031 kB / 0.5998 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02052/0.592, allocations: 2.877 MB / 0.6026 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/0.6107, allocations: 4.645 MB / 0.6071 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005956/0.6113, allocations: 423 kB / 0.6076 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003128/0.6145, allocations: 0.5465 MB / 0.6081 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0403/0.6548, allocations: 16.84 MB / 0.6245 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000625/0.6555, allocations: 71.3 kB / 0.6246 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002705/0.6582, allocations: 263.8 kB / 0.6248 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005811/0.6641, allocations: 3.166 MB / 0.6279 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03217/0.6963, allocations: 14.17 MB / 0.6418 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09589/0.7922, allocations: 64.75 MB / 0.705 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02153/0.8138, allocations: 7.258 MB / 0.7121 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5047/1.319, allocations: 4.397 MB / 0.7164 GB, free: 166.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01993/1.338, allocations: 10.31 MB / 0.7265 GB, free: 162.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.339, allocations: 63.97 kB / 0.7265 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=277): time 5.1e-06/1.339, allocations: 0 / 0.7265 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=319): time 0.08521/1.424, allocations: 35.3 MB / 0.761 GB, free: 142.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/1.424, allocations: 247.9 kB / 0.7612 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00897/1.433, allocations: 7.133 MB / 0.7682 GB, free: 135.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001002/1.434, allocations: 73.7 kB / 0.7683 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00249/1.436, allocations: 4.82 MB / 0.773 GB, free: 130.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001722/1.438, allocations: 1.205 MB / 0.7741 GB, free: 129.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/1.441, allocations: 1.911 MB / 0.776 GB, free: 127.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/1.441, allocations: 309 kB / 0.7763 GB, free: 127 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/1.445, allocations: 3.864 MB / 0.7801 GB, free: 123.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006256/1.452, allocations: 9.152 MB / 0.789 GB, free: 111.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/1.464, allocations: 13.99 MB / 0.8027 GB, free: 94.84 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/1.464, allocations: 56 kB / 0.8027 GB, free: 94.79 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.02378/1.488, allocations: 14.83 MB / 0.8172 GB, free: 79.94 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/1.488, allocations: 87.94 kB / 0.8173 GB, free: 79.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002557/1.488, allocations: 184 kB / 0.8175 GB, free: 79.68 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005519/1.494, allocations: 2.296 MB / 0.8197 GB, free: 77.37 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007317/1.501, allocations: 2.156 MB / 0.8218 GB, free: 75.21 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01974/1.521, allocations: 14.45 MB / 0.8359 GB, free: 60.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/1.534, allocations: 0.5227 MB / 0.8365 GB, free: 59.96 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002372/1.536, allocations: 0.5427 MB / 0.837 GB, free: 59.42 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 83 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.forceArrow.arrowLine.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.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[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.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[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 (1135): * Single equations (assignments): 1128 * 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.01112/1.548, allocations: 3.348 MB / 0.8403 GB, free: 56.05 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002798/1.55, allocations: 0.5939 MB / 0.8408 GB, free: 55.45 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02512/1.576, allocations: 7.7 MB / 0.8484 GB, free: 47.73 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.955e-05/1.576, allocations: 15.89 kB / 0.8484 GB, free: 47.72 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/1.576, allocations: 0 / 0.8484 GB, free: 47.72 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/1.579, allocations: 0.665 MB / 0.849 GB, free: 47.03 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002481/1.581, allocations: 52 kB / 0.8491 GB, free: 46.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006187/1.587, allocations: 215.7 kB / 0.8493 GB, free: 46.77 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/1.589, allocations: 210 kB / 0.8495 GB, free: 46.55 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02756/1.616, allocations: 8.086 MB / 0.8574 GB, free: 38.52 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02232/1.639, allocations: 10.23 MB / 0.8674 GB, free: 28.21 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005663/1.644, allocations: 2.778 MB / 0.8701 GB, free: 25.43 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01159/1.656, allocations: 4.547 MB / 0.8745 GB, free: 20.91 MB / 0.5607 GB Notification: Performance of Backend: time 1.363e-06/1.656, allocations: 0 / 0.8745 GB, free: 20.91 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02239/1.678, allocations: 7.152 MB / 0.8815 GB, free: 13.8 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03931/1.718, allocations: 15.34 MB / 0.8965 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of Templates: time 0.4169/2.135, allocations: 81.55 MB / 0.9761 GB, free: 204.7 MB / 0.6232 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)