Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 178.7 kB / 18.09 MB, free: 3.629 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008453, allocations: 90.59 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3166/0.3166, allocations: 44.15 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004339, allocations: 16 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.336, allocations: 61.88 MB / 0.5107 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4707, allocations: 108.2 MB / 0.6163 GB, free: 2.879 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.471, allocations: 87.94 kB / 0.6164 GB, free: 2.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5433/1.014, allocations: 120.2 MB / 0.7338 GB, free: 91.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.035e-06/1.014, allocations: 7.844 kB / 0.7338 GB, free: 91.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003476/1.015, allocations: 114.1 kB / 0.7339 GB, free: 91.76 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01837/1.033, allocations: 6.097 MB / 0.7399 GB, free: 88.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.033, allocations: 7.438 kB / 0.7399 GB, free: 88.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02133/1.054, allocations: 5.361 MB / 0.7451 GB, free: 87.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/1.067, allocations: 5.523 MB / 0.7505 GB, free: 85.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004471/1.067, allocations: 462.6 kB / 0.751 GB, free: 85.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00295/1.07, allocations: 0.6117 MB / 0.7516 GB, free: 84.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0309/1.101, allocations: 15.09 MB / 0.7663 GB, free: 76.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000206/1.102, allocations: 79.84 kB / 0.7664 GB, free: 76.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007349/1.102, allocations: 301 kB / 0.7667 GB, free: 75.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001305/1.104, allocations: 1.357 MB / 0.768 GB, free: 75.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02357/1.127, allocations: 12.39 MB / 0.7801 GB, free: 65.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0647/1.192, allocations: 64.75 MB / 0.8433 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0168/1.209, allocations: 6.976 MB / 0.8501 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004386/1.213, allocations: 3.331 MB / 0.8534 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/1.213, allocations: 41.27 kB / 0.8534 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/1.213, allocations: 63.86 kB / 0.8535 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=218): time 5.24e-06/1.213, allocations: 0 / 0.8535 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.3699/1.583, allocations: 28.78 MB / 0.8816 GB, free: 112 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/1.584, allocations: 206.2 kB / 0.8818 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008757/1.592, allocations: 6.018 MB / 0.8877 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006074/1.593, allocations: 66.2 kB / 0.8877 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002729/1.596, allocations: 4.212 MB / 0.8918 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.597, allocations: 0.9904 MB / 0.8928 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/1.597, allocations: 156.5 kB / 0.8929 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003146/1.598, allocations: 0.6254 MB / 0.8936 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/1.602, allocations: 3.184 MB / 0.8967 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005906/1.608, allocations: 7.683 MB / 0.9042 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01271/1.62, allocations: 11.77 MB / 0.9157 GB, free: 93.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002434/1.621, allocations: 45.44 kB / 0.9157 GB, free: 93.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.02341/1.644, allocations: 12.12 MB / 0.9276 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000204/1.644, allocations: 73.91 kB / 0.9276 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002809/1.645, allocations: 159.4 kB / 0.9278 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00403/1.649, allocations: 1.648 MB / 0.9294 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006056/1.655, allocations: 1.826 MB / 0.9312 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.668, allocations: 11.39 MB / 0.9423 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00666/1.674, allocations: 475.6 kB / 0.9427 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001622/1.676, allocations: 463.2 kB / 0.9432 GB, free: 82.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 (918): * Single equations (assignments): 913 * 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.007317/1.683, allocations: 2.872 MB / 0.946 GB, free: 81.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/1.685, allocations: 0.5095 MB / 0.9465 GB, free: 80.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009966/1.695, allocations: 6.204 MB / 0.9525 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.64e-05/1.695, allocations: 30.89 kB / 0.9526 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/1.695, allocations: 7.281 kB / 0.9526 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.606e-05/1.695, allocations: 16.2 kB / 0.9526 GB, free: 78.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02296/1.718, allocations: 13.74 MB / 0.966 GB, free: 73.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.718, allocations: 0 / 0.966 GB, free: 73.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/1.72, allocations: 491.6 kB / 0.9665 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00302/1.723, allocations: 1.422 MB / 0.9679 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/1.723, allocations: 45.84 kB / 0.9679 GB, free: 73.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/1.734, allocations: 10.61 MB / 0.9783 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.734, allocations: 0 / 0.9783 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/1.747, allocations: 10.11 MB / 0.9882 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/1.749, allocations: 0.5874 MB / 0.9887 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.75, allocations: 36 kB / 0.9888 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/1.753, allocations: 223.7 kB / 0.989 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/1.753, allocations: 158.7 kB / 0.9891 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.753, allocations: 64.55 kB / 0.9892 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006207/1.76, allocations: 3.819 MB / 0.9929 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/1.76, allocations: 0 / 0.9929 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006878/1.767, allocations: 1.481 MB / 0.9944 GB, free: 51.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (202): * Single equations (assignments): 197 * 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.0005041/1.767, allocations: 189.3 kB / 0.9945 GB, free: 51.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009271/1.776, allocations: 7.896 MB / 1.002 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.776, allocations: 0 / 1.002 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004122/1.781, allocations: 3.214 MB / 1.005 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/1.785, allocations: 0.6925 MB / 1.006 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02689/1.812, allocations: 16.25 MB / 1.022 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006539/1.819, allocations: 4.423 MB / 1.026 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006525/1.825, allocations: 2.589 MB / 1.029 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.827, allocations: 347.4 kB / 1.029 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/1.827, allocations: 0 / 1.029 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.374/2.2, allocations: 57.72 MB / 1.085 GB, free: 128.5 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches