Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001866/0.001866, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002782/0.002782, allocations: 204 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.65/2.65, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3587/0.3587, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003303/0.003303, allocations: 79.86 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.5644, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.02687/0.5913, allocations: 15.4 MB / 0.5467 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01925/0.6106, allocations: 5.062 MB / 0.5517 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005598/0.6162, allocations: 103.7 kB / 0.5518 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.014/0.6303, allocations: 4.988 MB / 0.5566 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.6421, allocations: 2.595 MB / 0.5592 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005348/0.6475, allocations: 1.24 MB / 0.5604 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01872/0.6662, allocations: 7.956 MB / 0.5681 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01485/0.6812, allocations: 5.98 MB / 0.574 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007839/0.6891, allocations: 2.531 MB / 0.5765 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008977/0.6981, allocations: 3.458 MB / 0.5798 GB, free: 208 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003604/0.7017, allocations: 0.5352 MB / 0.5804 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008074/0.7098, allocations: 1.545 MB / 0.5819 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007953/0.7179, allocations: 3.16 MB / 0.585 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01147/0.7294, allocations: 3.473 MB / 0.5883 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02401/0.7535, allocations: 10.87 MB / 0.599 GB, free: 12.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.7536, allocations: 0 / 0.599 GB, free: 12.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.636e-06/0.7536, allocations: 0 / 0.599 GB, free: 12.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005213/0.7541, allocations: 0 / 0.599 GB, free: 12.54 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.03397/0.7881, allocations: 7.726 MB / 0.6065 GB, free: 4.719 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.244e-05/0.7882, allocations: 8.031 kB / 0.6065 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02451/0.8127, allocations: 3.105 MB / 0.6095 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01807/0.8309, allocations: 4.855 MB / 0.6143 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005766/0.8315, allocations: 361.7 kB / 0.6146 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003026/0.8345, allocations: 0.4959 MB / 0.6151 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04693/0.8815, allocations: 14.28 MB / 0.6291 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005854/0.8821, allocations: 79.39 kB / 0.6291 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002523/0.8847, allocations: 231.8 kB / 0.6294 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007277/0.892, allocations: 2.535 MB / 0.6318 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0411/0.9331, allocations: 11.83 MB / 0.6434 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1149/1.048, allocations: 55.99 MB / 0.6981 GB, free: 4.387 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/1.069, allocations: 4.654 MB / 0.7026 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006688/1.076, allocations: 2.9 MB / 0.7054 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/1.076, allocations: 37.64 kB / 0.7055 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.058e-05/1.076, allocations: 63.44 kB / 0.7055 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=186): time 9.237e-06/1.076, allocations: 0 / 0.7055 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=204): time 0.4866/1.563, allocations: 23.53 MB / 0.7285 GB, free: 158 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/1.563, allocations: 252.9 kB / 0.7287 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/1.574, allocations: 6.695 MB / 0.7353 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005773/1.575, allocations: 52.14 kB / 0.7353 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002613/1.577, allocations: 4.658 MB / 0.7399 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/1.578, allocations: 0.8597 MB / 0.7407 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/1.58, allocations: 1.68 MB / 0.7424 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.644e-05/1.58, allocations: 305.1 kB / 0.7427 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/1.584, allocations: 2.887 MB / 0.7455 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005723/1.59, allocations: 7.799 MB / 0.7531 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/1.6, allocations: 11.42 MB / 0.7642 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001624/1.6, allocations: 48 kB / 0.7643 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.02222/1.622, allocations: 11.95 MB / 0.776 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/1.622, allocations: 76 kB / 0.776 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001702/1.623, allocations: 174.7 kB / 0.7762 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004334/1.627, allocations: 1.775 MB / 0.7779 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005791/1.633, allocations: 1.84 MB / 0.7797 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/1.646, allocations: 12.62 MB / 0.7921 GB, free: 99.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007949/1.654, allocations: 455.6 kB / 0.7925 GB, free: 99.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/1.656, allocations: 488 kB / 0.793 GB, free: 99.04 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (987): * Single equations (assignments): 981 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006461/1.662, allocations: 2.978 MB / 0.7959 GB, free: 96.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002166/1.664, allocations: 0.5587 MB / 0.7964 GB, free: 95.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/1.675, allocations: 4.856 MB / 0.8011 GB, free: 90.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.301e-05/1.675, allocations: 19.84 kB / 0.8012 GB, free: 90.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.675, allocations: 0 / 0.8012 GB, free: 90.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.677, allocations: 0.6338 MB / 0.8018 GB, free: 89.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/1.679, allocations: 35.98 kB / 0.8018 GB, free: 89.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003352/1.682, allocations: 147.6 kB / 0.802 GB, free: 89.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007045/1.683, allocations: 145 kB / 0.8021 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00928/1.692, allocations: 5.336 MB / 0.8073 GB, free: 84.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007791/1.7, allocations: 6.558 MB / 0.8137 GB, free: 77.72 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001772/1.702, allocations: 1.659 MB / 0.8153 GB, free: 76.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006973/1.709, allocations: 4.257 MB / 0.8195 GB, free: 71.82 MB / 0.5606 GB Notification: Performance of Backend: time 9.11e-07/1.709, allocations: 3.938 kB / 0.8195 GB, free: 71.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01652/1.725, allocations: 5.868 MB / 0.8252 GB, free: 65.97 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02991/1.755, allocations: 14 MB / 0.8389 GB, free: 51.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.1843/1.94, allocations: 65.61 MB / 0.903 GB, free: 2.652 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches