Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001043, allocations: 171.5 kB / 16.76 MB, free: 4.926 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.457/1.457, 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.0007797/0.0007798, allocations: 89.03 kB / 271.3 MB, free: 8.25 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.3356/0.3356, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.00035, allocations: 16 kB / 432.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1103, allocations: 58.85 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2985/0.4089, allocations: 102.1 MB / 0.5797 GB, free: 15.69 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.4091, allocations: 79.97 kB / 0.5798 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1365/0.5456, allocations: 54.54 MB / 0.633 GB, free: 8.742 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5457, allocations: 4 kB / 0.633 GB, free: 8.738 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001299/0.5458, allocations: 55.92 kB / 0.6331 GB, free: 8.684 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.007018/0.5528, allocations: 2.643 MB / 0.6357 GB, free: 5.977 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.5529, allocations: 12.03 kB / 0.6357 GB, free: 5.965 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007357/0.5603, allocations: 1.818 MB / 0.6375 GB, free: 4.141 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004135/0.5644, allocations: 1.751 MB / 0.6392 GB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.5647, allocations: 222.1 kB / 0.6394 GB, free: 2.125 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/0.566, allocations: 284.3 kB / 0.6397 GB, free: 1.848 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/0.581, allocations: 6.618 MB / 0.6461 GB, free: 10.85 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.5812, allocations: 20.06 kB / 0.6461 GB, free: 10.83 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/0.5823, allocations: 135.8 kB / 0.6463 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/0.5835, allocations: 0.6843 MB / 0.6469 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.5957, allocations: 5.759 MB / 0.6526 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2368/0.8326, allocations: 23.1 MB / 0.6751 GB, free: 96.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004231/0.8369, allocations: 2.24 MB / 0.6773 GB, free: 96.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.8379, allocations: 0.7744 MB / 0.6781 GB, free: 96.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005497/0.8434, allocations: 3.744 MB / 0.6817 GB, free: 95.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.8435, allocations: 36.81 kB / 0.6818 GB, free: 95.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.075e-06/0.8435, allocations: 3.688 kB / 0.6818 GB, free: 95.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.004637/0.8481, allocations: 2.192 MB / 0.6839 GB, free: 95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.8481, allocations: 57.31 kB / 0.684 GB, free: 94.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.8506, allocations: 2.001 MB / 0.6859 GB, free: 94.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.8507, allocations: 36.88 kB / 0.6859 GB, free: 94.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009208/0.8516, allocations: 1.962 MB / 0.6879 GB, free: 93.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.8518, allocations: 367.9 kB / 0.6882 GB, free: 93.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.8519, allocations: 64.77 kB / 0.6883 GB, free: 93.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8521, allocations: 447.6 kB / 0.6887 GB, free: 93.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.8532, allocations: 0.9208 MB / 0.6896 GB, free: 93.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.8549, allocations: 2.862 MB / 0.6924 GB, free: 90.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.8579, allocations: 4.151 MB / 0.6964 GB, free: 88.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.264e-05/0.858, allocations: 23.75 kB / 0.6965 GB, free: 88.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.004508/0.8625, allocations: 3.675 MB / 0.7001 GB, free: 87.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.8626, allocations: 37.45 kB / 0.7001 GB, free: 87.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-05/0.8626, allocations: 70.59 kB / 0.7002 GB, free: 87.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.062e-05/0.8627, allocations: 91.38 kB / 0.7002 GB, free: 87.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.8645, allocations: 0.7051 MB / 0.7009 GB, free: 87.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.484e-05/0.8646, allocations: 143.7 kB / 0.7011 GB, free: 87.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.8664, allocations: 434.4 kB / 0.7015 GB, free: 87.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/0.8667, allocations: 192.7 kB / 0.7017 GB, free: 87.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 385 * 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.002284/0.869, allocations: 1.427 MB / 0.7031 GB, free: 87.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.8693, allocations: 169.9 kB / 0.7032 GB, free: 87.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.8709, allocations: 1.186 MB / 0.7044 GB, free: 87.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/0.871, allocations: 13.97 kB / 0.7044 GB, free: 87.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.871, allocations: 4.625 kB / 0.7044 GB, free: 87.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.871, allocations: 3.516 kB / 0.7044 GB, free: 87.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/0.8777, allocations: 4.985 MB / 0.7093 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.8778, allocations: 9.031 kB / 0.7093 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.8782, allocations: 132.1 kB / 0.7094 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.8783, allocations: 17.2 kB / 0.7094 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.8783, allocations: 28.78 kB / 0.7094 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/0.8783, allocations: 23.42 kB / 0.7095 GB, free: 86.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.8783, allocations: 15.25 kB / 0.7095 GB, free: 86.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.8799, allocations: 1.507 MB / 0.711 GB, free: 85.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.8803, allocations: 268.7 kB / 0.7112 GB, free: 85.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.8804, allocations: 30.69 kB / 0.7112 GB, free: 85.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.8809, allocations: 41.36 kB / 0.7113 GB, free: 85.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.8811, allocations: 76.59 kB / 0.7114 GB, free: 85.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/0.8811, allocations: 38.09 kB / 0.7114 GB, free: 85.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001742/0.8829, allocations: 1.313 MB / 0.7127 GB, free: 85.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8829, allocations: 2.297 kB / 0.7127 GB, free: 85.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002708/0.8856, allocations: 0.7494 MB / 0.7134 GB, free: 84.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0002583/0.8859, allocations: 162.3 kB / 0.7136 GB, free: 84.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003434/0.8893, allocations: 2.166 MB / 0.7157 GB, free: 84.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.8893, allocations: 5.844 kB / 0.7157 GB, free: 84.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.89, allocations: 0.5304 MB / 0.7162 GB, free: 83.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.8932, allocations: 250.5 kB / 0.7164 GB, free: 83.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008898/0.9021, allocations: 6.744 MB / 0.723 GB, free: 80.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/0.9044, allocations: 2.407 MB / 0.7254 GB, free: 78.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002531/0.907, allocations: 1.021 MB / 0.7264 GB, free: 78.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.9073, allocations: 127.2 kB / 0.7265 GB, free: 78.89 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/0.9073, allocations: 0 / 0.7265 GB, free: 78.89 MB / 490.7 MB Notification: Performance of Templates: time 0.02654/0.9338, allocations: 14.86 MB / 0.741 GB, free: 78.07 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches