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.001898/0.001898, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.002389/0.002389, allocations: 169.6 kB / 24.82 MB, free: 9.32 MB / 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.184/1.184, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.325/0.325, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 378.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.306e-05, allocations: 5.406 kB / 378.5 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0139/0.01393, allocations: 9.001 MB / 387.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006718/0.02065, allocations: 2.842 MB / 390.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.02232, allocations: 55.81 kB / 390.4 MB, free: 6.477 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.02511, allocations: 2.114 MB / 392.5 MB, free: 4.355 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.02821, allocations: 1.175 MB / 393.7 MB, free: 3.176 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/0.02893, allocations: 323.2 kB / 394 MB, free: 2.859 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003006/0.03194, allocations: 2.368 MB / 396.4 MB, free: 500 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.03389, allocations: 1.793 MB / 398.2 MB, free: 14.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.03574, allocations: 1.298 MB / 399.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002074/0.03782, allocations: 1.177 MB / 400.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004656/0.03828, allocations: 196 kB / 400.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.03947, allocations: 0.6473 MB / 401.5 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009848/0.04045, allocations: 1.188 MB / 402.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009475/0.0414, allocations: 0.7202 MB / 403.4 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.04478, allocations: 2.724 MB / 406.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.04479, allocations: 0 / 406.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.04479, allocations: 0 / 406.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001026/0.04489, allocations: 0 / 406.1 MB, free: 6.684 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.004445/0.04934, allocations: 3.102 MB / 409.2 MB, free: 3.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.04939, allocations: 12.03 kB / 409.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/0.05175, allocations: 0.9901 MB / 410.2 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.05373, allocations: 1.142 MB / 411.3 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/0.05383, allocations: 140 kB / 411.5 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.05414, allocations: 188.3 kB / 411.7 MB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006361/0.0605, allocations: 3.039 MB / 414.7 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.642e-05/0.06056, allocations: 15.88 kB / 414.7 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.06079, allocations: 87.91 kB / 414.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0012/0.06199, allocations: 1.192 MB / 416 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004488/0.06648, allocations: 1.448 MB / 417.4 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02117/0.08765, allocations: 20.41 MB / 437.9 MB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.0898, allocations: 0.8767 MB / 438.7 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.0901, allocations: 192.2 kB / 438.9 MB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003477/0.09358, allocations: 2.349 MB / 441.3 MB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.09362, allocations: 41.89 kB / 441.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.988e-06/0.09362, allocations: 0 / 441.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002553/0.09617, allocations: 1.218 MB / 442.5 MB, free: 1.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.09621, allocations: 59.91 kB / 442.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2071/0.3033, allocations: 1.786 MB / 444.4 MB, free: 94.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.3035, allocations: 36.7 kB / 444.4 MB, free: 94.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.3051, allocations: 2.031 MB / 446.4 MB, free: 94.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/0.3055, allocations: 333.9 kB / 446.8 MB, free: 93.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007289/0.3062, allocations: 0.687 MB / 447.4 MB, free: 93.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3064, allocations: 0.524 MB / 448 MB, free: 93.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.3067, allocations: 233 kB / 448.2 MB, free: 93.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.3083, allocations: 3.003 MB / 451.2 MB, free: 89.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/0.311, allocations: 3.617 MB / 454.8 MB, free: 86.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-05/0.3111, allocations: 22.66 kB / 454.8 MB, free: 86.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003368/0.3145, allocations: 2.33 MB / 457.2 MB, free: 85.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.3145, allocations: 34.56 kB / 457.2 MB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.612e-05/0.3146, allocations: 70.94 kB / 457.3 MB, free: 85.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.592e-05/0.3147, allocations: 86.38 kB / 457.4 MB, free: 85.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.316, allocations: 0.6375 MB / 458 MB, free: 85.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-05/0.3161, allocations: 129.4 kB / 458.1 MB, free: 85.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.3178, allocations: 400.1 kB / 458.5 MB, free: 85.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.318, allocations: 166.3 kB / 458.7 MB, free: 85.36 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.001104/0.3191, allocations: 420.7 kB / 459.1 MB, free: 85.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.3194, allocations: 168.8 kB / 459.3 MB, free: 85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.3196, allocations: 162.7 kB / 459.4 MB, free: 84.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.3196, allocations: 9.344 kB / 459.4 MB, free: 84.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3196, allocations: 0 / 459.4 MB, free: 84.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3196, allocations: 3.234 kB / 459.4 MB, free: 84.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.3228, allocations: 2.132 MB / 461.6 MB, free: 84.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.3228, allocations: 10.38 kB / 461.6 MB, free: 84.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.3231, allocations: 90.31 kB / 461.7 MB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.3231, allocations: 9.438 kB / 461.7 MB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.3231, allocations: 20.08 kB / 461.7 MB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.388e-05/0.3231, allocations: 12.75 kB / 461.7 MB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3231, allocations: 10.81 kB / 461.7 MB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.3238, allocations: 0.8376 MB / 462.5 MB, free: 83.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.3241, allocations: 154.5 kB / 462.7 MB, free: 83.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.83e-05/0.3242, allocations: 18.31 kB / 462.7 MB, free: 83.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.3244, allocations: 16.94 kB / 462.7 MB, free: 83.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.3244, allocations: 48.69 kB / 462.8 MB, free: 83.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.3245, allocations: 24.78 kB / 462.8 MB, free: 83.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006543/0.3251, allocations: 0.7323 MB / 463.5 MB, free: 83.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3251, allocations: 7.312 kB / 463.5 MB, free: 83.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002482/0.3276, allocations: 0.7008 MB / 464.2 MB, free: 83.25 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.0003344/0.328, allocations: 147.4 kB / 464.4 MB, free: 83.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.3298, allocations: 1.179 MB / 465.6 MB, free: 82.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.3298, allocations: 0 / 465.6 MB, free: 82.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.33, allocations: 184.6 kB / 465.7 MB, free: 82.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.3308, allocations: 195.7 kB / 465.9 MB, free: 82.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007258/0.3381, allocations: 4.344 MB / 470.3 MB, free: 80.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/0.3389, allocations: 0.7585 MB / 471 MB, free: 80.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007482/0.3396, allocations: 239.9 kB / 471.3 MB, free: 80.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.34, allocations: 303.7 kB / 471.6 MB, free: 80.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.765e-06/0.34, allocations: 0 / 471.6 MB, free: 80.02 MB / 410.7 MB Notification: Performance of Templates: time 0.03032/0.3703, allocations: 12.5 MB / 484.1 MB, free: 78.51 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.096611118875444]