Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009788/0.0009788, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.3 MB / 236 MB, free: 2.906 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008036/0.0008031, allocations: 95.98 kB / 287 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1695/0.1695, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.148e-05/2.157e-05, allocations: 224 / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.4574, allocations: 102.8 MB / 0.6021 GB, free: 2.477 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4577, allocations: 79.95 kB / 0.6022 GB, free: 2.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1242/0.5819, allocations: 53.77 MB / 0.6547 GB, free: 12.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.5819, allocations: 3.984 kB / 0.6547 GB, free: 12.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001102/0.5821, allocations: 55.94 kB / 0.6547 GB, free: 12.23 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005842/0.5879, allocations: 2.523 MB / 0.6572 GB, free: 9.652 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.588, allocations: 8.031 kB / 0.6572 GB, free: 9.645 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007138/0.5951, allocations: 1.79 MB / 0.659 GB, free: 7.848 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003939/0.5991, allocations: 1.668 MB / 0.6606 GB, free: 6.129 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.5992, allocations: 221.5 kB / 0.6608 GB, free: 5.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006038/0.5999, allocations: 267.9 kB / 0.6611 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.6106, allocations: 6.257 MB / 0.6672 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/0.6107, allocations: 19.81 kB / 0.6672 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003343/0.611, allocations: 123.9 kB / 0.6673 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008092/0.6118, allocations: 0.6411 MB / 0.6679 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01287/0.6247, allocations: 5.418 MB / 0.6732 GB, free: 8.828 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03626/0.661, allocations: 22.13 MB / 0.6948 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/0.665, allocations: 2.067 MB / 0.6969 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008661/0.6659, allocations: 0.676 MB / 0.6975 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005709/0.6716, allocations: 3.53 MB / 0.701 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.6717, allocations: 39 kB / 0.701 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 2.555e-06/0.6717, allocations: 0 / 0.701 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.004259/0.676, allocations: 1.585 MB / 0.7025 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.676, allocations: 55.84 kB / 0.7026 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.6782, allocations: 1.722 MB / 0.7043 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.6783, allocations: 33.64 kB / 0.7043 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.6793, allocations: 1.883 MB / 0.7062 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.6796, allocations: 320 kB / 0.7065 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.6797, allocations: 52 kB / 0.7065 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002431/0.68, allocations: 497 kB / 0.707 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.681, allocations: 0.8335 MB / 0.7078 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/0.6832, allocations: 2.686 MB / 0.7104 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2429/0.9261, allocations: 1.523 MB / 0.7119 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.578e-05/0.9262, allocations: 19.66 kB / 0.7119 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005515/0.9317, allocations: 3.407 MB / 0.7153 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.9318, allocations: 34.52 kB / 0.7153 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.961e-05/0.9319, allocations: 66.97 kB / 0.7153 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.932, allocations: 95.78 kB / 0.7154 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.9338, allocations: 0.662 MB / 0.7161 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/0.9339, allocations: 128.7 kB / 0.7162 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.9355, allocations: 406.6 kB / 0.7166 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.9357, allocations: 184.9 kB / 0.7168 GB, free: 144.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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.0002957/0.936, allocations: 343.4 kB / 0.7171 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.9362, allocations: 159.6 kB / 0.7173 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.9366, allocations: 204.9 kB / 0.7174 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.9366, allocations: 8.844 kB / 0.7175 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.9366, allocations: 4.531 kB / 0.7175 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.9366, allocations: 6.859 kB / 0.7175 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/0.9432, allocations: 4.139 MB / 0.7215 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.9433, allocations: 8.469 kB / 0.7215 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.9437, allocations: 100.7 kB / 0.7216 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/0.9438, allocations: 8.969 kB / 0.7216 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.9438, allocations: 20.25 kB / 0.7216 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/0.9438, allocations: 14.2 kB / 0.7217 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.9438, allocations: 10.5 kB / 0.7217 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.9454, allocations: 1.648 MB / 0.7233 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.9459, allocations: 262.2 kB / 0.7235 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.946, allocations: 17.56 kB / 0.7235 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.9465, allocations: 29.7 kB / 0.7236 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.9466, allocations: 52.5 kB / 0.7236 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.9467, allocations: 28.75 kB / 0.7236 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001865/0.9485, allocations: 1.257 MB / 0.7249 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.9485, allocations: 0 / 0.7249 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002508/0.9511, allocations: 0.7047 MB / 0.7256 GB, free: 142.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * 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.0002663/0.9513, allocations: 148.8 kB / 0.7257 GB, free: 142 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002664/0.954, allocations: 1.957 MB / 0.7276 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.954, allocations: 1.531 kB / 0.7276 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000512/0.9545, allocations: 455.3 kB / 0.7281 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.9555, allocations: 222.2 kB / 0.7283 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007237/0.9627, allocations: 4.136 MB / 0.7323 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/0.965, allocations: 2.381 MB / 0.7346 GB, free: 140 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002135/0.9671, allocations: 0.9632 MB / 0.7356 GB, free: 140 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.9674, allocations: 115.3 kB / 0.7357 GB, free: 140 MB / 0.5105 GB Notification: Performance of SimCode: time 1.272e-06/0.9674, allocations: 0 / 0.7357 GB, free: 140 MB / 0.5105 GB Notification: Performance of Templates: time 0.02362/0.991, allocations: 13.82 MB / 0.7492 GB, free: 139.2 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches