Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0018/0.002937, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.00247, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.972/0.972, allocations: 177.4 MB / 189.9 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08602/1.058, allocations: 53.86 MB / 243.7 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2594/0.2594, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04189/0.3013, allocations: 13.23 MB / 292.6 MB, free: 6.445 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.047e-06/4.047e-06, allocations: 4 kB / 293.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/2.138e-05, allocations: 4.281 kB / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007532/0.007553, allocations: 9.121 MB / 303 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003613/0.01117, allocations: 2.982 MB / 306 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.01159, allocations: 55.81 kB / 306 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.01341, allocations: 2.032 MB / 308 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.01474, allocations: 1.159 MB / 309.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.01514, allocations: 311.1 kB / 309.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.01678, allocations: 2.201 MB / 311.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.01821, allocations: 1.774 MB / 313.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.01926, allocations: 1.348 MB / 314.8 MB, free: 68 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.02031, allocations: 1.11 MB / 315.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.02053, allocations: 196 kB / 316.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006713/0.0212, allocations: 0.6591 MB / 316.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006185/0.02182, allocations: 1.06 MB / 317.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004877/0.02231, allocations: 0.5958 MB / 318.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.02412, allocations: 2.545 MB / 321 MB, free: 9.887 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.278e-05/0.02413, allocations: 4 kB / 321 MB, free: 9.883 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02413, allocations: 0 / 321 MB, free: 9.883 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.729e-05/0.0242, allocations: 0 / 321 MB, free: 9.883 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.002659/0.02686, allocations: 3.257 MB / 324.3 MB, free: 6.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.02689, allocations: 16.91 kB / 324.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.02852, allocations: 0.7499 MB / 325 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.02958, allocations: 1.049 MB / 326.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.02965, allocations: 148 kB / 326.2 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.02983, allocations: 184.3 kB / 326.4 MB, free: 4.398 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.03251, allocations: 2.836 MB / 329.2 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.03254, allocations: 11.88 kB / 329.2 MB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.0327, allocations: 99.89 kB / 329.3 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009843/0.03368, allocations: 1.204 MB / 330.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.03571, allocations: 1.509 MB / 332.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.04654, allocations: 15.28 MB / 347.3 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.04817, allocations: 0.8871 MB / 348.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.04836, allocations: 152.8 kB / 348.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002317/0.05068, allocations: 2.076 MB / 350.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.0507, allocations: 47 kB / 350.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.114e-06/0.0507, allocations: 0 / 350.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002122/0.05283, allocations: 1.055 MB / 351.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.05286, allocations: 63.91 kB / 351.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.05397, allocations: 1.416 MB / 353 MB, free: 8.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.054, allocations: 37.7 kB / 353.1 MB, free: 8.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006582/0.05466, allocations: 1.842 MB / 354.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.05481, allocations: 317.6 kB / 355.2 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.05521, allocations: 0.5801 MB / 355.8 MB, free: 5.992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.05529, allocations: 353.8 kB / 356.1 MB, free: 5.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.0556, allocations: 310.2 kB / 356.4 MB, free: 5.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009963/0.0566, allocations: 2.091 MB / 358.5 MB, free: 2.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.05841, allocations: 2.743 MB / 361.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.05842, allocations: 20 kB / 361.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001675/0.0601, allocations: 1.968 MB / 363.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.06013, allocations: 32 kB / 363.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.7e-05/0.06017, allocations: 68 kB / 363.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.821e-05/0.06021, allocations: 84.75 kB / 363.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.06128, allocations: 0.7214 MB / 364.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.788e-05/0.06134, allocations: 127.5 kB / 364.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/0.06214, allocations: 397 kB / 364.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.06228, allocations: 168 kB / 364.8 MB, free: 11.06 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.00043/0.06271, allocations: 365.6 kB / 365.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/0.0628, allocations: 99.83 kB / 365.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.0632, allocations: 156 kB / 365.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.06321, allocations: 11.98 kB / 365.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.06321, allocations: 0 / 365.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.06322, allocations: 0 / 365.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.06508, allocations: 1.868 MB / 367.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.06509, allocations: 8.75 kB / 367.3 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.06529, allocations: 91.89 kB / 367.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.06539, allocations: 150.8 kB / 367.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.06539, allocations: 11.98 kB / 367.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.06542, allocations: 23.92 kB / 367.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.06542, allocations: 15.94 kB / 367.6 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.06543, allocations: 7.938 kB / 367.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.06583, allocations: 0.6135 MB / 368.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/0.06591, allocations: 23.98 kB / 368.3 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.06609, allocations: 15.98 kB / 368.3 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.06614, allocations: 55.75 kB / 368.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.06617, allocations: 24 kB / 368.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003753/0.06655, allocations: 0.5448 MB / 368.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06655, allocations: 0 / 368.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001219/0.06777, allocations: 0.7045 MB / 369.6 MB, free: 6.078 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.0002015/0.06797, allocations: 136 kB / 369.7 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.06887, allocations: 1.1 MB / 370.8 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.094e-05/0.06895, allocations: 55.92 kB / 370.9 MB, free: 4.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.0691, allocations: 156.4 kB / 371.1 MB, free: 4.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.06967, allocations: 293 kB / 371.3 MB, free: 4.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.07436, allocations: 4.586 MB / 375.9 MB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.07492, allocations: 0.7541 MB / 376.7 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004687/0.07538, allocations: 248.4 kB / 376.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.0757, allocations: 267.3 kB / 377.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.0757, allocations: 4 kB / 377.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of Templates: time 0.0235/0.09919, allocations: 12.64 MB / 389.8 MB, free: 1.883 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.1552747152745724]