Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.205/1.205, allocations: 221.3 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008164/0.0008164, allocations: 103.5 kB / 287 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1634/0.1634, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.394e-05, allocations: 4.219 kB / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3378/0.4449, allocations: 107.3 MB / 0.6065 GB, free: 14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.4452, allocations: 75.95 kB / 0.6065 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6429/1.088, allocations: 175.3 MB / 0.7777 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.846e-06/1.088, allocations: 0 / 0.7777 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003804/1.089, allocations: 175.9 kB / 0.7778 GB, free: 107.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02436/1.113, allocations: 8.425 MB / 0.7861 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.113, allocations: 9.594 kB / 0.7861 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/1.131, allocations: 3.781 MB / 0.7898 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02086/1.152, allocations: 9.433 MB / 0.799 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000652/1.153, allocations: 0.6807 MB / 0.7997 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004536/1.157, allocations: 0.9068 MB / 0.8005 GB, free: 99.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04561/1.203, allocations: 21.02 MB / 0.8211 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006071/1.204, allocations: 91.22 kB / 0.8212 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00362/1.207, allocations: 432.4 kB / 0.8216 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002707/1.21, allocations: 1.869 MB / 0.8234 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03334/1.243, allocations: 16.22 MB / 0.8392 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4172/1.661, allocations: 83.66 MB / 0.9209 GB, free: 95.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/1.679, allocations: 6.355 MB / 0.9271 GB, free: 95.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003441/1.683, allocations: 2.306 MB / 0.9294 GB, free: 95.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02099/1.704, allocations: 10.95 MB / 0.9401 GB, free: 92.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/1.704, allocations: 57.84 kB / 0.9401 GB, free: 92.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 6.332e-06/1.704, allocations: 0.6875 kB / 0.9401 GB, free: 92.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.05167/1.756, allocations: 15.75 MB / 0.9555 GB, free: 87.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/1.756, allocations: 152.9 kB / 0.9557 GB, free: 87.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007808/1.764, allocations: 5.878 MB / 0.9614 GB, free: 86.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000357/1.764, allocations: 61.58 kB / 0.9615 GB, free: 86.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003295/1.767, allocations: 6.035 MB / 0.9674 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000966/1.768, allocations: 0.9302 MB / 0.9683 GB, free: 82.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/1.769, allocations: 175.8 kB / 0.9684 GB, free: 82.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003546/1.769, allocations: 0.6781 MB / 0.9691 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/1.772, allocations: 2.302 MB / 0.9713 GB, free: 82.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007808/1.78, allocations: 8.055 MB / 0.9792 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00651/1.787, allocations: 4.254 MB / 0.9834 GB, free: 74.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.787, allocations: 59.16 kB / 0.9834 GB, free: 74.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01774/1.805, allocations: 10 MB / 0.9932 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002623/1.805, allocations: 94.03 kB / 0.9933 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004009/1.805, allocations: 207.4 kB / 0.9935 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/1.806, allocations: 299 kB / 0.9938 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006918/1.813, allocations: 2.165 MB / 0.9959 GB, free: 72.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000397/1.813, allocations: 402.5 kB / 0.9963 GB, free: 72.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007594/1.821, allocations: 0.6019 MB / 0.9968 GB, free: 72.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.822, allocations: 0.5459 MB / 0.9974 GB, free: 72.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1129): * Single equations (assignments): 1126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002481/1.825, allocations: 0.8246 MB / 0.9982 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001568/1.826, allocations: 0.5813 MB / 0.9988 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/1.829, allocations: 0.7055 MB / 0.9994 GB, free: 70.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/1.829, allocations: 27.19 kB / 0.9995 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.669e-05/1.829, allocations: 5.25 kB / 0.9995 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/1.829, allocations: 10.5 kB / 0.9995 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03121/1.86, allocations: 19.48 MB / 1.019 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001322/1.86, allocations: 50.69 kB / 1.019 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/1.862, allocations: 0.5076 MB / 1.019 GB, free: 62.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.402e-05/1.862, allocations: 83.78 kB / 1.019 GB, free: 62.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002682/1.862, allocations: 120.2 kB / 1.019 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.873e-05/1.862, allocations: 101.7 kB / 1.019 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.365e-05/1.862, allocations: 84.22 kB / 1.019 GB, free: 62.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006833/1.869, allocations: 14.66 MB / 1.034 GB, free: 47.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/1.871, allocations: 0.695 MB / 1.034 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001661/1.873, allocations: 128.7 kB / 1.035 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003694/1.877, allocations: 199.7 kB / 1.035 GB, free: 47.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004253/1.877, allocations: 351.4 kB / 1.035 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002352/1.878, allocations: 146.1 kB / 1.035 GB, free: 47.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008566/1.886, allocations: 4.084 MB / 1.039 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.01e-07/1.886, allocations: 7.938 kB / 1.039 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01018/1.896, allocations: 1.549 MB / 1.041 GB, free: 42.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008898/1.897, allocations: 283.5 kB / 1.041 GB, free: 42.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008551/1.906, allocations: 5.575 MB / 1.046 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.987e-05/1.906, allocations: 8 kB / 1.046 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/1.908, allocations: 1.323 MB / 1.048 GB, free: 36.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005554/1.913, allocations: 0.9748 MB / 1.049 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/1.942, allocations: 14.79 MB / 1.063 GB, free: 21.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/1.953, allocations: 6.256 MB / 1.069 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008107/1.961, allocations: 2.785 MB / 1.072 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.962, allocations: 398.8 kB / 1.072 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/1.962, allocations: 0 / 1.072 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of Templates: time 0.09477/2.057, allocations: 47.11 MB / 1.118 GB, free: 6.086 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches