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/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.001052/0.001052, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002494, 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.0008251/0.0008251, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001255/0.00208, 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.162/1.162, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1405/1.303, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.3593/0.3593, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02944/0.3887, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.28e-05, allocations: 3.438 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01248/0.01251, allocations: 9.121 MB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008277/0.02079, allocations: 2.981 MB / 302.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007639/0.02155, allocations: 55.81 kB / 302.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.02373, allocations: 2.032 MB / 304.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.02535, allocations: 1.155 MB / 305.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.02576, allocations: 311.1 kB / 306.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.0281, allocations: 2.212 MB / 308.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.02978, allocations: 1.77 MB / 310.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.03112, allocations: 1.348 MB / 311.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.03244, allocations: 1.11 MB / 312.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.03267, allocations: 192 kB / 312.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007935/0.03346, allocations: 0.6591 MB / 313.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006676/0.03413, allocations: 1.064 MB / 314.6 MB, free: 184 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.03465, allocations: 0.5919 MB / 315.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.03658, allocations: 2.549 MB / 317.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.642e-05/0.0366, allocations: 4 kB / 317.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0366, allocations: 0 / 317.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.387e-05/0.03664, allocations: 0 / 317.7 MB, free: 13.02 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.003359/0.04, allocations: 3.253 MB / 321 MB, free: 9.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.04004, allocations: 8.031 kB / 321 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.04234, allocations: 0.7577 MB / 321.8 MB, free: 8.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.04377, allocations: 1.046 MB / 322.8 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.04388, allocations: 148 kB / 323 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.04414, allocations: 184.3 kB / 323.1 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.04778, allocations: 2.844 MB / 326 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/0.04782, allocations: 11.88 kB / 326 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.04801, allocations: 87.91 kB / 326.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00142/0.04943, allocations: 1.2 MB / 327.3 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.0524, allocations: 1.52 MB / 328.8 MB, free: 1.566 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.06651, allocations: 15.27 MB / 344.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.06877, allocations: 0.8986 MB / 345 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.06904, allocations: 156.5 kB / 345.1 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003221/0.07226, allocations: 2.083 MB / 347.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.07229, allocations: 35.06 kB / 347.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.444e-06/0.07229, allocations: 4 kB / 347.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002981/0.07527, allocations: 1.058 MB / 348.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.07531, allocations: 59.91 kB / 348.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.07654, allocations: 1.424 MB / 349.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.07658, allocations: 37.7 kB / 349.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000981/0.07756, allocations: 1.838 MB / 351.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.07777, allocations: 317.6 kB / 352 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005854/0.07836, allocations: 0.5762 MB / 352.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.07849, allocations: 349.9 kB / 352.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.07893, allocations: 314.1 kB / 353.2 MB, free: 8.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.08043, allocations: 2.091 MB / 355.3 MB, free: 5.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.08282, allocations: 2.746 MB / 358 MB, free: 1.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.759e-05/0.08285, allocations: 20 kB / 358 MB, free: 1.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002496/0.08534, allocations: 1.96 MB / 360 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.08539, allocations: 40.12 kB / 360 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.033e-05/0.08545, allocations: 75.98 kB / 360.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-05/0.08552, allocations: 88 kB / 360.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.08707, allocations: 0.7136 MB / 360.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.093e-05/0.08716, allocations: 127.5 kB / 361 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.08832, allocations: 401 kB / 361.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.08851, allocations: 164 kB / 361.6 MB, free: 14.2 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.0005192/0.08903, allocations: 369.6 kB / 362 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.08917, allocations: 91.84 kB / 362 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.08937, allocations: 160 kB / 362.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.08938, allocations: 11.98 kB / 362.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.08939, allocations: 0 / 362.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.0894, allocations: 0 / 362.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.09194, allocations: 1.872 MB / 364.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.09195, allocations: 4 kB / 364.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.09224, allocations: 99.89 kB / 364.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.09239, allocations: 150.7 kB / 364.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.0924, allocations: 11.98 kB / 364.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.09243, allocations: 16 kB / 364.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.09244, allocations: 8 kB / 364.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.09245, allocations: 11.94 kB / 364.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.09306, allocations: 0.6215 MB / 365 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.09318, allocations: 19.97 kB / 365 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.09345, allocations: 16 kB / 365 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.09353, allocations: 55.69 kB / 365.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.09357, allocations: 24 kB / 365.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005396/0.09411, allocations: 0.5448 MB / 365.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09411, allocations: 0 / 365.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00167/0.09578, allocations: 0.7084 MB / 366.4 MB, free: 9.211 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.0002441/0.09602, allocations: 128.1 kB / 366.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.09729, allocations: 1.103 MB / 367.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001047/0.0974, allocations: 55.92 kB / 367.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.0976, allocations: 157.9 kB / 367.8 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.09839, allocations: 304.5 kB / 368.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006071/0.1045, allocations: 4.583 MB / 372.7 MB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.1051, allocations: 0.7502 MB / 373.4 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004794/0.1055, allocations: 246.6 kB / 373.7 MB, free: 1.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.1059, allocations: 271.3 kB / 373.9 MB, free: 1.473 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1059, allocations: 0 / 373.9 MB, free: 1.473 MB / 362.7 MB Notification: Performance of Templates: time 0.02088/0.1267, allocations: 12.63 MB / 386.6 MB, free: 5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.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.7801111759617925]