Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009261/0.0009263, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009362/0.0009363, allocations: 177.7 kB / 16.92 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4255/0.4255, allocations: 43.57 MB / 315 MB, free: 8.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006018/0.0006019, allocations: 12 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1584, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3908/0.5493, allocations: 99.25 MB / 0.53 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06421/0.6136, allocations: 19.27 MB / 0.5488 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03374/0.6474, allocations: 434.2 kB / 0.5492 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005247/0.6527, allocations: 0.6579 MB / 0.5499 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01472/0.6675, allocations: 2.689 MB / 0.5525 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.672, allocations: 1.039 MB / 0.5535 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01776/0.6897, allocations: 11.46 MB / 0.5647 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01473/0.7045, allocations: 8.32 MB / 0.5728 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006034/0.7106, allocations: 2.023 MB / 0.5748 GB, free: 9.062 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007672/0.7184, allocations: 3.581 MB / 0.5783 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003356/0.7218, allocations: 252 kB / 0.5785 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00543/0.7272, allocations: 1.334 MB / 0.5798 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00503/0.7323, allocations: 3.12 MB / 0.5829 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009228/0.7416, allocations: 3.468 MB / 0.5863 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01806/0.7597, allocations: 11.45 MB / 0.5975 GB, free: 1.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.7597, allocations: 0 / 0.5975 GB, free: 1.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.7597, allocations: 0 / 0.5975 GB, free: 1.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.00051/0.7603, allocations: 0 / 0.5975 GB, free: 1.77 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02119/0.7815, allocations: 6.806 MB / 0.6041 GB, free: 10.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.831e-05/0.7816, allocations: 15.97 kB / 0.6041 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01841/0.8, allocations: 3.279 MB / 0.6073 GB, free: 7.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/0.8145, allocations: 5.228 MB / 0.6124 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004447/0.815, allocations: 398.7 kB / 0.6128 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/0.8178, allocations: 0.5351 MB / 0.6133 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5637/1.381, allocations: 16.42 MB / 0.6294 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005195/1.382, allocations: 78.69 kB / 0.6294 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002504/1.385, allocations: 255.6 kB / 0.6297 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006087/1.391, allocations: 3.08 MB / 0.6327 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02944/1.42, allocations: 13.69 MB / 0.6461 GB, free: 136.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09537/1.516, allocations: 62.46 MB / 0.7071 GB, free: 93.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/1.529, allocations: 6.131 MB / 0.713 GB, free: 89.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004273/1.534, allocations: 3.421 MB / 0.7164 GB, free: 85.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/1.534, allocations: 47.92 kB / 0.7164 GB, free: 85.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/1.534, allocations: 64.12 kB / 0.7165 GB, free: 85.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 5.881e-06/1.534, allocations: 0 / 0.7165 GB, free: 85.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.05909/1.593, allocations: 26.3 MB / 0.7422 GB, free: 59.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.593, allocations: 261.2 kB / 0.7424 GB, free: 58.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008884/1.602, allocations: 7.039 MB / 0.7493 GB, free: 51.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007116/1.603, allocations: 61.7 kB / 0.7494 GB, free: 51.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003172/1.606, allocations: 4.969 MB / 0.7542 GB, free: 46.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/1.607, allocations: 1.04 MB / 0.7552 GB, free: 45.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008149/1.608, allocations: 0.7758 MB / 0.756 GB, free: 45.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/1.608, allocations: 302.1 kB / 0.7563 GB, free: 44.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004252/1.612, allocations: 3.418 MB / 0.7596 GB, free: 41.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006729/1.619, allocations: 8.713 MB / 0.7681 GB, free: 30.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01431/1.633, allocations: 13 MB / 0.7808 GB, free: 14.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001638/1.634, allocations: 56 kB / 0.7809 GB, free: 14.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02577/1.659, allocations: 13.42 MB / 0.794 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/1.66, allocations: 84 kB / 0.7941 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003446/1.66, allocations: 188 kB / 0.7942 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/1.665, allocations: 1.792 MB / 0.796 GB, free: 14.84 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007945/1.673, allocations: 2.091 MB / 0.798 GB, free: 12.75 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/1.689, allocations: 11.78 MB / 0.8095 GB, free: 0.5781 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008797/1.698, allocations: 0.5111 MB / 0.81 GB, free: 68 kB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/1.7, allocations: 0.5256 MB / 0.8105 GB, free: 15.54 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (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 (1110): * Single equations (assignments): 1104 * 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.00849/1.708, allocations: 3.33 MB / 0.8138 GB, free: 12.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002031/1.71, allocations: 0.5862 MB / 0.8144 GB, free: 11.61 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.724, allocations: 6.002 MB / 0.8202 GB, free: 5.57 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.598e-05/1.724, allocations: 28 kB / 0.8203 GB, free: 5.543 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/1.724, allocations: 8 kB / 0.8203 GB, free: 5.535 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-05/1.724, allocations: 15.95 kB / 0.8203 GB, free: 5.52 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3446/2.069, allocations: 13.37 MB / 0.8333 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/2.069, allocations: 0 / 0.8333 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/2.071, allocations: 460.4 kB / 0.8338 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003948/2.075, allocations: 1.503 MB / 0.8352 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003603/2.075, allocations: 47.33 kB / 0.8353 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/2.088, allocations: 10.84 MB / 0.8459 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.088, allocations: 3.156 kB / 0.8459 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/2.105, allocations: 9.749 MB / 0.8554 GB, free: 145.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004169/2.109, allocations: 1.078 MB / 0.8565 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001916/2.111, allocations: 46.97 kB / 0.8565 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003562/2.114, allocations: 193.1 kB / 0.8567 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007237/2.115, allocations: 161 kB / 0.8568 GB, free: 144.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/2.115, allocations: 70.75 kB / 0.8569 GB, free: 144.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01144/2.127, allocations: 4.474 MB / 0.8613 GB, free: 143.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.31e-07/2.127, allocations: 2 kB / 0.8613 GB, free: 143.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01191/2.139, allocations: 1.67 MB / 0.8629 GB, free: 143.3 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * 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,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009014/2.14, allocations: 185.3 kB / 0.8631 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01848/2.158, allocations: 8.354 MB / 0.8712 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/2.158, allocations: 0 / 0.8712 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005107/2.163, allocations: 2.858 MB / 0.874 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006873/2.17, allocations: 0.754 MB / 0.8748 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/2.197, allocations: 19.1 MB / 0.8934 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006223/2.204, allocations: 5.061 MB / 0.8984 GB, free: 123.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007077/2.211, allocations: 2.793 MB / 0.9011 GB, free: 121.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/2.212, allocations: 393 kB / 0.9015 GB, free: 120.9 MB / 0.5138 GB Notification: Performance of SimCode: time 1.192e-06/2.212, allocations: 0 / 0.9015 GB, free: 120.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.1103/2.322, allocations: 61.45 MB / 0.9615 GB, free: 59.58 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches