Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,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.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,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.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002143/0.002143, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 93.56 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2823/0.2823, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.885e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4161, allocations: 58.84 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.6071, allocations: 106.4 MB / 0.5698 GB, free: 8.91 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/0.6075, allocations: 79.95 kB / 0.5698 GB, free: 8.832 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.123/1.73, allocations: 196 MB / 0.7613 GB, free: 45.07 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.595e-06/1.73, allocations: 4 kB / 0.7613 GB, free: 45.07 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0005736/1.731, allocations: 196 kB / 0.7615 GB, free: 44.88 MB / 475.1 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.04011/1.771, allocations: 9.413 MB / 0.7707 GB, free: 35.37 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.771, allocations: 12.03 kB / 0.7707 GB, free: 35.36 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03656/1.808, allocations: 4.038 MB / 0.7746 GB, free: 31.3 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03799/1.846, allocations: 10.58 MB / 0.7849 GB, free: 20.64 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000826/1.847, allocations: 348 kB / 0.7853 GB, free: 20.3 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006308/1.853, allocations: 0.6054 MB / 0.7859 GB, free: 19.7 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03856/1.892, allocations: 14.55 MB / 0.8001 GB, free: 5.137 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06804/1.96, allocations: 20.75 MB / 0.8203 GB, free: 14.77 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007086/1.961, allocations: 91.14 kB / 0.8204 GB, free: 14.68 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005697/1.966, allocations: 55.95 kB / 0.8205 GB, free: 14.63 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006763/1.973, allocations: 2.283 MB / 0.8227 GB, free: 12.34 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8763/2.85, allocations: 93.88 MB / 0.9144 GB, free: 34.87 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008875/2.858, allocations: 4.147 MB / 0.9184 GB, free: 34.19 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004538/2.863, allocations: 1.929 MB / 0.9203 GB, free: 34.14 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/2.863, allocations: 59.75 kB / 0.9204 GB, free: 34.14 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/2.863, allocations: 73.97 kB / 0.9204 GB, free: 34.1 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=330): time 7.114e-06/2.863, allocations: 0 / 0.9204 GB, free: 34.1 MB / 0.4953 GB Notification: Performance of matching and sorting (n=342): time 0.05286/2.916, allocations: 14.9 MB / 0.935 GB, free: 28.43 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/2.916, allocations: 164.1 kB / 0.9351 GB, free: 28.27 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01338/2.93, allocations: 5.693 MB / 0.9407 GB, free: 26.79 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 0.0008063/2.931, allocations: 25.7 kB / 0.9407 GB, free: 26.76 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 0.005523/2.936, allocations: 6.803 MB / 0.9474 GB, free: 21.64 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.002042/2.938, allocations: 1.258 MB / 0.9486 GB, free: 20.72 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001289/2.94, allocations: 0 / 0.9486 GB, free: 20.72 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0009435/2.941, allocations: 0.7776 MB / 0.9494 GB, free: 20.21 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007726/2.948, allocations: 2.869 MB / 0.9522 GB, free: 19.2 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01232/2.961, allocations: 9.651 MB / 0.9616 GB, free: 8.98 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/2.973, allocations: 5.156 MB / 0.9666 GB, free: 7.332 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000311/2.973, allocations: 68.81 kB / 0.9667 GB, free: 7.332 MB / 0.4953 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.03015/3.003, allocations: 10.87 MB / 0.9773 GB, free: 3.676 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 0.000198/3.003, allocations: 113.8 kB / 0.9774 GB, free: 3.672 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003675/3.004, allocations: 243.6 kB / 0.9776 GB, free: 3.672 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/3.004, allocations: 362.3 kB / 0.978 GB, free: 3.668 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01731/3.021, allocations: 2.72 MB / 0.9806 GB, free: 3.016 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004138/3.022, allocations: 482.4 kB / 0.9811 GB, free: 2.594 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01336/3.035, allocations: 496.4 kB / 0.9816 GB, free: 2.211 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002756/3.038, allocations: 0.6725 MB / 0.9822 GB, free: 1.551 MB / 0.4953 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1115 * Number of states: 0 () * Number of discrete variables: 72 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1423): * Single equations (assignments): 1420 * 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.003687/3.042, allocations: 0.7106 MB / 0.9829 GB, free: 0.8398 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/3.043, allocations: 0.6208 MB / 0.9835 GB, free: 216 kB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/3.058, allocations: 3.741 MB / 0.9872 GB, free: 13.69 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.185e-05/3.058, allocations: 36 kB / 0.9872 GB, free: 13.65 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/3.058, allocations: 3.953 kB / 0.9872 GB, free: 13.65 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.657e-05/3.058, allocations: 21.7 kB / 0.9872 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1482/3.206, allocations: 45.8 MB / 1.032 GB, free: 7.402 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000287/3.207, allocations: 68 kB / 1.032 GB, free: 7.336 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007488/3.214, allocations: 0.7043 MB / 1.033 GB, free: 6.73 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/3.215, allocations: 99.33 kB / 1.033 GB, free: 6.637 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009308/3.215, allocations: 106 kB / 1.033 GB, free: 6.539 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001878/3.216, allocations: 132.4 kB / 1.033 GB, free: 6.426 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001479/3.216, allocations: 103.6 kB / 1.033 GB, free: 6.324 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5978/3.814, allocations: 19.02 MB / 1.052 GB, free: 107.4 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002832/3.817, allocations: 0.7223 MB / 1.052 GB, free: 107.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003019/3.82, allocations: 102.2 kB / 1.053 GB, free: 107.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008011/3.828, allocations: 209.1 kB / 1.053 GB, free: 107.3 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001459/3.829, allocations: 463.3 kB / 1.053 GB, free: 107.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005722/3.83, allocations: 194.5 kB / 1.053 GB, free: 107.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.01143/3.841, allocations: 3.791 MB / 1.057 GB, free: 107.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.072e-06/3.841, allocations: 0 / 1.057 GB, free: 107.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01582/3.857, allocations: 1.614 MB / 1.059 GB, free: 107.1 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 355 * 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.001673/3.859, allocations: 275.2 kB / 1.059 GB, free: 107 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.01885/3.878, allocations: 6.809 MB / 1.066 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 8.212e-05/3.878, allocations: 10.47 kB / 1.066 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.005491/3.883, allocations: 1.878 MB / 1.067 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009325/3.893, allocations: 0.8081 MB / 1.068 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06058/3.953, allocations: 18.71 MB / 1.086 GB, free: 101.2 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02081/3.974, allocations: 7.11 MB / 1.093 GB, free: 100.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003419/3.978, allocations: 0.5494 MB / 1.094 GB, free: 100.3 MB / 0.5421 GB Notification: Performance of SimCode: time 2.074e-06/3.978, allocations: 0 / 1.094 GB, free: 100.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.2258/4.204, allocations: 109.6 MB / 1.201 GB, free: 33.41 MB / 0.5421 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches