Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.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.0007863/0.0007863, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007866/0.0007866, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8477/0.8477, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.02639/0.02639, allocations: 7.115 MB / 267.1 MB, free: 6.32 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 393.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.823e-05, allocations: 5.656 kB / 393.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.006191/0.00622, allocations: 8.371 MB / 402 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.009388, allocations: 2.651 MB / 404.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/0.009794, allocations: 39.88 kB / 404.7 MB, free: 8.398 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.01039, allocations: 421.1 kB / 405.1 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.0121, allocations: 1.508 MB / 406.6 MB, free: 6.469 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.01236, allocations: 175.4 kB / 406.8 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.014, allocations: 2.764 MB / 409.6 MB, free: 3.527 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006442/0.01464, allocations: 0.7966 MB / 410.4 MB, free: 2.707 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.01568, allocations: 1.496 MB / 411.8 MB, free: 1.207 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1475/0.1632, allocations: 1.406 MB / 413.3 MB, free: 17.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007655/0.164, allocations: 247.5 kB / 413.5 MB, free: 17.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.1653, allocations: 0.835 MB / 414.3 MB, free: 17.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007781/0.1661, allocations: 1.387 MB / 415.7 MB, free: 17.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007712/0.1668, allocations: 0.891 MB / 416.6 MB, free: 17.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004452/0.1713, allocations: 5.34 MB / 421.9 MB, free: 16.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1713, allocations: 0 / 421.9 MB, free: 16.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1713, allocations: 0 / 421.9 MB, free: 16.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.689e-05/0.1714, allocations: 0 / 421.9 MB, free: 16.78 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.004805/0.1762, allocations: 3.581 MB / 425.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1762, allocations: 10.97 kB / 425.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.1798, allocations: 1.867 MB / 427.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.1814, allocations: 1.387 MB / 428.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.083e-05/0.1815, allocations: 163.7 kB / 429 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/0.1818, allocations: 210.2 kB / 429.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00711/0.1889, allocations: 8.726 MB / 437.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/0.1889, allocations: 23.77 kB / 437.9 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.1892, allocations: 113.9 kB / 438 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/0.1908, allocations: 2.085 MB / 440.1 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006704/0.1975, allocations: 7.541 MB / 447.6 MB, free: 1.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01919/0.2167, allocations: 24.52 MB / 472.2 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.2193, allocations: 1.731 MB / 473.9 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.2205, allocations: 0.879 MB / 474.8 MB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004647/0.2251, allocations: 3.844 MB / 478.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.2251, allocations: 43.56 kB / 478.7 MB, free: 2.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 3.277e-06/0.2252, allocations: 0 / 478.7 MB, free: 2.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.008586/0.2337, allocations: 6.765 MB / 485.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2338, allocations: 71.53 kB / 485.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.236, allocations: 2.535 MB / 488 MB, free: 9.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.236, allocations: 45.3 kB / 488.1 MB, free: 9.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.2372, allocations: 2.459 MB / 490.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.2375, allocations: 0.5252 MB / 491.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007319/0.2382, allocations: 0.8608 MB / 491.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.2383, allocations: 353.9 kB / 492.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.2397, allocations: 1.355 MB / 493.6 MB, free: 3.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.2423, allocations: 3.801 MB / 497.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004023/0.2463, allocations: 5.515 MB / 0.4911 GB, free: 8.016 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/0.2463, allocations: 24 kB / 0.4912 GB, free: 7.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.005207/0.2515, allocations: 5.313 MB / 0.4964 GB, free: 2.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.2516, allocations: 40 kB / 0.4964 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.682e-05/0.2516, allocations: 88 kB / 0.4965 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004313/0.252, allocations: 368.3 kB / 0.4968 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.2535, allocations: 0.9202 MB / 0.4977 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.2579, allocations: 8.431 MB / 0.506 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.2593, allocations: 222.8 kB / 0.5062 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.2595, allocations: 271.9 kB / 0.5064 GB, free: 7.844 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 495 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,10,66.7%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00222/0.2617, allocations: 1.696 MB / 0.5081 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.2619, allocations: 214.6 kB / 0.5083 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.2639, allocations: 1.905 MB / 0.5102 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.632e-05/0.264, allocations: 43.95 kB / 0.5102 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.264, allocations: 4 kB / 0.5102 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.264, allocations: 3.984 kB / 0.5102 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005111/0.2691, allocations: 4.522 MB / 0.5146 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2691, allocations: 4 kB / 0.5146 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.2695, allocations: 179.7 kB / 0.5148 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/0.2697, allocations: 155.1 kB / 0.5149 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.2697, allocations: 23.98 kB / 0.515 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.2722, allocations: 4.805 MB / 0.5197 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2722, allocations: 4 kB / 0.5197 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.2747, allocations: 2.833 MB / 0.5224 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.2749, allocations: 190.6 kB / 0.5226 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.2751, allocations: 25.02 kB / 0.5226 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.2755, allocations: 73.02 kB / 0.5227 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.2756, allocations: 84.73 kB / 0.5228 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.2756, allocations: 45.16 kB / 0.5228 GB, free: 6.578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001318/0.2769, allocations: 1.467 MB / 0.5243 GB, free: 5.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2769, allocations: 0 / 0.5243 GB, free: 5.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002435/0.2794, allocations: 0.6989 MB / 0.5249 GB, free: 4.391 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (102): * Single equations (assignments): 94 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002538/0.2796, allocations: 163.5 kB / 0.5251 GB, free: 4.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003312/0.2829, allocations: 3.585 MB / 0.5286 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2829, allocations: 4 kB / 0.5286 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000881/0.2838, allocations: 1.084 MB / 0.5297 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.2846, allocations: 272 kB / 0.5299 GB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007711/0.2924, allocations: 7.203 MB / 0.537 GB, free: 7.926 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/0.2944, allocations: 2.2 MB / 0.5391 GB, free: 5.691 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.2948, allocations: 200.5 kB / 0.5393 GB, free: 5.496 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2948, allocations: 0 / 0.5393 GB, free: 5.496 MB / 442.7 MB Notification: Performance of Templates: time 0.192/0.4868, allocations: 109.1 MB / 0.6458 GB, free: 102.3 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.961101858876646] Failed to read output from testmodel.py, exit status != 0: 0.4926666645333171 0.497490829 0.324950669 Calling exit ...