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.001201/0.001201, allocations: 183.7 kB / 15.76 MB, free: 6.363 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.639/1.639, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008685/0.0008685, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2294/0.2294, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003065, allocations: 11.98 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.6159, allocations: 102 MB / 0.5784 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/0.6164, allocations: 84.52 kB / 0.5785 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1389/0.7553, allocations: 55.25 MB / 0.6324 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.7554, allocations: 8 kB / 0.6324 GB, free: 14.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001067/0.7555, allocations: 48 kB / 0.6325 GB, free: 14.04 MB / 442.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.009341/0.7649, allocations: 2.736 MB / 0.6351 GB, free: 11.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.7649, allocations: 8.031 kB / 0.6351 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008388/0.7733, allocations: 1.821 MB / 0.6369 GB, free: 9.621 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005855/0.7792, allocations: 1.718 MB / 0.6386 GB, free: 8.238 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.7795, allocations: 219.1 kB / 0.6388 GB, free: 8.098 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.7806, allocations: 290.2 kB / 0.6391 GB, free: 7.891 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.7934, allocations: 6.647 MB / 0.6456 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.256e-05/0.7935, allocations: 15.88 kB / 0.6456 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003867/0.7939, allocations: 127.9 kB / 0.6457 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008789/0.7948, allocations: 0.6921 MB / 0.6464 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.8055, allocations: 5.802 MB / 0.6521 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03684/0.8424, allocations: 23.14 MB / 0.6747 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004827/0.8473, allocations: 2.249 MB / 0.6768 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008067/0.8554, allocations: 3.766 MB / 0.6805 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.8555, allocations: 39.12 kB / 0.6806 GB, free: 12.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 4.879e-06/0.8555, allocations: 0 / 0.6806 GB, free: 12.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.006087/0.8616, allocations: 2.445 MB / 0.683 GB, free: 9.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.8617, allocations: 67.92 kB / 0.683 GB, free: 9.492 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/0.8647, allocations: 1.796 MB / 0.6848 GB, free: 7.699 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.472e-05/0.8648, allocations: 37.7 kB / 0.6848 GB, free: 7.656 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.8662, allocations: 1.964 MB / 0.6867 GB, free: 5.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/0.8666, allocations: 359.3 kB / 0.6871 GB, free: 5.305 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.8668, allocations: 60 kB / 0.6871 GB, free: 5.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002482/0.867, allocations: 444.7 kB / 0.6875 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.8684, allocations: 0.9274 MB / 0.6885 GB, free: 3.875 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/0.8712, allocations: 2.849 MB / 0.6912 GB, free: 60 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.8736, allocations: 1.63 MB / 0.6928 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.97e-05/0.8736, allocations: 20 kB / 0.6928 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.005893/0.8795, allocations: 3.679 MB / 0.6964 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/0.8796, allocations: 42.59 kB / 0.6965 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.426e-05/0.8797, allocations: 71.98 kB / 0.6965 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.8799, allocations: 100 kB / 0.6966 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.8819, allocations: 0.7096 MB / 0.6973 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001189/0.882, allocations: 135.5 kB / 0.6975 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.8844, allocations: 431.8 kB / 0.6979 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/0.8847, allocations: 200 kB / 0.6981 GB, free: 9.051 MB / 0.4948 GB 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.002753/0.8875, allocations: 1.427 MB / 0.6995 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.8879, allocations: 169.8 kB / 0.6996 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.8899, allocations: 1.193 MB / 0.7008 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.8899, allocations: 12 kB / 0.7008 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.8899, allocations: 0 / 0.7008 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.89, allocations: 3.984 kB / 0.7008 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009144/0.8991, allocations: 4.99 MB / 0.7057 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.8992, allocations: 8 kB / 0.7057 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.8997, allocations: 136 kB / 0.7058 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/0.8997, allocations: 12 kB / 0.7058 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.8998, allocations: 24 kB / 0.7059 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.8998, allocations: 19.92 kB / 0.7059 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.8999, allocations: 15.94 kB / 0.7059 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3027/1.203, allocations: 2.189 MB / 0.708 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005833/1.203, allocations: 272.4 kB / 0.7083 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/1.203, allocations: 26.09 kB / 0.7083 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006285/1.204, allocations: 33.64 kB / 0.7083 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.204, allocations: 78.05 kB / 0.7084 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.144e-05/1.204, allocations: 40.94 kB / 0.7085 GB, free: 140 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002425/1.207, allocations: 1.309 MB / 0.7097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.207, allocations: 1.188 kB / 0.7097 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00399/1.211, allocations: 0.7553 MB / 0.7105 GB, free: 139.7 MB / 0.4948 GB 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.0003756/1.211, allocations: 161 kB / 0.7106 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004125/1.215, allocations: 2.167 MB / 0.7127 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.215, allocations: 4.453 kB / 0.7127 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000989/1.216, allocations: 0.5313 MB / 0.7133 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/1.218, allocations: 230.7 kB / 0.7135 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/1.231, allocations: 6.719 MB / 0.72 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/1.234, allocations: 2.47 MB / 0.7225 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003065/1.237, allocations: 1.016 MB / 0.7234 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/1.238, allocations: 133.2 kB / 0.7236 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.653e-06/1.238, allocations: 0 / 0.7236 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.03038/1.268, allocations: 14.83 MB / 0.7381 GB, free: 135.1 MB / 0.4948 GB 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/jenkins/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