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.001345/0.001345, allocations: 112.9 kB / 18.45 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.001196/0.001196, allocations: 183 kB / 19.38 MB, free: 3.672 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.332/1.332, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.204/0.204, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 59.89 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3115, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.01668/0.3282, allocations: 16.59 MB / 0.5358 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.3399, allocations: 5.187 MB / 0.5409 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004107/0.3441, allocations: 113.2 kB / 0.541 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.3558, allocations: 5.781 MB / 0.5466 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008776/0.3647, allocations: 2.777 MB / 0.5493 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.3676, allocations: 1.21 MB / 0.5505 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.3803, allocations: 7.283 MB / 0.5576 GB, free: 5.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009962/0.3903, allocations: 7.318 MB / 0.5648 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004356/0.3947, allocations: 2.726 MB / 0.5674 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004592/0.3993, allocations: 3.629 MB / 0.571 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.4005, allocations: 0.5977 MB / 0.5715 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.4033, allocations: 1.502 MB / 0.573 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00286/0.4062, allocations: 3.433 MB / 0.5764 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003657/0.4098, allocations: 3.838 MB / 0.5801 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.4231, allocations: 12.02 MB / 0.5919 GB, free: 1.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.4232, allocations: 0 / 0.5919 GB, free: 1.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4232, allocations: 4 kB / 0.5919 GB, free: 1.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003373/0.4235, allocations: 0 / 0.5919 GB, free: 1.754 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.01706/0.4406, allocations: 8.404 MB / 0.6001 GB, free: 9.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.4407, allocations: 11.97 kB / 0.6001 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.4524, allocations: 2.917 MB / 0.6029 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.4631, allocations: 4.662 MB / 0.6075 GB, free: 1.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004509/0.4636, allocations: 423 kB / 0.6079 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001939/0.4656, allocations: 0.5504 MB / 0.6084 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03315/0.4987, allocations: 16.84 MB / 0.6249 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003008/0.4991, allocations: 67.41 kB / 0.6249 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00182/0.5009, allocations: 259.8 kB / 0.6252 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005588/0.5065, allocations: 3.166 MB / 0.6283 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02898/0.5355, allocations: 14.17 MB / 0.6421 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08149/0.6171, allocations: 64.89 MB / 0.7055 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/0.6363, allocations: 7.253 MB / 0.7125 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4251/1.061, allocations: 4.392 MB / 0.7168 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01635/1.078, allocations: 10.34 MB / 0.7269 GB, free: 162.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/1.078, allocations: 63.94 kB / 0.727 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=277): time 6.733e-06/1.078, allocations: 0 / 0.727 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=319): time 0.07973/1.158, allocations: 35.77 MB / 0.7619 GB, free: 142 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/1.158, allocations: 235.9 kB / 0.7621 GB, free: 141.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008704/1.166, allocations: 7.157 MB / 0.7691 GB, free: 134.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007131/1.167, allocations: 77.7 kB / 0.7692 GB, free: 134.6 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00227/1.169, allocations: 5.004 MB / 0.7741 GB, free: 130 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001251/1.171, allocations: 1.261 MB / 0.7753 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002117/1.173, allocations: 1.924 MB / 0.7772 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.244e-05/1.173, allocations: 305.1 kB / 0.7775 GB, free: 126.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00434/1.177, allocations: 3.856 MB / 0.7813 GB, free: 122.6 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007603/1.185, allocations: 9.151 MB / 0.7902 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/1.198, allocations: 13.99 MB / 0.8039 GB, free: 94.34 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/1.198, allocations: 56 kB / 0.8039 GB, free: 94.29 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.02254/1.221, allocations: 14.86 MB / 0.8184 GB, free: 79.41 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.221, allocations: 88.03 kB / 0.8185 GB, free: 79.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/1.221, allocations: 184 kB / 0.8187 GB, free: 79.14 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005284/1.227, allocations: 2.296 MB / 0.8209 GB, free: 76.84 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006887/1.233, allocations: 2.156 MB / 0.823 GB, free: 74.68 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.248, allocations: 14.46 MB / 0.8372 GB, free: 59.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00802/1.256, allocations: 0.5267 MB / 0.8377 GB, free: 59.42 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.258, allocations: 0.5466 MB / 0.8382 GB, free: 58.88 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.005642/1.263, allocations: 3.349 MB / 0.8415 GB, free: 55.51 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/1.265, allocations: 0.6286 MB / 0.8421 GB, free: 54.88 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.276, allocations: 7.688 MB / 0.8496 GB, free: 47.17 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.276e-05/1.276, allocations: 19.88 kB / 0.8496 GB, free: 47.15 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/1.276, allocations: 0 / 0.8496 GB, free: 47.15 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.278, allocations: 0.6959 MB / 0.8503 GB, free: 46.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001463/1.279, allocations: 56 kB / 0.8503 GB, free: 46.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002663/1.282, allocations: 215.7 kB / 0.8506 GB, free: 46.17 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005316/1.283, allocations: 209.9 kB / 0.8508 GB, free: 45.96 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01246/1.295, allocations: 8.084 MB / 0.8586 GB, free: 37.92 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01078/1.306, allocations: 10.28 MB / 0.8687 GB, free: 27.57 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002668/1.309, allocations: 2.774 MB / 0.8714 GB, free: 24.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005845/1.315, allocations: 4.543 MB / 0.8758 GB, free: 20.27 MB / 0.5607 GB Notification: Performance of Backend: time 4.21e-07/1.315, allocations: 0 / 0.8758 GB, free: 20.27 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.328, allocations: 7.156 MB / 0.8828 GB, free: 13.14 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02669/1.355, allocations: 15.59 MB / 0.898 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of Templates: time 0.3809/1.735, allocations: 81.55 MB / 0.9777 GB, free: 203.5 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)