Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.00152/0.00152, allocations: 175.5 kB / 16.77 MB, free: 5.047 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.489/1.489, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008477/0.0008477, allocations: 90.39 kB / 271.3 MB, free: 8.242 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.3168/0.3168, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 16 kB / 432.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1081, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/0.4238, allocations: 107.3 MB / 0.5847 GB, free: 10.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4241, allocations: 83.91 kB / 0.5848 GB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6801/1.104, allocations: 197.5 MB / 0.7777 GB, free: 66.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.104, allocations: 0 / 0.7777 GB, free: 66.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005346/1.105, allocations: 198.2 kB / 0.7778 GB, free: 66.36 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.03374/1.139, allocations: 9.678 MB / 0.7873 GB, free: 59.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.139, allocations: 9.281 kB / 0.7873 GB, free: 59.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0202/1.159, allocations: 3.918 MB / 0.7911 GB, free: 56.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02094/1.18, allocations: 9.258 MB / 0.8002 GB, free: 47.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008444/1.181, allocations: 0.7945 MB / 0.801 GB, free: 46.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005274/1.186, allocations: 1.047 MB / 0.802 GB, free: 45.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04937/1.235, allocations: 24.3 MB / 0.8257 GB, free: 19.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003241/1.236, allocations: 91.34 kB / 0.8258 GB, free: 19.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001999/1.238, allocations: 499.7 kB / 0.8263 GB, free: 19.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002726/1.24, allocations: 2.275 MB / 0.8285 GB, free: 16.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0399/1.28, allocations: 19.33 MB / 0.8474 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3719/1.652, allocations: 94.07 MB / 0.9392 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/1.674, allocations: 7.655 MB / 0.9467 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004948/1.679, allocations: 3.107 MB / 0.9497 GB, free: 35.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02803/1.707, allocations: 13.16 MB / 0.9626 GB, free: 31.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.918e-05/1.707, allocations: 71.25 kB / 0.9627 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 1.343e-05/1.707, allocations: 3.938 kB / 0.9627 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.07641/1.783, allocations: 20.6 MB / 0.9828 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/1.783, allocations: 166.6 kB / 0.9829 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01962/1.803, allocations: 7.435 MB / 0.9902 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000767/1.804, allocations: 89.48 kB / 0.9903 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005676/1.81, allocations: 6.812 MB / 0.9969 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002222/1.812, allocations: 1.355 MB / 0.9983 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/1.813, allocations: 217.7 kB / 0.9985 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001391/1.815, allocations: 0.756 MB / 0.9992 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009348/1.824, allocations: 3.22 MB / 1.002 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0132/1.837, allocations: 9.76 MB / 1.012 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02528/1.863, allocations: 14.08 MB / 1.026 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003253/1.863, allocations: 65.06 kB / 1.026 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.04331/1.906, allocations: 12.68 MB / 1.038 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000448/1.907, allocations: 107 kB / 1.038 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006498/1.907, allocations: 232 kB / 1.038 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/1.908, allocations: 315.6 kB / 1.039 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01649/1.925, allocations: 2.626 MB / 1.041 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009168/1.926, allocations: 456.8 kB / 1.042 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01504/1.941, allocations: 0.6878 MB / 1.042 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002697/1.943, allocations: 0.635 MB / 1.043 GB, free: 12.84 MB / 0.5417 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.01434/1.958, allocations: 4.521 MB / 1.047 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002299/1.96, allocations: 0.6671 MB / 1.048 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/1.974, allocations: 4.101 MB / 1.052 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.044e-05/1.974, allocations: 39.56 kB / 1.052 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/1.974, allocations: 4 kB / 1.052 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.438e-05/1.974, allocations: 13.22 kB / 1.052 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.394/2.368, allocations: 50.21 MB / 1.101 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004169/2.369, allocations: 72.38 kB / 1.101 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00363/2.372, allocations: 0.7367 MB / 1.102 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/2.373, allocations: 96.22 kB / 1.102 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008768/2.373, allocations: 162.5 kB / 1.102 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001441/2.374, allocations: 142.9 kB / 1.102 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-05/2.374, allocations: 116.2 kB / 1.102 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/2.386, allocations: 7.248 MB / 1.11 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003345/2.389, allocations: 0.7912 MB / 1.11 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00293/2.392, allocations: 171.8 kB / 1.11 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005382/2.397, allocations: 273.7 kB / 1.111 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00124/2.399, allocations: 494 kB / 1.111 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009564/2.4, allocations: 207.4 kB / 1.111 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01232/2.412, allocations: 4.661 MB / 1.116 GB, free: 126 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.11e-07/2.412, allocations: 0 / 1.116 GB, free: 126 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01474/2.427, allocations: 1.882 MB / 1.118 GB, free: 126 MB / 0.5573 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.001973/2.429, allocations: 372.3 kB / 1.118 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01553/2.444, allocations: 7.591 MB / 1.126 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.788e-05/2.445, allocations: 14.41 kB / 1.126 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004183/2.449, allocations: 2.112 MB / 1.128 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08321/2.532, allocations: 1.114 MB / 1.129 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04976/2.582, allocations: 25.92 MB / 1.154 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01594/2.598, allocations: 6.933 MB / 1.161 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01212/2.61, allocations: 3.329 MB / 1.164 GB, free: 109 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002467/2.612, allocations: 490.8 kB / 1.165 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of SimCode: time 8.72e-07/2.612, allocations: 0 / 1.165 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.1159/2.728, allocations: 56.65 MB / 1.22 GB, free: 74.2 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches