Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009207/0.0009209, allocations: 175.9 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 222.9 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000853/0.000853, allocations: 86.39 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3485/0.3485, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1189, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.4624, allocations: 109.3 MB / 0.5867 GB, free: 8.676 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.4627, allocations: 77.22 kB / 0.5867 GB, free: 8.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5493/1.012, allocations: 137 MB / 0.7205 GB, free: 84.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.474e-06/1.012, allocations: 3.469 kB / 0.7205 GB, free: 84.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006731/1.013, allocations: 138.7 kB / 0.7207 GB, free: 84.55 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02529/1.038, allocations: 6.965 MB / 0.7275 GB, free: 81.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.038, allocations: 9.688 kB / 0.7275 GB, free: 81.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02316/1.061, allocations: 5.539 MB / 0.7329 GB, free: 81.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01586/1.077, allocations: 6.434 MB / 0.7392 GB, free: 80.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005681/1.078, allocations: 0.5212 MB / 0.7397 GB, free: 80.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003413/1.081, allocations: 0.6822 MB / 0.7403 GB, free: 79.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03615/1.117, allocations: 17.14 MB / 0.7571 GB, free: 71.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003332/1.118, allocations: 90.41 kB / 0.7572 GB, free: 71.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/1.12, allocations: 334.5 kB / 0.7575 GB, free: 71.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002069/1.122, allocations: 1.628 MB / 0.7591 GB, free: 70.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02942/1.152, allocations: 14.19 MB / 0.7729 GB, free: 66.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07383/1.226, allocations: 72.3 MB / 0.8435 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/1.243, allocations: 7.07 MB / 0.8504 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006316/1.249, allocations: 3.992 MB / 0.8543 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2632/1.513, allocations: 9.403 MB / 0.8635 GB, free: 93.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.56e-05/1.513, allocations: 64.12 kB / 0.8636 GB, free: 93.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=297): time 8.716e-06/1.513, allocations: 0 / 0.8636 GB, free: 93.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.08087/1.594, allocations: 31.42 MB / 0.8943 GB, free: 87.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.594, allocations: 243.2 kB / 0.8945 GB, free: 87.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01329/1.607, allocations: 6.683 MB / 0.901 GB, free: 87.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/1.608, allocations: 77.64 kB / 0.9011 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00432/1.613, allocations: 4.823 MB / 0.9058 GB, free: 83.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001933/1.615, allocations: 1.264 MB / 0.907 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008794/1.616, allocations: 180.1 kB / 0.9072 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005611/1.616, allocations: 0.6903 MB / 0.9079 GB, free: 82.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005195/1.621, allocations: 3.741 MB / 0.9115 GB, free: 80.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006951/1.628, allocations: 8.824 MB / 0.9202 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/1.641, allocations: 13.6 MB / 0.9334 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/1.642, allocations: 50.81 kB / 0.9335 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.02477/1.666, allocations: 13.86 MB / 0.947 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/1.666, allocations: 81.66 kB / 0.9471 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002609/1.667, allocations: 178.3 kB / 0.9473 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003563/1.67, allocations: 1.679 MB / 0.9489 GB, free: 57.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006898/1.677, allocations: 2.125 MB / 0.951 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/1.688, allocations: 11.4 MB / 0.9621 GB, free: 50.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007813/1.696, allocations: 0.5253 MB / 0.9626 GB, free: 50.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.698, allocations: 0.5258 MB / 0.9631 GB, free: 50.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1092): * Single equations (assignments): 1087 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005809/1.704, allocations: 3.294 MB / 0.9664 GB, free: 49.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.705, allocations: 0.5921 MB / 0.9669 GB, free: 48.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.716, allocations: 7.517 MB / 0.9743 GB, free: 46.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/1.716, allocations: 36 kB / 0.9743 GB, free: 45.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/1.716, allocations: 12 kB / 0.9743 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/1.716, allocations: 17.67 kB / 0.9743 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02666/1.743, allocations: 16.1 MB / 0.9901 GB, free: 32.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/1.743, allocations: 8 kB / 0.9901 GB, free: 32.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/1.746, allocations: 0.629 MB / 0.9907 GB, free: 32.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003223/1.749, allocations: 1.418 MB / 0.9921 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004481/1.749, allocations: 62.7 kB / 0.9921 GB, free: 31.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.76, allocations: 10.64 MB / 1.003 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.76, allocations: 4 kB / 1.003 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.776, allocations: 11.89 MB / 1.014 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003638/1.779, allocations: 1.203 MB / 1.015 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0015/1.781, allocations: 60 kB / 1.015 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.784, allocations: 227.3 kB / 1.016 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000544/1.784, allocations: 208.3 kB / 1.016 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/1.785, allocations: 89.09 kB / 1.016 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006862/1.792, allocations: 4.295 MB / 1.02 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/1.792, allocations: 0 / 1.02 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009081/1.801, allocations: 1.709 MB / 1.022 GB, free: 4.816 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006943/1.801, allocations: 208.1 kB / 1.022 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01601/1.817, allocations: 9.198 MB / 1.031 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.817, allocations: 0 / 1.031 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007297/1.825, allocations: 3.715 MB / 1.035 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/1.835, allocations: 0.7562 MB / 1.035 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3447/2.18, allocations: 19.06 MB / 1.054 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01501/2.195, allocations: 5.046 MB / 1.059 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01554/2.211, allocations: 2.974 MB / 1.062 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003723/2.214, allocations: 413.6 kB / 1.062 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.725e-06/2.214, allocations: 0 / 1.062 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.1309/2.345, allocations: 65.15 MB / 1.126 GB, free: 104.1 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches