Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001889/0.001889, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002004/0.002004, allocations: 161.3 kB / 24.27 MB, free: 152 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.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3317/0.3317, allocations: 34.27 MB / 295.3 MB, free: 0.6719 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.CutForce3,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.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,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.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.677e-05/3.837e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01419/0.01423, allocations: 9.161 MB / 386.4 MB, free: 9.766 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006722/0.02095, allocations: 2.865 MB / 389.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009646/0.02192, allocations: 55.81 kB / 389.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004685/0.0266, allocations: 2.138 MB / 391.5 MB, free: 4.691 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.0294, allocations: 1.174 MB / 392.7 MB, free: 3.512 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.03018, allocations: 315.2 kB / 393 MB, free: 3.203 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003334/0.03351, allocations: 2.364 MB / 395.3 MB, free: 0.832 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002368/0.03588, allocations: 1.801 MB / 397.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.03784, allocations: 1.29 MB / 398.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.03963, allocations: 1.181 MB / 399.6 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003354/0.03996, allocations: 192 kB / 399.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.04121, allocations: 0.6435 MB / 400.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.04248, allocations: 1.184 MB / 401.6 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009499/0.04343, allocations: 0.7241 MB / 402.4 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005463/0.04889, allocations: 4.295 MB / 406.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.0489, allocations: 0 / 406.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0489, allocations: 0 / 406.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.206e-05/0.04895, allocations: 0 / 406.6 MB, free: 5.457 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.005625/0.05458, allocations: 3.403 MB / 410 MB, free: 2.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.05461, allocations: 8.031 kB / 410.1 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/0.06075, allocations: 1.871 MB / 411.9 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.06369, allocations: 1.222 MB / 413.1 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.06383, allocations: 144 kB / 413.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/0.0642, allocations: 188.3 kB / 413.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007101/0.0713, allocations: 3.586 MB / 417.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.005e-05/0.07135, allocations: 11.88 kB / 417.1 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.0716, allocations: 91.91 kB / 417.2 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/0.07392, allocations: 1.34 MB / 418.5 MB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006978/0.0809, allocations: 2.035 MB / 420.5 MB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.188/0.2689, allocations: 24.44 MB / 445 MB, free: 82.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/0.2719, allocations: 0.9431 MB / 445.9 MB, free: 82.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.2723, allocations: 252.7 kB / 446.2 MB, free: 82.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005036/0.2774, allocations: 2.57 MB / 448.7 MB, free: 82.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2774, allocations: 45.48 kB / 448.8 MB, free: 82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.856e-06/0.2774, allocations: 0 / 448.8 MB, free: 82 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00399/0.2814, allocations: 1.308 MB / 450.1 MB, free: 81.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.2814, allocations: 61.25 kB / 450.1 MB, free: 81.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/0.2836, allocations: 2.272 MB / 452.4 MB, free: 81.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.2837, allocations: 35.84 kB / 452.5 MB, free: 81.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008616/0.2845, allocations: 2.116 MB / 454.6 MB, free: 80.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.2847, allocations: 354.8 kB / 454.9 MB, free: 80.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000766/0.2855, allocations: 0.792 MB / 455.7 MB, free: 79.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.2856, allocations: 0.5425 MB / 456.3 MB, free: 79.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.2862, allocations: 317.9 kB / 456.6 MB, free: 79.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.2876, allocations: 3.174 MB / 459.7 MB, free: 75.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.29, allocations: 3.834 MB / 463.6 MB, free: 71.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-05/0.2901, allocations: 19.16 kB / 463.6 MB, free: 71.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003447/0.2935, allocations: 2.55 MB / 466.1 MB, free: 70.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.2936, allocations: 32.94 kB / 466.2 MB, free: 70.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.486e-05/0.2936, allocations: 65.25 kB / 466.2 MB, free: 70.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.539e-05/0.2937, allocations: 87.84 kB / 466.3 MB, free: 70.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.2954, allocations: 0.6577 MB / 467 MB, free: 70.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-05/0.2954, allocations: 124.7 kB / 467.1 MB, free: 70.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.297, allocations: 416.8 kB / 467.5 MB, free: 70.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.2972, allocations: 189.3 kB / 467.7 MB, free: 70.02 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.0009056/0.2981, allocations: 473.2 kB / 468.2 MB, free: 69.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.2983, allocations: 177.9 kB / 468.3 MB, free: 69.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.2986, allocations: 153.8 kB / 468.5 MB, free: 69.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.2986, allocations: 11.62 kB / 468.5 MB, free: 69.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.2986, allocations: 0 / 468.5 MB, free: 69.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2986, allocations: 3.234 kB / 468.5 MB, free: 69.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/0.304, allocations: 3.618 MB / 472.1 MB, free: 67.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.304, allocations: 3.094 kB / 472.1 MB, free: 67.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.3044, allocations: 98.77 kB / 472.2 MB, free: 67.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.3044, allocations: 9.375 kB / 472.2 MB, free: 67.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.3044, allocations: 20.69 kB / 472.2 MB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.3045, allocations: 11.88 kB / 472.2 MB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3045, allocations: 6.125 kB / 472.3 MB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.3053, allocations: 0.9326 MB / 473.2 MB, free: 66.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.3055, allocations: 157.4 kB / 473.3 MB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.3057, allocations: 12.75 kB / 473.4 MB, free: 66.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.3061, allocations: 29.89 kB / 473.4 MB, free: 66.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.056e-05/0.3062, allocations: 48.98 kB / 473.4 MB, free: 66.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.3062, allocations: 27.91 kB / 473.5 MB, free: 66.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009799/0.3072, allocations: 0.9303 MB / 474.4 MB, free: 66.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3072, allocations: 0 / 474.4 MB, free: 66.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002091/0.3093, allocations: 0.7044 MB / 475.1 MB, free: 66.19 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.0002456/0.3095, allocations: 145.5 kB / 475.2 MB, free: 66.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.3115, allocations: 1.4 MB / 476.6 MB, free: 65.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3115, allocations: 0.9688 kB / 476.6 MB, free: 65.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.3118, allocations: 249.4 kB / 476.9 MB, free: 65.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009328/0.3127, allocations: 197.9 kB / 477.1 MB, free: 65.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006528/0.3193, allocations: 4.411 MB / 481.5 MB, free: 63.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.321, allocations: 1.511 MB / 483 MB, free: 62.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001735/0.3228, allocations: 0.8028 MB / 483.8 MB, free: 62.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.323, allocations: 118.5 kB / 483.9 MB, free: 62.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.323, allocations: 0 / 483.9 MB, free: 62.43 MB / 410.7 MB Notification: Performance of Templates: time 0.02559/0.3486, allocations: 11.55 MB / 495.5 MB, free: 61.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.573251007008366]