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.0011/0.0011, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001118/0.001118, allocations: 161 kB / 24.55 MB, free: 20 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.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.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.2437/0.2437, allocations: 32.81 MB / 294.3 MB, free: 1.234 MB / 266.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.474e-06/2.474e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.581e-05, allocations: 2.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.00833/0.008366, allocations: 9.231 MB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004691/0.01306, allocations: 2.872 MB / 388.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007939/0.01385, allocations: 55.81 kB / 388.2 MB, free: 8.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.01636, allocations: 2.146 MB / 390.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.01855, allocations: 1.178 MB / 391.5 MB, free: 5.117 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.01913, allocations: 315.2 kB / 391.8 MB, free: 4.809 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.02188, allocations: 2.371 MB / 394.2 MB, free: 2.434 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.02381, allocations: 1.797 MB / 396 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.02562, allocations: 1.282 MB / 397.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.02696, allocations: 1.192 MB / 398.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.02719, allocations: 192 kB / 398.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000873/0.02807, allocations: 0.6318 MB / 399.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007322/0.0288, allocations: 1.184 MB / 400.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007952/0.02959, allocations: 0.7241 MB / 401.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.03232, allocations: 2.72 MB / 403.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.03233, allocations: 4 kB / 403.9 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.03233, allocations: 0 / 403.9 MB, free: 8.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.59e-05/0.03236, allocations: 0 / 403.9 MB, free: 8.645 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.002997/0.03536, allocations: 3.13 MB / 407 MB, free: 5.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.0354, allocations: 8.031 kB / 407 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.03841, allocations: 1.883 MB / 408.9 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.0399, allocations: 1.219 MB / 410.1 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/0.03997, allocations: 144 kB / 410.3 MB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.04017, allocations: 188.3 kB / 410.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/0.04411, allocations: 3.317 MB / 413.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.04415, allocations: 15.88 kB / 413.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.0443, allocations: 87.84 kB / 413.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001145/0.04544, allocations: 1.344 MB / 415.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.0487, allocations: 1.802 MB / 417 MB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/0.06328, allocations: 20.57 MB / 437.6 MB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.06525, allocations: 0.9234 MB / 438.5 MB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.06558, allocations: 229.9 kB / 438.7 MB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00323/0.06881, allocations: 2.439 MB / 441.2 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.06884, allocations: 41.89 kB / 441.2 MB, free: 2.098 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.517e-06/0.06884, allocations: 0 / 441.2 MB, free: 2.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002671/0.07151, allocations: 1.28 MB / 442.5 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.07155, allocations: 63.91 kB / 442.6 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1765/0.2481, allocations: 1.794 MB / 444.4 MB, free: 96.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.2482, allocations: 38.78 kB / 444.4 MB, free: 96.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008688/0.2491, allocations: 2.015 MB / 446.4 MB, free: 95.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.2493, allocations: 336 kB / 446.7 MB, free: 95.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005592/0.2499, allocations: 0.6701 MB / 447.4 MB, free: 95.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.25, allocations: 0.518 MB / 447.9 MB, free: 94.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005315/0.2505, allocations: 293.4 kB / 448.2 MB, free: 94.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.2518, allocations: 3.051 MB / 451.3 MB, free: 91.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.254, allocations: 3.683 MB / 454.9 MB, free: 87.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.482e-05/0.254, allocations: 18.78 kB / 455 MB, free: 87.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003046/0.2571, allocations: 2.494 MB / 457.5 MB, free: 86.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.2571, allocations: 33.31 kB / 457.5 MB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.585e-05/0.2572, allocations: 69.31 kB / 457.6 MB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.277e-05/0.2572, allocations: 87.72 kB / 457.6 MB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.2584, allocations: 0.6614 MB / 458.3 MB, free: 86.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.373e-05/0.2584, allocations: 124.5 kB / 458.4 MB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.2597, allocations: 424.2 kB / 458.8 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.2598, allocations: 189.2 kB / 459 MB, free: 86.64 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.000844/0.2607, allocations: 412.2 kB / 459.4 MB, free: 86.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.2609, allocations: 176.5 kB / 459.6 MB, free: 86.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.261, allocations: 160.2 kB / 459.8 MB, free: 86.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.261, allocations: 9.188 kB / 459.8 MB, free: 86.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.261, allocations: 3.5 kB / 459.8 MB, free: 86.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2611, allocations: 3.375 kB / 459.8 MB, free: 86.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.2647, allocations: 2.841 MB / 462.6 MB, free: 85.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2647, allocations: 3.25 kB / 462.6 MB, free: 85.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.2649, allocations: 101.7 kB / 462.7 MB, free: 85.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.2649, allocations: 6.312 kB / 462.7 MB, free: 85.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.2649, allocations: 21.44 kB / 462.7 MB, free: 85.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.2649, allocations: 14.03 kB / 462.8 MB, free: 85.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.2649, allocations: 10.34 kB / 462.8 MB, free: 85.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.2656, allocations: 0.8651 MB / 463.6 MB, free: 84.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.2658, allocations: 149.6 kB / 463.8 MB, free: 84.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.2659, allocations: 19.19 kB / 463.8 MB, free: 84.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.2661, allocations: 23.98 kB / 463.8 MB, free: 84.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.2661, allocations: 57.55 kB / 463.9 MB, free: 84.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.2662, allocations: 26.72 kB / 463.9 MB, free: 84.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006913/0.2669, allocations: 0.7754 MB / 464.7 MB, free: 84.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2669, allocations: 3.938 kB / 464.7 MB, free: 84.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001974/0.2688, allocations: 0.7057 MB / 465.4 MB, free: 83.93 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.0002893/0.2691, allocations: 144.7 kB / 465.5 MB, free: 83.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.271, allocations: 1.249 MB / 466.8 MB, free: 83.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.2711, allocations: 3.25 kB / 466.8 MB, free: 83.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.2713, allocations: 198.6 kB / 467 MB, free: 83.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/0.2721, allocations: 197 kB / 467.2 MB, free: 83.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/0.2778, allocations: 4.354 MB / 471.5 MB, free: 80.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.2785, allocations: 0.7598 MB / 472.3 MB, free: 80.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001388/0.2799, allocations: 0.7981 MB / 473.1 MB, free: 80.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.2801, allocations: 111.9 kB / 473.2 MB, free: 80.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.815e-06/0.2801, allocations: 4 kB / 473.2 MB, free: 80.52 MB / 410.7 MB Notification: Performance of Templates: time 0.02396/0.3041, allocations: 11.56 MB / 484.8 MB, free: 79.22 MB / 410.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 -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.6773660010658205]