Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 186 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001564/0.001564, allocations: 104.9 kB / 270.9 MB, free: 8.375 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.5193/0.5193, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.000631, allocations: 15.98 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1328, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4829/0.6158, allocations: 107.1 MB / 0.5833 GB, free: 11.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.6161, allocations: 79.97 kB / 0.5834 GB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117/1.733, allocations: 199.4 MB / 0.7781 GB, free: 67.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.733, allocations: 0 / 0.7781 GB, free: 67.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005343/1.734, allocations: 200.2 kB / 0.7783 GB, free: 67.33 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: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.03931/1.773, allocations: 10.01 MB / 0.7881 GB, free: 60.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.773, allocations: 10.03 kB / 0.7881 GB, free: 60.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03506/1.808, allocations: 4.034 MB / 0.792 GB, free: 56.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03429/1.843, allocations: 10.61 MB / 0.8024 GB, free: 46.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009808/1.844, allocations: 0.7952 MB / 0.8032 GB, free: 45.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005634/1.849, allocations: 1.039 MB / 0.8042 GB, free: 44.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07803/1.927, allocations: 24.42 MB / 0.828 GB, free: 18.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006248/1.928, allocations: 95.48 kB / 0.8281 GB, free: 18.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005261/1.933, allocations: 499.7 kB / 0.8286 GB, free: 17.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005615/1.939, allocations: 2.279 MB / 0.8308 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06557/2.005, allocations: 19.53 MB / 0.8499 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7148/2.72, allocations: 94.24 MB / 0.9419 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03891/2.759, allocations: 7.733 MB / 0.9495 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03958/2.798, allocations: 13.3 MB / 0.9625 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/2.798, allocations: 78.36 kB / 0.9625 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 7.695e-06/2.798, allocations: 3.719 kB / 0.9625 GB, free: 32.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.09296/2.891, allocations: 20.86 MB / 0.9829 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/2.891, allocations: 167.2 kB / 0.9831 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01826/2.91, allocations: 6.618 MB / 0.9895 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008391/2.911, allocations: 80.23 kB / 0.9896 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005598/2.916, allocations: 6.557 MB / 0.996 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002088/2.918, allocations: 1.362 MB / 0.9973 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/2.92, allocations: 215.9 kB / 0.9976 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009108/2.921, allocations: 0.7607 MB / 0.9983 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01078/2.932, allocations: 3.225 MB / 1.001 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01569/2.947, allocations: 9.715 MB / 1.011 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01563/2.963, allocations: 5.4 MB / 1.016 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002446/2.963, allocations: 66.12 kB / 1.016 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03896/3.002, allocations: 12.41 MB / 1.028 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/3.003, allocations: 102.9 kB / 1.028 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003885/3.003, allocations: 231.7 kB / 1.029 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/3.003, allocations: 341.8 kB / 1.029 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01803/3.021, allocations: 2.626 MB / 1.032 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006338/3.022, allocations: 458.7 kB / 1.032 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01428/3.036, allocations: 0.6779 MB / 1.033 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00291/3.039, allocations: 0.6402 MB / 1.033 GB, free: 10.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1055 * Number of states: 0 () * Number of discrete variables: 72 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],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.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1369): * Single equations (assignments): 1366 * 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.01487/3.054, allocations: 4.526 MB / 1.038 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002098/3.056, allocations: 0.6672 MB / 1.038 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/3.072, allocations: 4.102 MB / 1.042 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.148e-05/3.072, allocations: 36 kB / 1.042 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/3.073, allocations: 3.938 kB / 1.042 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.851e-05/3.073, allocations: 17.77 kB / 1.042 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5062/3.579, allocations: 41.96 MB / 1.083 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002612/3.579, allocations: 87.91 kB / 1.084 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005613/3.585, allocations: 0.8397 MB / 1.084 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001452/3.585, allocations: 127 kB / 1.084 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007753/3.586, allocations: 195.4 kB / 1.085 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000137/3.586, allocations: 171.2 kB / 1.085 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001005/3.586, allocations: 138.2 kB / 1.085 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/3.604, allocations: 25.26 MB / 1.11 GB, free: 90 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/3.607, allocations: 0.8479 MB / 1.11 GB, free: 89.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002589/3.61, allocations: 197.7 kB / 1.111 GB, free: 89.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007132/3.617, allocations: 269.5 kB / 1.111 GB, free: 89.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001478/3.618, allocations: 0.5718 MB / 1.111 GB, free: 89.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007168/3.619, allocations: 241.5 kB / 1.112 GB, free: 89.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01578/3.635, allocations: 4.665 MB / 1.116 GB, free: 89.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.71e-07/3.635, allocations: 0 / 1.116 GB, free: 89.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01614/3.651, allocations: 1.88 MB / 1.118 GB, free: 89.62 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * 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 (444): * Single equations (assignments): 441 * 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.001857/3.653, allocations: 415.6 kB / 1.118 GB, free: 89.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02088/3.674, allocations: 7.562 MB / 1.126 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-05/3.674, allocations: 11 kB / 1.126 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005661/3.68, allocations: 2.156 MB / 1.128 GB, free: 88.56 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01008/3.69, allocations: 1.086 MB / 1.129 GB, free: 88.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06322/3.753, allocations: 27.46 MB / 1.156 GB, free: 75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01993/3.773, allocations: 7.174 MB / 1.163 GB, free: 72.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003124/3.776, allocations: 0.5832 MB / 1.163 GB, free: 72.8 MB / 0.5417 GB Notification: Performance of SimCode: time 1.383e-06/3.776, allocations: 0 / 1.163 GB, free: 72.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.647/4.423, allocations: 114.2 MB / 1.275 GB, free: 94.65 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches