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.001646/0.001646, allocations: 181.5 kB / 17.41 MB, free: 4.164 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.338/2.338, allocations: 205.4 MB / 223.6 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.001187/0.001187, allocations: 89.36 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.5932/0.5932, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006205/0.0006209, allocations: 12 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.186, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5151/0.7012, allocations: 107.3 MB / 0.5847 GB, free: 10.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/0.7016, allocations: 80.45 kB / 0.5848 GB, free: 10.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107/1.809, allocations: 196.3 MB / 0.7764 GB, free: 68.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.809, allocations: 0 / 0.7764 GB, free: 68.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008232/1.809, allocations: 192.8 kB / 0.7766 GB, free: 68.22 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.04272/1.852, allocations: 9.673 MB / 0.7861 GB, free: 61.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/1.852, allocations: 7.188 kB / 0.7861 GB, free: 61.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03767/1.89, allocations: 3.92 MB / 0.7899 GB, free: 59.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03211/1.922, allocations: 9.263 MB / 0.799 GB, free: 50.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001285/1.924, allocations: 0.7945 MB / 0.7997 GB, free: 49.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006786/1.93, allocations: 1.039 MB / 0.8007 GB, free: 48.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08765/2.018, allocations: 24.31 MB / 0.8245 GB, free: 22.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007282/2.019, allocations: 95.33 kB / 0.8246 GB, free: 22.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006354/2.025, allocations: 499.7 kB / 0.825 GB, free: 21.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005894/2.031, allocations: 2.271 MB / 0.8273 GB, free: 19.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06546/2.097, allocations: 19.34 MB / 0.8462 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5263/2.623, allocations: 94.07 MB / 0.938 GB, free: 36.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03338/2.657, allocations: 7.73 MB / 0.9456 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009134/2.666, allocations: 3.103 MB / 0.9486 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03915/2.705, allocations: 13.18 MB / 0.9615 GB, free: 32.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.641e-05/2.705, allocations: 75.69 kB / 0.9615 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 1.134e-05/2.705, allocations: 0 / 0.9615 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.08932/2.794, allocations: 20.61 MB / 0.9817 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/2.795, allocations: 172.1 kB / 0.9818 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02473/2.819, allocations: 7.437 MB / 0.9891 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008931/2.82, allocations: 76.73 kB / 0.9892 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006188/2.827, allocations: 6.824 MB / 0.9958 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002304/2.829, allocations: 1.359 MB / 0.9972 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/2.83, allocations: 215.2 kB / 0.9974 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001182/2.832, allocations: 0.7534 MB / 0.9981 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009887/2.841, allocations: 3.221 MB / 1.001 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01492/2.856, allocations: 9.763 MB / 1.011 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02522/2.882, allocations: 14.07 MB / 1.025 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003107/2.882, allocations: 69.31 kB / 1.025 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.04158/2.924, allocations: 12.66 MB / 1.037 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005588/2.924, allocations: 104.9 kB / 1.037 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007455/2.925, allocations: 231.9 kB / 1.037 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006871/2.926, allocations: 311.9 kB / 1.038 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01351/2.939, allocations: 2.624 MB / 1.04 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008685/2.94, allocations: 453.4 kB / 1.041 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01812/2.958, allocations: 0.7445 MB / 1.041 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003311/2.962, allocations: 0.6354 MB / 1.042 GB, free: 15.04 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 (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.01819/2.98, allocations: 4.521 MB / 1.046 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002846/2.983, allocations: 0.671 MB / 1.047 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/2.996, allocations: 4.102 MB / 1.051 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.521e-05/2.996, allocations: 38.11 kB / 1.051 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/2.996, allocations: 6.906 kB / 1.051 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/2.997, allocations: 20.41 kB / 1.051 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5102/3.507, allocations: 41.82 MB / 1.092 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004031/3.507, allocations: 92.38 kB / 1.092 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005876/3.513, allocations: 0.8402 MB / 1.093 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/3.513, allocations: 113.5 kB / 1.093 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/3.514, allocations: 195.3 kB / 1.093 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002245/3.515, allocations: 171 kB / 1.093 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001878/3.515, allocations: 139.1 kB / 1.093 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/3.532, allocations: 7.84 MB / 1.101 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005298/3.537, allocations: 0.8392 MB / 1.102 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003785/3.541, allocations: 202.7 kB / 1.102 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008529/3.55, allocations: 269.4 kB / 1.102 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002078/3.552, allocations: 0.5846 MB / 1.103 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001365/3.553, allocations: 240.3 kB / 1.103 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01897/3.572, allocations: 4.67 MB / 1.108 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.563e-06/3.572, allocations: 0 / 1.108 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02345/3.596, allocations: 1.876 MB / 1.11 GB, free: 125.3 MB / 0.5573 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.002968/3.599, allocations: 420.4 kB / 1.11 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02512/3.624, allocations: 7.556 MB / 1.117 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.564e-05/3.624, allocations: 11.59 kB / 1.117 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005934/3.63, allocations: 2.161 MB / 1.119 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1715/3.801, allocations: 1.173 MB / 1.121 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07091/3.872, allocations: 27.55 MB / 1.147 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02554/3.898, allocations: 6.968 MB / 1.154 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003166/3.901, allocations: 0.582 MB / 1.155 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.393e-06/3.901, allocations: 0 / 1.155 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.24/4.141, allocations: 115.6 MB / 1.268 GB, free: 25.36 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