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.001175/0.001175, allocations: 183 kB / 18.09 MB, free: 3.625 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.327/1.327, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.000845/0.000845, allocations: 109.7 kB / 293.3 MB, free: 10.79 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.3441/0.3441, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006336/0.0006336, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3839, allocations: 61.88 MB / 0.5107 GB, free: 38.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.5178, allocations: 103 MB / 0.6113 GB, free: 8.082 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.5181, allocations: 83.95 kB / 0.6114 GB, free: 8.004 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1328/0.651, allocations: 53.03 MB / 0.6632 GB, free: 2.641 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.651, allocations: 4 kB / 0.6632 GB, free: 2.637 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001354/0.6512, allocations: 52 kB / 0.6632 GB, free: 2.586 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.007339/0.6585, allocations: 2.546 MB / 0.6657 GB, free: 15.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.6586, allocations: 8.031 kB / 0.6657 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007455/0.666, allocations: 1.799 MB / 0.6675 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004316/0.6704, allocations: 1.688 MB / 0.6691 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/0.6707, allocations: 213.8 kB / 0.6693 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/0.672, allocations: 268.3 kB / 0.6696 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/0.6877, allocations: 6.296 MB / 0.6757 GB, free: 5.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.6879, allocations: 16.06 kB / 0.6757 GB, free: 5.301 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001079/0.689, allocations: 127.9 kB / 0.6759 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001027/0.69, allocations: 0.6411 MB / 0.6765 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2562/0.9462, allocations: 5.461 MB / 0.6818 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/0.9744, allocations: 22.09 MB / 0.7034 GB, free: 95.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/0.9781, allocations: 2.08 MB / 0.7054 GB, free: 94.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000785/0.9789, allocations: 0.6779 MB / 0.7061 GB, free: 94.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005033/0.984, allocations: 3.508 MB / 0.7095 GB, free: 92.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.984, allocations: 37.91 kB / 0.7095 GB, free: 92.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.396e-06/0.984, allocations: 3.219 kB / 0.7095 GB, free: 92.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004461/0.9885, allocations: 1.972 MB / 0.7115 GB, free: 92.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.9885, allocations: 57.91 kB / 0.7115 GB, free: 92.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.9908, allocations: 1.934 MB / 0.7134 GB, free: 91.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.9909, allocations: 37.36 kB / 0.7135 GB, free: 91.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.9919, allocations: 1.884 MB / 0.7153 GB, free: 90.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.9921, allocations: 318.5 kB / 0.7156 GB, free: 90.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.9922, allocations: 54.11 kB / 0.7156 GB, free: 90.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.9924, allocations: 499.4 kB / 0.7161 GB, free: 89.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.9935, allocations: 0.8514 MB / 0.717 GB, free: 89.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.9956, allocations: 2.714 MB / 0.7196 GB, free: 86.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003953/0.9995, allocations: 3.899 MB / 0.7234 GB, free: 83.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.048e-05/0.9996, allocations: 19.03 kB / 0.7234 GB, free: 83.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.00605/1.006, allocations: 3.448 MB / 0.7268 GB, free: 82.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.94e-05/1.006, allocations: 32.69 kB / 0.7268 GB, free: 82.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/1.006, allocations: 66.81 kB / 0.7269 GB, free: 82.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/1.006, allocations: 91.5 kB / 0.727 GB, free: 82.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/1.008, allocations: 0.657 MB / 0.7276 GB, free: 81.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000133/1.008, allocations: 134 kB / 0.7278 GB, free: 81.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/1.01, allocations: 408.9 kB / 0.7281 GB, free: 81.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/1.01, allocations: 182.6 kB / 0.7283 GB, free: 81.65 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.002493/1.013, allocations: 1.38 MB / 0.7297 GB, free: 81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/1.013, allocations: 157.6 kB / 0.7298 GB, free: 80.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/1.013, allocations: 201.8 kB / 0.73 GB, free: 80.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/1.013, allocations: 8.906 kB / 0.73 GB, free: 80.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/1.013, allocations: 1.062 kB / 0.73 GB, free: 80.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/1.013, allocations: 3.234 kB / 0.73 GB, free: 80.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007248/1.021, allocations: 4.15 MB / 0.7341 GB, free: 79.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.021, allocations: 5.125 kB / 0.7341 GB, free: 79.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/1.021, allocations: 100.6 kB / 0.7342 GB, free: 79.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/1.021, allocations: 10.19 kB / 0.7342 GB, free: 79.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/1.021, allocations: 27.84 kB / 0.7342 GB, free: 79.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/1.021, allocations: 9.812 kB / 0.7342 GB, free: 79.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.021, allocations: 11.03 kB / 0.7342 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/1.023, allocations: 1.23 MB / 0.7354 GB, free: 78.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/1.023, allocations: 260.7 kB / 0.7357 GB, free: 78.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/1.023, allocations: 20.8 kB / 0.7357 GB, free: 78.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/1.024, allocations: 33.69 kB / 0.7357 GB, free: 78.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.024, allocations: 54.72 kB / 0.7358 GB, free: 78.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/1.024, allocations: 24.09 kB / 0.7358 GB, free: 78.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001696/1.025, allocations: 1.275 MB / 0.7371 GB, free: 77.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.025, allocations: 4 kB / 0.7371 GB, free: 77.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002962/1.028, allocations: 0.7165 MB / 0.7378 GB, free: 77.52 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.0002766/1.029, allocations: 141.9 kB / 0.7379 GB, free: 77.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002669/1.031, allocations: 1.98 MB / 0.7398 GB, free: 76.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.031, allocations: 0 / 0.7398 GB, free: 76.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/1.032, allocations: 471.5 kB / 0.7403 GB, free: 76.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.034, allocations: 222 kB / 0.7405 GB, free: 76.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007898/1.042, allocations: 6.253 MB / 0.7466 GB, free: 73.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/1.044, allocations: 2.314 MB / 0.7489 GB, free: 72.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002064/1.046, allocations: 0.9655 MB / 0.7498 GB, free: 71.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/1.046, allocations: 121 kB / 0.7499 GB, free: 71.93 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/1.046, allocations: 0 / 0.7499 GB, free: 71.93 MB / 490.7 MB Notification: Performance of Templates: time 0.02405/1.07, allocations: 13.83 MB / 0.7634 GB, free: 71.16 MB / 490.7 MB 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/jenkins1/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