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.001197/0.001197, allocations: 94.28 kB / 15.7 MB, free: 448 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.002259/0.002259, allocations: 170.4 kB / 16.57 MB, free: 6.41 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.697/1.697, allocations: 205.4 MB / 222.8 MB, free: 5.883 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.4392/0.4392, allocations: 43.57 MB / 314.6 MB, free: 8.898 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.0005832/0.0005833, allocations: 12 kB / 384 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1497, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3848/0.5346, allocations: 92.26 MB / 0.5225 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0725/0.6071, allocations: 18.51 MB / 0.5406 GB, free: 8.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03195/0.6391, allocations: 430.2 kB / 0.541 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02619/0.6654, allocations: 4.863 MB / 0.5458 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05399/0.7194, allocations: 14.11 MB / 0.5596 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008911/0.7283, allocations: 1.017 MB / 0.5605 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.07152/0.7999, allocations: 51.39 MB / 0.6107 GB, free: 4.156 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01531/0.8153, allocations: 7.507 MB / 0.6181 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006015/0.8213, allocations: 2.191 MB / 0.6202 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006441/0.8278, allocations: 3.556 MB / 0.6237 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001932/0.8298, allocations: 252 kB / 0.6239 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004222/0.834, allocations: 1.135 MB / 0.625 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004769/0.8388, allocations: 3.074 MB / 0.628 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003414/0.8423, allocations: 1.419 MB / 0.6294 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3804/1.223, allocations: 9.522 MB / 0.6387 GB, free: 57.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/1.223, allocations: 5.062 kB / 0.6387 GB, free: 57.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.837e-06/1.223, allocations: 0 / 0.6387 GB, free: 57.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006717/1.223, allocations: 0 / 0.6387 GB, free: 57.7 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02546/1.249, allocations: 6.905 MB / 0.6455 GB, free: 54.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/1.249, allocations: 10.16 kB / 0.6455 GB, free: 54.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/1.267, allocations: 3.285 MB / 0.6487 GB, free: 54.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/1.287, allocations: 5.124 MB / 0.6537 GB, free: 53.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/1.288, allocations: 402.2 kB / 0.6541 GB, free: 53.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006276/1.295, allocations: 0.5345 MB / 0.6546 GB, free: 53.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04836/1.343, allocations: 16.38 MB / 0.6706 GB, free: 50.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005112/1.344, allocations: 79.05 kB / 0.6707 GB, free: 50.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/1.346, allocations: 262.5 kB / 0.6709 GB, free: 50.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005591/1.351, allocations: 3.074 MB / 0.6739 GB, free: 50.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03303/1.384, allocations: 13.62 MB / 0.6872 GB, free: 48.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09462/1.479, allocations: 62.42 MB / 0.7482 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01559/1.495, allocations: 6.112 MB / 0.7541 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005528/1.5, allocations: 3.407 MB / 0.7575 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/1.501, allocations: 49.94 kB / 0.7575 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.977e-05/1.501, allocations: 66.94 kB / 0.7576 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 5.581e-06/1.501, allocations: 0 / 0.7576 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.06931/1.57, allocations: 26.29 MB / 0.7832 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/1.57, allocations: 264.2 kB / 0.7835 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/1.582, allocations: 7.002 MB / 0.7903 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009727/1.583, allocations: 65.7 kB / 0.7904 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004509/1.588, allocations: 4.973 MB / 0.7953 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.59, allocations: 1.03 MB / 0.7963 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000508/1.59, allocations: 180.8 kB / 0.7964 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005312/1.591, allocations: 0.6863 MB / 0.7971 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005579/1.596, allocations: 3.379 MB / 0.8004 GB, free: 13.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/1.608, allocations: 8.688 MB / 0.8089 GB, free: 2.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009868/1.618, allocations: 5.274 MB / 0.814 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001265/1.618, allocations: 52 kB / 0.8141 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03589/1.654, allocations: 13.34 MB / 0.8271 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000536/1.655, allocations: 85.41 kB / 0.8272 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005474/1.655, allocations: 189.8 kB / 0.8274 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005549/1.661, allocations: 1.819 MB / 0.8292 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008539/1.669, allocations: 2.082 MB / 0.8312 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/1.685, allocations: 11.77 MB / 0.8427 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009326/1.695, allocations: 0.511 MB / 0.8432 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002788/1.697, allocations: 0.5273 MB / 0.8437 GB, free: 216 kB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3589/2.056, allocations: 3.319 MB / 0.8469 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001886/2.058, allocations: 0.5786 MB / 0.8475 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/2.071, allocations: 5.987 MB / 0.8534 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.213e-05/2.071, allocations: 34.12 kB / 0.8534 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-05/2.071, allocations: 10.86 kB / 0.8534 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-05/2.071, allocations: 11.62 kB / 0.8534 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02923/2.1, allocations: 13.36 MB / 0.8665 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/2.1, allocations: 1.281 kB / 0.8665 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/2.103, allocations: 459.2 kB / 0.8669 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004025/2.107, allocations: 1.494 MB / 0.8683 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003837/2.107, allocations: 49.23 kB / 0.8684 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/2.12, allocations: 10.83 MB / 0.879 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/2.12, allocations: 1.125 kB / 0.879 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01987/2.14, allocations: 9.735 MB / 0.8885 GB, free: 208.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004156/2.144, allocations: 1.085 MB / 0.8895 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002696/2.147, allocations: 43.62 kB / 0.8896 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004603/2.152, allocations: 194 kB / 0.8898 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009035/2.153, allocations: 153.2 kB / 0.8899 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000495/2.153, allocations: 71.77 kB / 0.89 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01174/2.165, allocations: 4.44 MB / 0.8943 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.91e-07/2.165, allocations: 0 / 0.8943 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01362/2.179, allocations: 1.674 MB / 0.8959 GB, free: 206 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/2.18, allocations: 180.3 kB / 0.8961 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01938/2.199, allocations: 8.315 MB / 0.9042 GB, free: 202.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/2.2, allocations: 0 / 0.9042 GB, free: 202.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00534/2.205, allocations: 2.841 MB / 0.907 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008565/2.214, allocations: 0.7651 MB / 0.9078 GB, free: 198.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03822/2.252, allocations: 18.28 MB / 0.9256 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009826/2.262, allocations: 5.07 MB / 0.9306 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007501/2.269, allocations: 2.794 MB / 0.9333 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/2.271, allocations: 395.4 kB / 0.9337 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/2.271, allocations: 0 / 0.9337 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.1159/2.387, allocations: 60.16 MB / 0.9924 GB, free: 112.5 MB / 0.5762 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