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.001448/0.001448, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.369/2.369, allocations: 205.4 MB / 223.6 MB, free: 8.953 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.001639/0.001639, allocations: 89.48 kB / 271.9 MB, free: 8.246 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.5453/0.5453, allocations: 43.56 MB / 363.8 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005889/0.0005891, allocations: 12 kB / 432.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1836, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5123/0.696, allocations: 107.3 MB / 0.5847 GB, free: 10.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/0.6964, allocations: 79.95 kB / 0.5848 GB, free: 10.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175/1.872, allocations: 197.5 MB / 0.7776 GB, free: 66.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.872, allocations: 0 / 0.7776 GB, free: 66.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009494/1.873, allocations: 197.2 kB / 0.7778 GB, free: 66.31 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.04398/1.917, allocations: 9.677 MB / 0.7873 GB, free: 59.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.917, allocations: 7.875 kB / 0.7873 GB, free: 59.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03069/1.948, allocations: 3.92 MB / 0.7911 GB, free: 57.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02966/1.977, allocations: 9.252 MB / 0.8001 GB, free: 47.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001313/1.979, allocations: 0.7946 MB / 0.8009 GB, free: 46.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007352/1.986, allocations: 1.039 MB / 0.8019 GB, free: 45.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08386/2.07, allocations: 24.3 MB / 0.8257 GB, free: 20.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009684/2.071, allocations: 95.34 kB / 0.8258 GB, free: 19.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006853/2.078, allocations: 495.7 kB / 0.8262 GB, free: 19.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006009/2.084, allocations: 2.287 MB / 0.8285 GB, free: 17.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06943/2.153, allocations: 19.34 MB / 0.8473 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5551/2.709, allocations: 94.06 MB / 0.9392 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03622/2.745, allocations: 7.648 MB / 0.9467 GB, free: 35.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009502/2.754, allocations: 3.103 MB / 0.9497 GB, free: 35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04505/2.8, allocations: 13.17 MB / 0.9626 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/2.8, allocations: 71.47 kB / 0.9626 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 1.172e-05/2.8, allocations: 0 / 0.9626 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.09905/2.899, allocations: 20.61 MB / 0.9828 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/2.899, allocations: 163.4 kB / 0.9829 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0225/2.921, allocations: 7.446 MB / 0.9902 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009493/2.923, allocations: 83.08 kB / 0.9903 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007172/2.93, allocations: 6.809 MB / 0.9969 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002295/2.932, allocations: 1.358 MB / 0.9982 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001459/2.934, allocations: 220.3 kB / 0.9985 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001093/2.935, allocations: 0.7513 MB / 0.9992 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01104/2.946, allocations: 3.217 MB / 1.002 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01659/2.962, allocations: 9.76 MB / 1.012 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03044/2.993, allocations: 14.08 MB / 1.026 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004676/2.993, allocations: 66.38 kB / 1.026 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.04445/3.038, allocations: 12.67 MB / 1.038 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005786/3.039, allocations: 104 kB / 1.038 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007197/3.039, allocations: 236.2 kB / 1.038 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006991/3.04, allocations: 311.5 kB / 1.039 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01784/3.058, allocations: 2.62 MB / 1.041 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009062/3.059, allocations: 451 kB / 1.042 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01702/3.076, allocations: 0.6955 MB / 1.042 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003072/3.079, allocations: 0.6433 MB / 1.043 GB, free: 13.05 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.01673/3.096, allocations: 4.513 MB / 1.047 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002662/3.099, allocations: 0.6709 MB / 1.048 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01827/3.117, allocations: 4.099 MB / 1.052 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/3.117, allocations: 36 kB / 1.052 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.489e-05/3.117, allocations: 4 kB / 1.052 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001077/3.117, allocations: 15.52 kB / 1.052 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5317/3.649, allocations: 50.17 MB / 1.101 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005053/3.649, allocations: 74.41 kB / 1.101 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006088/3.656, allocations: 0.741 MB / 1.102 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003661/3.656, allocations: 94.47 kB / 1.102 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001308/3.657, allocations: 166.2 kB / 1.102 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002205/3.658, allocations: 141 kB / 1.102 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001268/3.658, allocations: 115.5 kB / 1.102 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/3.677, allocations: 7.253 MB / 1.109 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004047/3.681, allocations: 0.7924 MB / 1.11 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003337/3.685, allocations: 167.6 kB / 1.11 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008732/3.693, allocations: 276.7 kB / 1.111 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001845/3.695, allocations: 491.2 kB / 1.111 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001309/3.697, allocations: 204.6 kB / 1.111 GB, free: 126 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01987/3.717, allocations: 4.669 MB / 1.116 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.543e-06/3.717, allocations: 0 / 1.116 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02096/3.738, allocations: 1.882 MB / 1.118 GB, free: 125.7 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.002557/3.74, allocations: 362.1 kB / 1.118 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02392/3.764, allocations: 7.592 MB / 1.125 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 0.0001151/3.764, allocations: 14.75 kB / 1.125 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00634/3.771, allocations: 2.114 MB / 1.128 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1436/3.914, allocations: 1.105 MB / 1.129 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08409/3.999, allocations: 27.06 MB / 1.155 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02662/4.025, allocations: 6.935 MB / 1.162 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004398/4.03, allocations: 0.5761 MB / 1.162 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of SimCode: time 2.154e-06/4.03, allocations: 0 / 1.162 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.2643/4.294, allocations: 115.7 MB / 1.275 GB, free: 17.13 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