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.00199/0.00199, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002032/0.002032, allocations: 165.3 kB / 24.27 MB, free: 160 kB / 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 1.596/1.596, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3673/0.3673, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.3.|cutForce.force.2.|cutForce.force.1.",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.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.962e-05, allocations: 5.406 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0133/0.01333, allocations: 9.153 MB / 386.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.02014, allocations: 2.865 MB / 389.3 MB, free: 6.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.02133, allocations: 55.81 kB / 389.3 MB, free: 6.848 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004684/0.02602, allocations: 2.134 MB / 391.5 MB, free: 4.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.02916, allocations: 1.174 MB / 392.7 MB, free: 3.527 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.02997, allocations: 323.2 kB / 393 MB, free: 3.211 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.03347, allocations: 2.36 MB / 395.3 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.03593, allocations: 1.805 MB / 397.1 MB, free: 15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.03785, allocations: 1.286 MB / 398.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.03967, allocations: 1.177 MB / 399.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003568/0.04003, allocations: 196 kB / 399.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.04129, allocations: 0.6474 MB / 400.4 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001492/0.04278, allocations: 1.184 MB / 401.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.04378, allocations: 0.7241 MB / 402.3 MB, free: 9.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005595/0.04937, allocations: 4.295 MB / 406.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.04938, allocations: 0 / 406.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04938, allocations: 0 / 406.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001036/0.04948, allocations: 4 kB / 406.6 MB, free: 5.465 MB / 378.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.006891/0.05637, allocations: 3.395 MB / 410 MB, free: 2.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.05642, allocations: 12.03 kB / 410 MB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005979/0.0624, allocations: 1.871 MB / 411.9 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.06572, allocations: 1.222 MB / 413.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.06586, allocations: 144 kB / 413.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.06622, allocations: 184.3 kB / 413.5 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00793/0.07415, allocations: 3.59 MB / 417.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/0.07421, allocations: 11.88 kB / 417.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.07446, allocations: 87.91 kB / 417.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002309/0.07677, allocations: 1.34 MB / 418.5 MB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006811/0.08358, allocations: 2.037 MB / 420.5 MB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1952/0.2788, allocations: 24.44 MB / 445 MB, free: 82.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.2818, allocations: 0.9442 MB / 445.9 MB, free: 82.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/0.2823, allocations: 248.3 kB / 446.2 MB, free: 82.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005244/0.2876, allocations: 2.57 MB / 448.7 MB, free: 81.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2876, allocations: 47.11 kB / 448.8 MB, free: 81.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.365e-06/0.2876, allocations: 2.188 kB / 448.8 MB, free: 81.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004119/0.2917, allocations: 1.304 MB / 450.1 MB, free: 81.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.2917, allocations: 62.22 kB / 450.1 MB, free: 81.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.294, allocations: 2.278 MB / 452.4 MB, free: 81.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.2941, allocations: 34.19 kB / 452.5 MB, free: 81.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000906/0.295, allocations: 2.115 MB / 454.6 MB, free: 80.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.2952, allocations: 358.9 kB / 454.9 MB, free: 80.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007551/0.296, allocations: 0.7867 MB / 455.7 MB, free: 79.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2961, allocations: 0.5415 MB / 456.2 MB, free: 79.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.2967, allocations: 316.5 kB / 456.6 MB, free: 79.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.2982, allocations: 3.175 MB / 459.7 MB, free: 75.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.3006, allocations: 3.828 MB / 463.6 MB, free: 71.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.189e-05/0.3006, allocations: 18.12 kB / 463.6 MB, free: 71.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003601/0.3042, allocations: 2.547 MB / 466.1 MB, free: 70.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.3042, allocations: 33.28 kB / 466.2 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.997e-05/0.3043, allocations: 67.81 kB / 466.2 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.821e-05/0.3044, allocations: 89.66 kB / 466.3 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.3061, allocations: 0.6514 MB / 467 MB, free: 70.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.498e-05/0.3062, allocations: 130.8 kB / 467.1 MB, free: 70.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.3078, allocations: 417.5 kB / 467.5 MB, free: 69.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.308, allocations: 185.2 kB / 467.7 MB, free: 69.96 MB / 410.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.0009169/0.3089, allocations: 476.2 kB / 468.1 MB, free: 69.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.3091, allocations: 179.9 kB / 468.3 MB, free: 69.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.3094, allocations: 164.2 kB / 468.5 MB, free: 69.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.3094, allocations: 9.375 kB / 468.5 MB, free: 69.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3094, allocations: 0 / 468.5 MB, free: 69.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.3094, allocations: 3.375 kB / 468.5 MB, free: 69.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005528/0.315, allocations: 3.607 MB / 472.1 MB, free: 67.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.315, allocations: 9.031 kB / 472.1 MB, free: 67.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.3153, allocations: 100.3 kB / 472.2 MB, free: 67.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.3153, allocations: 6.062 kB / 472.2 MB, free: 67.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.3154, allocations: 15.91 kB / 472.2 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.3154, allocations: 16.19 kB / 472.2 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3154, allocations: 6.031 kB / 472.2 MB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/0.3163, allocations: 0.9319 MB / 473.2 MB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.3166, allocations: 157.5 kB / 473.3 MB, free: 66.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.3168, allocations: 16.16 kB / 473.3 MB, free: 66.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.3172, allocations: 26.33 kB / 473.4 MB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3173, allocations: 53.53 kB / 473.4 MB, free: 66.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.3174, allocations: 27.88 kB / 473.5 MB, free: 66.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001111/0.3185, allocations: 0.9261 MB / 474.4 MB, free: 66.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3185, allocations: 0 / 474.4 MB, free: 66.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002242/0.3207, allocations: 0.701 MB / 475.1 MB, free: 66.14 MB / 410.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.0002757/0.321, allocations: 151.2 kB / 475.2 MB, free: 66.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.3231, allocations: 1.398 MB / 476.6 MB, free: 65.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3231, allocations: 3.156 kB / 476.6 MB, free: 65.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.3235, allocations: 244.5 kB / 476.9 MB, free: 65.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009682/0.3244, allocations: 195.6 kB / 477.1 MB, free: 65.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.3305, allocations: 4.41 MB / 481.5 MB, free: 62.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/0.3323, allocations: 1.511 MB / 483 MB, free: 62.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001651/0.3339, allocations: 0.8041 MB / 483.8 MB, free: 62.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.3342, allocations: 115.6 kB / 483.9 MB, free: 62.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3342, allocations: 0 / 483.9 MB, free: 62.38 MB / 410.7 MB Notification: Performance of Templates: time 0.02373/0.3579, allocations: 11.55 MB / 495.4 MB, free: 61.05 MB / 410.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.742813427001238]