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.0009869/0.0009869, allocations: 95.27 kB / 15.68 MB, free: 488 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.001172/0.001172, allocations: 174.3 kB / 16.57 MB, free: 6.375 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.486/1.486, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.3653/0.3653, allocations: 43.55 MB / 314.5 MB, free: 8.82 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.0005437/0.0005438, allocations: 16 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1333, allocations: 58.87 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3142/0.4476, allocations: 87.05 MB / 0.5174 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05108/0.4987, allocations: 19.43 MB / 0.5364 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02283/0.5216, allocations: 432.3 kB / 0.5368 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02167/0.5433, allocations: 4.378 MB / 0.5411 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04971/0.593, allocations: 12.39 MB / 0.5532 GB, free: 15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006933/0.5999, allocations: 0.9986 MB / 0.5541 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.05908/0.6591, allocations: 39.73 MB / 0.5929 GB, free: 6.238 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.6708, allocations: 7.459 MB / 0.6002 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004038/0.6749, allocations: 1.763 MB / 0.6019 GB, free: 12.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00423/0.6792, allocations: 2.481 MB / 0.6044 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001248/0.6804, allocations: 259.9 kB / 0.6046 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.6837, allocations: 1.104 MB / 0.6057 GB, free: 9.129 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003425/0.6871, allocations: 2.848 MB / 0.6085 GB, free: 6.273 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.6893, allocations: 1.438 MB / 0.6099 GB, free: 4.824 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.7009, allocations: 9.726 MB / 0.6194 GB, free: 11.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.701, allocations: 0 / 0.6194 GB, free: 11.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.701, allocations: 0 / 0.6194 GB, free: 11.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004568/0.7014, allocations: 0 / 0.6194 GB, free: 11.07 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.0186/0.7201, allocations: 7.305 MB / 0.6265 GB, free: 3.688 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.7201, allocations: 8.031 kB / 0.6265 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5802/1.3, allocations: 11.22 MB / 0.6375 GB, free: 61.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.313, allocations: 5.672 MB / 0.643 GB, free: 60.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003519/1.313, allocations: 410.9 kB / 0.6434 GB, free: 60.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/1.315, allocations: 0.5333 MB / 0.6439 GB, free: 60.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03865/1.354, allocations: 16.32 MB / 0.6599 GB, free: 57.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004257/1.355, allocations: 78.59 kB / 0.6599 GB, free: 57.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/1.356, allocations: 259.5 kB / 0.6602 GB, free: 57.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004984/1.361, allocations: 3.065 MB / 0.6632 GB, free: 57.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02744/1.388, allocations: 13.42 MB / 0.6763 GB, free: 54.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07079/1.459, allocations: 61.92 MB / 0.7367 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.472, allocations: 5.926 MB / 0.7425 GB, free: 14.18 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/1.472, allocations: 52.75 kB / 0.7426 GB, free: 14.16 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.278e-05/1.472, allocations: 65.66 kB / 0.7426 GB, free: 14.11 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=249): time 5.51e-06/1.472, allocations: 0 / 0.7426 GB, free: 14.11 MB / 0.4982 GB Notification: Performance of matching and sorting (n=267): time 0.05676/1.529, allocations: 24.02 MB / 0.7661 GB, free: 9.797 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002016/1.529, allocations: 264.8 kB / 0.7664 GB, free: 9.488 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/1.541, allocations: 7.401 MB / 0.7736 GB, free: 4.035 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008299/1.542, allocations: 61.77 kB / 0.7736 GB, free: 3.996 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003674/1.546, allocations: 5.046 MB / 0.7786 GB, free: 204 kB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001601/1.547, allocations: 1.03 MB / 0.7796 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/1.548, allocations: 168.1 kB / 0.7797 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000424/1.548, allocations: 0.6709 MB / 0.7804 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00442/1.552, allocations: 3.061 MB / 0.7834 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007756/1.56, allocations: 8.293 MB / 0.7915 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007528/1.568, allocations: 4.918 MB / 0.7963 GB, free: 13.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/1.568, allocations: 52 kB / 0.7963 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02329/1.591, allocations: 11.87 MB / 0.8079 GB, free: 2.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003219/1.592, allocations: 95.94 kB / 0.808 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004284/1.592, allocations: 184 kB / 0.8082 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/1.595, allocations: 1.055 MB / 0.8092 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007177/1.602, allocations: 2.004 MB / 0.8112 GB, free: 15.08 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.613, allocations: 9.802 MB / 0.8207 GB, free: 5.008 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007457/1.621, allocations: 491.4 kB / 0.8212 GB, free: 4.527 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001686/1.623, allocations: 0.5156 MB / 0.8217 GB, free: 4.012 MB / 0.5607 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 (1053): * Single equations (assignments): 1047 * 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.006941/1.63, allocations: 3.319 MB / 0.825 GB, free: 0.8516 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/1.631, allocations: 0.5979 MB / 0.8255 GB, free: 252 kB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008264/1.64, allocations: 4.89 MB / 0.8303 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.706e-05/1.64, allocations: 32 kB / 0.8303 GB, free: 11.32 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.64, allocations: 10.62 kB / 0.8304 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/1.64, allocations: 11.95 kB / 0.8304 GB, free: 11.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2443/1.884, allocations: 12.29 MB / 0.8424 GB, free: 211 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/1.884, allocations: 2.719 kB / 0.8424 GB, free: 211 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.886, allocations: 461.7 kB / 0.8428 GB, free: 211 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/1.888, allocations: 0.7454 MB / 0.8435 GB, free: 211 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003126/1.889, allocations: 51.12 kB / 0.8436 GB, free: 211 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008389/1.897, allocations: 8.83 MB / 0.8522 GB, free: 207.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.897, allocations: 8.891 kB / 0.8522 GB, free: 207.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/1.908, allocations: 8.527 MB / 0.8605 GB, free: 204.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004006/1.912, allocations: 1.053 MB / 0.8616 GB, free: 204.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009068/1.913, allocations: 49.64 kB / 0.8616 GB, free: 204.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/1.915, allocations: 165.6 kB / 0.8618 GB, free: 204.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/1.916, allocations: 157.5 kB / 0.8619 GB, free: 204.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.916, allocations: 72.5 kB / 0.862 GB, free: 204.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006501/1.923, allocations: 4.772 MB / 0.8667 GB, free: 202.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.1e-07/1.923, allocations: 0 / 0.8667 GB, free: 202.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008173/1.931, allocations: 1.602 MB / 0.8682 GB, free: 202.5 MB / 0.5763 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.0006544/1.931, allocations: 206.5 kB / 0.8684 GB, free: 202.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.944, allocations: 7.72 MB / 0.876 GB, free: 199.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.944, allocations: 1.375 kB / 0.876 GB, free: 199.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004044/1.948, allocations: 2.652 MB / 0.8786 GB, free: 198.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/1.953, allocations: 0.7676 MB / 0.8793 GB, free: 198.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03075/1.983, allocations: 17.83 MB / 0.8967 GB, free: 189.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008432/1.992, allocations: 5.213 MB / 0.9018 GB, free: 187.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007241/1.999, allocations: 2.813 MB / 0.9046 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/2, allocations: 399.4 kB / 0.9049 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of SimCode: time 8.52e-07/2, allocations: 3.938 kB / 0.9049 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.09294/2.093, allocations: 58.36 MB / 0.9619 GB, free: 139.2 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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