Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,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.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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000972/0.0009719, allocations: 177 kB / 17.06 MB, free: 5.098 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.299/1.299, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008799/0.00088, allocations: 96.84 kB / 292.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2881/0.2881, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 11.98 kB / 459.9 MB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3174, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.449, allocations: 102.9 MB / 0.61 GB, free: 8.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.4494, allocations: 79.91 kB / 0.6101 GB, free: 8.191 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1256/0.5751, allocations: 53.72 MB / 0.6626 GB, free: 2.133 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5751, allocations: 0 / 0.6626 GB, free: 2.133 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001097/0.5752, allocations: 56 kB / 0.6626 GB, free: 2.078 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.006642/0.5819, allocations: 2.624 MB / 0.6652 GB, free: 15.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.097e-05/0.582, allocations: 12.03 kB / 0.6652 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007483/0.5895, allocations: 1.794 MB / 0.6669 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/0.5941, allocations: 1.672 MB / 0.6686 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.5943, allocations: 201.5 kB / 0.6688 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.5954, allocations: 279.9 kB / 0.669 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.6089, allocations: 6.323 MB / 0.6752 GB, free: 4.715 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.414e-05/0.609, allocations: 11.88 kB / 0.6752 GB, free: 4.703 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004016/0.6094, allocations: 131.9 kB / 0.6753 GB, free: 4.574 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008705/0.6103, allocations: 0.6333 MB / 0.676 GB, free: 3.938 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2802/0.8905, allocations: 5.496 MB / 0.6813 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02458/0.9152, allocations: 22.13 MB / 0.7029 GB, free: 94.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/0.9188, allocations: 2.077 MB / 0.705 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005102/0.9239, allocations: 3.529 MB / 0.7084 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.9239, allocations: 41.56 kB / 0.7085 GB, free: 92.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.106e-06/0.9239, allocations: 0 / 0.7085 GB, free: 92.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004653/0.9286, allocations: 2.234 MB / 0.7106 GB, free: 91.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.9286, allocations: 57.97 kB / 0.7107 GB, free: 91.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.9309, allocations: 1.739 MB / 0.7124 GB, free: 90.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.9309, allocations: 37.19 kB / 0.7124 GB, free: 90.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008673/0.9318, allocations: 1.879 MB / 0.7143 GB, free: 89.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.932, allocations: 319.2 kB / 0.7146 GB, free: 89.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/0.9321, allocations: 57.45 kB / 0.7146 GB, free: 89.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.9323, allocations: 493 kB / 0.7151 GB, free: 88.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009967/0.9333, allocations: 0.8507 MB / 0.7159 GB, free: 88.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.9353, allocations: 2.706 MB / 0.7186 GB, free: 85.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.9372, allocations: 1.523 MB / 0.72 GB, free: 85.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.4e-05/0.9373, allocations: 19.38 kB / 0.7201 GB, free: 85.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005608/0.9429, allocations: 3.442 MB / 0.7234 GB, free: 83.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.354e-05/0.943, allocations: 34.81 kB / 0.7235 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/0.9431, allocations: 68.19 kB / 0.7235 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.9433, allocations: 98.44 kB / 0.7236 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.9452, allocations: 0.6571 MB / 0.7243 GB, free: 83.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001534/0.9454, allocations: 129.4 kB / 0.7244 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.9473, allocations: 414.8 kB / 0.7248 GB, free: 83.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/0.9476, allocations: 185.8 kB / 0.725 GB, free: 83.57 MB / 490.7 MB 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 () * Number of clocked 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.002447/0.9501, allocations: 1.369 MB / 0.7263 GB, free: 82.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.9504, allocations: 165 kB / 0.7265 GB, free: 82.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.9508, allocations: 206.2 kB / 0.7267 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.9508, allocations: 9.25 kB / 0.7267 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.9508, allocations: 1.094 kB / 0.7267 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.9508, allocations: 3.094 kB / 0.7267 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006825/0.9577, allocations: 4.15 MB / 0.7307 GB, free: 81.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.9577, allocations: 5.953 kB / 0.7307 GB, free: 81.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.9581, allocations: 100.9 kB / 0.7308 GB, free: 81.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/0.9581, allocations: 9.031 kB / 0.7308 GB, free: 81.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.9582, allocations: 24.06 kB / 0.7308 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.9582, allocations: 9.391 kB / 0.7309 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.9582, allocations: 10.84 kB / 0.7309 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.9598, allocations: 1.651 MB / 0.7325 GB, free: 79.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.9602, allocations: 265.2 kB / 0.7327 GB, free: 79.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.9604, allocations: 18.08 kB / 0.7328 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.9608, allocations: 24.34 kB / 0.7328 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.9609, allocations: 61.36 kB / 0.7328 GB, free: 79.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.961, allocations: 26.08 kB / 0.7329 GB, free: 79.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001582/0.9626, allocations: 1.269 MB / 0.7341 GB, free: 79.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9626, allocations: 0 / 0.7341 GB, free: 79.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002551/0.9651, allocations: 0.7078 MB / 0.7348 GB, free: 78.84 MB / 490.7 MB 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 () * Number of clocked 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.000312/0.9654, allocations: 155.8 kB / 0.7349 GB, free: 78.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002556/0.968, allocations: 1.975 MB / 0.7369 GB, free: 78.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.968, allocations: 0 / 0.7369 GB, free: 78.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.9685, allocations: 471.5 kB / 0.7373 GB, free: 77.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.9693, allocations: 220.8 kB / 0.7375 GB, free: 77.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008826/0.9782, allocations: 6.229 MB / 0.7436 GB, free: 74.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/0.9801, allocations: 2.38 MB / 0.7459 GB, free: 73.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002097/0.9822, allocations: 0.96 MB / 0.7469 GB, free: 73.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.9824, allocations: 122.7 kB / 0.747 GB, free: 73.24 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/0.9824, allocations: 0 / 0.747 GB, free: 73.24 MB / 490.7 MB Notification: Performance of Templates: time 0.02471/1.007, allocations: 13.79 MB / 0.7605 GB, free: 72.43 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches