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.001384/0.001384, 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.225/1.225, allocations: 221.3 MB / 236 MB, free: 2.887 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.0008007/0.0008005, allocations: 90.67 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.1715/0.1715, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.491e-05, allocations: 8.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 61.89 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4751, allocations: 102.8 MB / 0.6021 GB, free: 2.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.4753, allocations: 79.95 kB / 0.6022 GB, free: 2.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1215/0.5968, allocations: 53.76 MB / 0.6546 GB, free: 12.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5969, allocations: 0 / 0.6546 GB, free: 12.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.779e-05/0.5969, allocations: 56 kB / 0.6547 GB, free: 12.3 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.003895/0.6008, allocations: 2.526 MB / 0.6572 GB, free: 9.723 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6009, allocations: 12.03 kB / 0.6572 GB, free: 9.711 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006639/0.6075, allocations: 1.798 MB / 0.6589 GB, free: 7.906 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/0.6108, allocations: 1.672 MB / 0.6606 GB, free: 6.184 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.6109, allocations: 209.5 kB / 0.6608 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004907/0.6114, allocations: 267.9 kB / 0.661 GB, free: 5.715 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009312/0.6207, allocations: 6.261 MB / 0.6671 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/0.6208, allocations: 19.81 kB / 0.6672 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/0.6211, allocations: 123.9 kB / 0.6673 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007062/0.6219, allocations: 0.6372 MB / 0.6679 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008458/0.6303, allocations: 5.422 MB / 0.6732 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/0.6554, allocations: 22.14 MB / 0.6948 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/0.6592, allocations: 2.067 MB / 0.6968 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008039/0.6601, allocations: 0.6732 MB / 0.6975 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005194/0.6653, allocations: 3.527 MB / 0.7009 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.6653, allocations: 38.98 kB / 0.701 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 2.615e-06/0.6653, allocations: 0 / 0.701 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.004172/0.6695, allocations: 1.581 MB / 0.7025 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.6696, allocations: 59.84 kB / 0.7026 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.6716, allocations: 1.719 MB / 0.7042 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.6717, allocations: 37.7 kB / 0.7043 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009978/0.6727, allocations: 1.879 MB / 0.7061 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.6729, allocations: 312.1 kB / 0.7064 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.673, allocations: 60 kB / 0.7065 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000237/0.6732, allocations: 0.4931 MB / 0.707 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.6743, allocations: 0.8296 MB / 0.7078 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.6763, allocations: 2.682 MB / 0.7104 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2409/0.9173, allocations: 1.525 MB / 0.7119 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.021e-05/0.9174, allocations: 20 kB / 0.7119 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.005734/0.9231, allocations: 3.409 MB / 0.7152 GB, free: 145 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.162e-05/0.9232, allocations: 34.3 kB / 0.7153 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.108e-05/0.9233, allocations: 74.59 kB / 0.7153 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.9234, allocations: 96.44 kB / 0.7154 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.9254, allocations: 0.6534 MB / 0.7161 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001224/0.9255, allocations: 134.1 kB / 0.7162 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.9273, allocations: 406.5 kB / 0.7166 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.9276, allocations: 188.1 kB / 0.7167 GB, free: 144.9 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.0003191/0.9279, allocations: 337.6 kB / 0.7171 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.9281, allocations: 156.6 kB / 0.7172 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.9285, allocations: 204.2 kB / 0.7174 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.9285, allocations: 10.95 kB / 0.7174 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.9285, allocations: 5.5 kB / 0.7174 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.9286, allocations: 6.75 kB / 0.7174 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007446/0.936, allocations: 4.139 MB / 0.7215 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.9361, allocations: 9.375 kB / 0.7215 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.9365, allocations: 99.5 kB / 0.7216 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/0.9366, allocations: 9.656 kB / 0.7216 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.9366, allocations: 19.7 kB / 0.7216 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.9366, allocations: 14.06 kB / 0.7216 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.9366, allocations: 12.12 kB / 0.7216 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.9382, allocations: 1.649 MB / 0.7232 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.9387, allocations: 263.4 kB / 0.7235 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.9388, allocations: 21.91 kB / 0.7235 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.9393, allocations: 27.06 kB / 0.7235 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.9394, allocations: 51.73 kB / 0.7236 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.675e-05/0.9395, allocations: 28.48 kB / 0.7236 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001862/0.9413, allocations: 1.256 MB / 0.7248 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9413, allocations: 0 / 0.7248 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002561/0.9439, allocations: 0.7081 MB / 0.7255 GB, free: 142.6 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.0002801/0.9442, allocations: 146.4 kB / 0.7257 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003064/0.9473, allocations: 1.962 MB / 0.7276 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.9473, allocations: 1.844 kB / 0.7276 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007082/0.948, allocations: 450.8 kB / 0.728 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.9492, allocations: 221.1 kB / 0.7282 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007862/0.9571, allocations: 4.133 MB / 0.7323 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/0.9594, allocations: 2.375 MB / 0.7346 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002162/0.9616, allocations: 0.961 MB / 0.7355 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.9618, allocations: 124.1 kB / 0.7356 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/0.9618, allocations: 2.078 kB / 0.7357 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.02307/0.9849, allocations: 13.81 MB / 0.7491 GB, free: 139.7 MB / 0.5105 GB 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