Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 170.3 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9381/0.9381, allocations: 177.1 MB / 205.3 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3096/0.3096, allocations: 34.26 MB / 296.1 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 325.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.802e-05, allocations: 4.031 kB / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007298/0.007326, allocations: 9.056 MB / 334.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005294/0.01262, allocations: 2.959 MB / 337.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.01367, allocations: 55.81 kB / 337.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.01585, allocations: 2.102 MB / 339.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.01796, allocations: 1.167 MB / 340.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.01849, allocations: 319.2 kB / 340.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.02062, allocations: 2.215 MB / 343.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.02215, allocations: 1.844 MB / 345 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.02338, allocations: 1.298 MB / 346.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.02459, allocations: 1.114 MB / 347.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002617/0.02485, allocations: 192 kB / 347.6 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008765/0.02573, allocations: 0.6629 MB / 348.2 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007331/0.02646, allocations: 1.192 MB / 349.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006565/0.02711, allocations: 0.7203 MB / 350.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.02979, allocations: 2.724 MB / 352.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.0298, allocations: 4 kB / 352.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.0298, allocations: 3.938 kB / 352.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.567e-05/0.02989, allocations: 0 / 352.9 MB, free: 11.93 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.002862/0.03275, allocations: 2.659 MB / 355.5 MB, free: 9.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.03279, allocations: 16.03 kB / 355.6 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.03461, allocations: 0.7538 MB / 356.3 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.03588, allocations: 1.057 MB / 357.4 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/0.03595, allocations: 144 kB / 357.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.03615, allocations: 184.3 kB / 357.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/0.03917, allocations: 2.845 MB / 360.5 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.0392, allocations: 11.88 kB / 360.6 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.03935, allocations: 87.91 kB / 360.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009661/0.04031, allocations: 1.192 MB / 361.8 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.04275, allocations: 1.51 MB / 363.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.05563, allocations: 15.28 MB / 378.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.05751, allocations: 0.9107 MB / 379.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.05772, allocations: 158.7 kB / 379.7 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002835/0.06055, allocations: 2.122 MB / 381.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.06058, allocations: 39.06 kB / 381.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.687e-06/0.06059, allocations: 0 / 381.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002394/0.06298, allocations: 1.094 MB / 382.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.06301, allocations: 59.91 kB / 383 MB, free: 12.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.06412, allocations: 1.42 MB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.06417, allocations: 41.69 kB / 384.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008596/0.06503, allocations: 1.838 MB / 386.3 MB, free: 9.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.06519, allocations: 317.5 kB / 386.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/0.06559, allocations: 0.5801 MB / 387.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.06568, allocations: 349.9 kB / 387.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.06601, allocations: 314.1 kB / 387.8 MB, free: 7.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.0673, allocations: 2.091 MB / 389.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.06918, allocations: 2.752 MB / 392.7 MB, free: 1.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.519e-05/0.0692, allocations: 20 kB / 392.7 MB, free: 1.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00232/0.07152, allocations: 1.961 MB / 394.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.07156, allocations: 32 kB / 394.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-05/0.07161, allocations: 64 kB / 394.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.944e-05/0.07167, allocations: 88 kB / 394.8 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.07274, allocations: 0.6707 MB / 395.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.07e-05/0.07281, allocations: 131.5 kB / 395.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.07391, allocations: 401.2 kB / 396 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.07406, allocations: 172 kB / 396.2 MB, free: 13.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000708/0.07477, allocations: 353.7 kB / 396.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.07488, allocations: 95.83 kB / 396.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.07502, allocations: 160 kB / 396.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.07503, allocations: 11.94 kB / 396.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.07504, allocations: 0 / 396.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.07505, allocations: 11.98 kB / 396.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.07732, allocations: 1.868 MB / 398.7 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.07733, allocations: 4 kB / 398.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.07753, allocations: 95.83 kB / 398.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.07754, allocations: 8 kB / 398.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.07757, allocations: 23.98 kB / 398.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.07758, allocations: 11.94 kB / 398.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.07758, allocations: 8.469 kB / 398.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.07805, allocations: 0.6213 MB / 399.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.07819, allocations: 150.8 kB / 399.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.07827, allocations: 12 kB / 399.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.07847, allocations: 16 kB / 399.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.07854, allocations: 55.8 kB / 399.7 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.07857, allocations: 20 kB / 399.7 MB, free: 9.953 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004633/0.07904, allocations: 0.5487 MB / 400.2 MB, free: 9.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07904, allocations: 4 kB / 400.2 MB, free: 9.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001735/0.08077, allocations: 0.7007 MB / 401 MB, free: 8.699 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002438/0.08102, allocations: 136 kB / 401.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.08259, allocations: 1.102 MB / 402.2 MB, free: 7.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.76e-05/0.08267, allocations: 47.94 kB / 402.2 MB, free: 7.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.08284, allocations: 164.2 kB / 402.4 MB, free: 7.242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.08344, allocations: 189.5 kB / 402.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.08888, allocations: 4.467 MB / 407 MB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.08955, allocations: 0.7502 MB / 407.8 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006234/0.09017, allocations: 242.6 kB / 408 MB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.09052, allocations: 275.3 kB / 408.3 MB, free: 1.176 MB / 378.7 MB Notification: Performance of SimCode: time 2.705e-06/0.09052, allocations: 0 / 408.3 MB, free: 1.176 MB / 378.7 MB Notification: Performance of Templates: time 0.02655/0.1171, allocations: 12.47 MB / 420.8 MB, free: 4.859 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.10106545034796]