Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001414/0.001414, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00179/0.003204, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0011/0.0011, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002383, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.122/1.122, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1546/1.277, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3511/0.3511, allocations: 32.8 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03635/0.3875, allocations: 12.53 MB / 289.3 MB, free: 8.668 MB / 282.7 MB " [Timeout remaining time 180] 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 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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.092e-05, allocations: 4.141 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009826/0.009857, allocations: 9.125 MB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009757/0.01961, allocations: 2.981 MB / 302.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003332/0.02295, allocations: 55.81 kB / 302.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004587/0.02753, allocations: 2.028 MB / 304.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.03202, allocations: 1.155 MB / 305.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.03295, allocations: 311.1 kB / 306.2 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003439/0.03639, allocations: 2.216 MB / 308.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.03823, allocations: 1.766 MB / 310.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.04017, allocations: 1.352 MB / 311.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.04199, allocations: 1.107 MB / 312.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004198/0.0424, allocations: 196 kB / 312.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.0438, allocations: 0.6591 MB / 313.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001741/0.04554, allocations: 1.064 MB / 314.6 MB, free: 172 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008495/0.04639, allocations: 0.592 MB / 315.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.05003, allocations: 2.553 MB / 317.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.827e-05/0.05006, allocations: 4 kB / 317.7 MB, free: 13 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.05006, allocations: 0 / 317.7 MB, free: 13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001193/0.05018, allocations: 0 / 317.7 MB, free: 13 MB / 314.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.005105/0.05529, allocations: 3.245 MB / 321 MB, free: 9.703 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.05534, allocations: 12.03 kB / 321 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.05734, allocations: 0.7577 MB / 321.8 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.05929, allocations: 1.046 MB / 322.8 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.677e-05/0.05939, allocations: 148 kB / 323 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.05961, allocations: 184.3 kB / 323.1 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004923/0.06454, allocations: 2.841 MB / 326 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.06458, allocations: 15.88 kB / 326 MB, free: 4.398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.06479, allocations: 83.91 kB / 326.1 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001841/0.06663, allocations: 1.204 MB / 327.3 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004731/0.07136, allocations: 1.51 MB / 328.8 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/0.09428, allocations: 15.28 MB / 344.1 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.09709, allocations: 0.8908 MB / 345 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.09741, allocations: 153.1 kB / 345.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004543/0.102, allocations: 2.087 MB / 347.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.102, allocations: 39.06 kB / 347.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 5.209e-06/0.102, allocations: 0 / 347.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.003433/0.1054, allocations: 1.062 MB / 348.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1055, allocations: 59.91 kB / 348.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.1076, allocations: 1.424 MB / 349.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.1077, allocations: 29.7 kB / 349.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.1088, allocations: 1.842 MB / 351.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.1091, allocations: 321.5 kB / 352 MB, free: 9.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006446/0.1098, allocations: 0.5723 MB / 352.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1099, allocations: 349.8 kB / 352.9 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.1105, allocations: 318.1 kB / 353.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.1124, allocations: 2.091 MB / 355.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/0.1153, allocations: 2.747 MB / 358 MB, free: 1.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.074e-05/0.1153, allocations: 16 kB / 358 MB, free: 1.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00342/0.1187, allocations: 1.968 MB / 360 MB, free: 15.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/0.1188, allocations: 33.91 kB / 360 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-05/0.1189, allocations: 72 kB / 360.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.265e-05/0.119, allocations: 88 kB / 360.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.1208, allocations: 0.7174 MB / 360.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001028/0.1209, allocations: 131.5 kB / 361 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/0.1236, allocations: 401 kB / 361.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/0.1238, allocations: 160 kB / 361.6 MB, free: 14.19 MB / 362.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.001532/0.1253, allocations: 369.6 kB / 361.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.1256, allocations: 95.84 kB / 362 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.1259, allocations: 160 kB / 362.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.1259, allocations: 8 kB / 362.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1259, allocations: 0 / 362.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.1259, allocations: 7.984 kB / 362.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.1304, allocations: 1.872 MB / 364.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.1305, allocations: 4 kB / 364.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.1309, allocations: 95.91 kB / 364.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.1314, allocations: 154.7 kB / 364.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.1314, allocations: 8 kB / 364.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.1315, allocations: 12 kB / 364.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.497e-05/0.1315, allocations: 8 kB / 364.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/0.1315, allocations: 11.94 kB / 364.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009694/0.1325, allocations: 0.6176 MB / 365 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.1327, allocations: 23.98 kB / 365 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.1331, allocations: 15.98 kB / 365 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.1332, allocations: 51.75 kB / 365.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.1333, allocations: 27.98 kB / 365.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009787/0.1343, allocations: 0.541 MB / 365.6 MB, free: 9.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1343, allocations: 7.938 kB / 365.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003997/0.1383, allocations: 0.7045 MB / 366.4 MB, free: 9.199 MB / 362.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.0006047/0.1389, allocations: 132.1 kB / 366.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003077/0.1419, allocations: 1.102 MB / 367.6 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002156/0.1422, allocations: 59.91 kB / 367.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003865/0.1425, allocations: 154.1 kB / 367.8 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.1442, allocations: 297.2 kB / 368.1 MB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009068/0.1533, allocations: 4.59 MB / 372.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.154, allocations: 0.7541 MB / 373.4 MB, free: 1.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006655/0.1546, allocations: 238.6 kB / 373.7 MB, free: 1.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.155, allocations: 275.3 kB / 373.9 MB, free: 1.461 MB / 362.7 MB Notification: Performance of SimCode: time 3.377e-06/0.155, allocations: 0 / 373.9 MB, free: 1.461 MB / 362.7 MB Notification: Performance of Templates: time 0.02195/0.1769, allocations: 12.63 MB / 386.6 MB, free: 4.992 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6116874292492867]