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.00155/0.001553, allocations: 185.9 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 1.899/1.899, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001115/0.001115, allocations: 94 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.511/0.511, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006941/0.0006941, allocations: 15.98 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1364, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4822/0.6187, allocations: 107.1 MB / 0.5833 GB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.619, allocations: 83.95 kB / 0.5834 GB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12/1.739, allocations: 200.6 MB / 0.7793 GB, free: 65.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.739, allocations: 3.656 kB / 0.7793 GB, free: 65.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005231/1.739, allocations: 197.2 kB / 0.7795 GB, free: 65.35 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.03897/1.778, allocations: 10 MB / 0.7893 GB, free: 58.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.778, allocations: 12.03 kB / 0.7893 GB, free: 58.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03519/1.814, allocations: 4.034 MB / 0.7932 GB, free: 54.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03337/1.847, allocations: 10.62 MB / 0.8036 GB, free: 43.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009323/1.848, allocations: 0.7913 MB / 0.8044 GB, free: 42.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005713/1.854, allocations: 1.039 MB / 0.8054 GB, free: 41.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07601/1.93, allocations: 24.42 MB / 0.8292 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00062/1.93, allocations: 95.48 kB / 0.8293 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005094/1.936, allocations: 499.7 kB / 0.8298 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00544/1.941, allocations: 2.283 MB / 0.832 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06616/2.007, allocations: 19.53 MB / 0.8511 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5797/2.587, allocations: 94.24 MB / 0.9431 GB, free: 35.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03819/2.625, allocations: 7.659 MB / 0.9506 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03935/2.665, allocations: 13.3 MB / 0.9636 GB, free: 31.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/2.665, allocations: 68.88 kB / 0.9636 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 7.714e-06/2.665, allocations: 0 / 0.9636 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.09254/2.757, allocations: 20.87 MB / 0.984 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/2.757, allocations: 164.5 kB / 0.9842 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01769/2.775, allocations: 6.612 MB / 0.9906 GB, free: 20.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007797/2.776, allocations: 87.2 kB / 0.9907 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005496/2.781, allocations: 6.555 MB / 0.9971 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001996/2.784, allocations: 1.356 MB / 0.9985 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/2.785, allocations: 215.2 kB / 0.9987 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009441/2.786, allocations: 0.7587 MB / 0.9994 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/2.796, allocations: 3.222 MB / 1.003 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01525/2.812, allocations: 9.715 MB / 1.012 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01505/2.827, allocations: 5.41 MB / 1.017 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002524/2.827, allocations: 65.25 kB / 1.017 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03953/2.867, allocations: 12.43 MB / 1.03 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002604/2.867, allocations: 104.9 kB / 1.03 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004962/2.867, allocations: 235.8 kB / 1.03 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004797/2.868, allocations: 340 kB / 1.03 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01779/2.886, allocations: 2.615 MB / 1.033 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006431/2.886, allocations: 466.4 kB / 1.033 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01367/2.9, allocations: 0.6792 MB / 1.034 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00259/2.903, allocations: 0.6416 MB / 1.034 GB, free: 7.879 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 (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 () * 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.01344/2.916, allocations: 4.524 MB / 1.039 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/2.918, allocations: 0.671 MB / 1.04 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/2.932, allocations: 4.154 MB / 1.044 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.6e-05/2.932, allocations: 36 kB / 1.044 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/2.932, allocations: 3.875 kB / 1.044 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-05/2.933, allocations: 18.19 kB / 1.044 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5071/3.44, allocations: 50.17 MB / 1.093 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003075/3.44, allocations: 75.81 kB / 1.093 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00598/3.446, allocations: 0.7357 MB / 1.093 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/3.446, allocations: 108.6 kB / 1.094 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009121/3.447, allocations: 160.9 kB / 1.094 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001594/3.447, allocations: 141.9 kB / 1.094 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001088/3.447, allocations: 114.9 kB / 1.094 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01933/3.467, allocations: 21.54 MB / 1.115 GB, free: 92.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002891/3.47, allocations: 0.7981 MB / 1.116 GB, free: 92.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002668/3.472, allocations: 165.6 kB / 1.116 GB, free: 92.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007564/3.48, allocations: 275 kB / 1.116 GB, free: 92.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001454/3.482, allocations: 490.5 kB / 1.117 GB, free: 92.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008192/3.482, allocations: 206.5 kB / 1.117 GB, free: 92.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01518/3.498, allocations: 4.664 MB / 1.121 GB, free: 92.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.81e-07/3.498, allocations: 2.469 kB / 1.121 GB, free: 92.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01555/3.513, allocations: 1.885 MB / 1.123 GB, free: 92.61 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * 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 (376): * Single equations (assignments): 373 * 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.001867/3.515, allocations: 360.5 kB / 1.124 GB, free: 92.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02198/3.537, allocations: 7.587 MB / 1.131 GB, free: 91.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.24e-05/3.537, allocations: 9 kB / 1.131 GB, free: 91.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006199/3.544, allocations: 2.125 MB / 1.133 GB, free: 91.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009833/3.553, allocations: 1.023 MB / 1.134 GB, free: 91.03 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06299/3.616, allocations: 26.96 MB / 1.16 GB, free: 75.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01916/3.636, allocations: 7.146 MB / 1.167 GB, free: 73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003296/3.639, allocations: 0.5739 MB / 1.168 GB, free: 72.97 MB / 0.5417 GB Notification: Performance of SimCode: time 2.013e-06/3.639, allocations: 0 / 1.168 GB, free: 72.97 MB / 0.5417 GB Notification: Performance of Templates: time 0.657/4.296, allocations: 114.3 MB / 1.28 GB, free: 95.89 MB / 0.5573 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