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.001633/0.001633, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001602/0.001602, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.455/1.455, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.05/0.05, allocations: 7.173 MB / 266.7 MB, free: 6.105 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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.432e-06/1.432e-06, allocations: 0 / 338.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.404e-05, allocations: 9.062 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.00677/0.006794, allocations: 8.435 MB / 346.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004584/0.01138, allocations: 2.663 MB / 349.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006819/0.01206, allocations: 47.81 kB / 349.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.01297, allocations: 421.2 kB / 349.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.01617, allocations: 1.528 MB / 351.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.0166, allocations: 167.6 kB / 351.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003363/0.01996, allocations: 2.791 MB / 354.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.02118, allocations: 0.8479 MB / 355 MB, free: 9.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.02331, allocations: 1.512 MB / 356.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.02533, allocations: 1.41 MB / 357.9 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003899/0.02572, allocations: 252 kB / 358.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.02719, allocations: 0.8386 MB / 359 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.02859, allocations: 1.386 MB / 360.4 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.02976, allocations: 0.8992 MB / 361.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006554/0.03631, allocations: 5.369 MB / 366.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.03632, allocations: 0 / 366.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.03632, allocations: 0 / 366.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.428e-05/0.0364, allocations: 0 / 366.7 MB, free: 13.91 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1301 * Number of variables: 1301 Notification: Performance of Generate backend data structure: time 0.007243/0.04364, allocations: 3.595 MB / 370.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.04368, allocations: 12.62 kB / 370.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008132/0.05182, allocations: 2.374 MB / 372.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.05468, allocations: 1.388 MB / 374 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.05486, allocations: 176.4 kB / 374.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004772/0.05534, allocations: 212.2 kB / 374.4 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/0.07669, allocations: 8.712 MB / 383.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.07681, allocations: 27.95 kB / 383.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005143/0.07732, allocations: 107.8 kB / 383.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006296/0.08362, allocations: 2.091 MB / 385.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02432/0.1079, allocations: 7.491 MB / 392.8 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1647/0.2727, allocations: 24.69 MB / 417.5 MB, free: 59.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004696/0.2773, allocations: 1.744 MB / 419.3 MB, free: 59.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.2788, allocations: 0.8925 MB / 420.2 MB, free: 59.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007583/0.2864, allocations: 3.864 MB / 424 MB, free: 58.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.2864, allocations: 42.88 kB / 424.1 MB, free: 58.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 3.997e-06/0.2865, allocations: 0 / 424.1 MB, free: 58.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=135): time 0.01242/0.2989, allocations: 6.719 MB / 430.8 MB, free: 56.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.2989, allocations: 66.12 kB / 430.9 MB, free: 56.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.3016, allocations: 2.559 MB / 433.4 MB, free: 55.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.694e-05/0.3016, allocations: 42.39 kB / 433.5 MB, free: 55.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008302/0.3025, allocations: 2.488 MB / 435.9 MB, free: 53.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.3027, allocations: 0.5341 MB / 436.5 MB, free: 52.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008941/0.3036, allocations: 0.8659 MB / 437.3 MB, free: 52.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.3037, allocations: 349.9 kB / 437.7 MB, free: 52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.3054, allocations: 1.364 MB / 439 MB, free: 50.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.3078, allocations: 3.811 MB / 442.9 MB, free: 45.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.3122, allocations: 5.519 MB / 448.4 MB, free: 39.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-05/0.3122, allocations: 24 kB / 448.4 MB, free: 38.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007218/0.3194, allocations: 5.541 MB / 453.9 MB, free: 33.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.3195, allocations: 42.5 kB / 454 MB, free: 33.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.176e-05/0.3195, allocations: 88 kB / 454.1 MB, free: 33.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008689/0.3204, allocations: 439.5 kB / 454.5 MB, free: 32.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.3228, allocations: 0.9397 MB / 455.4 MB, free: 31.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/0.3274, allocations: 8.462 MB / 463.9 MB, free: 22.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/0.3303, allocations: 231.8 kB / 464.1 MB, free: 22.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003783/0.3306, allocations: 263.1 kB / 464.4 MB, free: 22.5 MB / 330.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 (513): * Single equations (assignments): 503 * 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.002202/0.3328, allocations: 1.704 MB / 466.1 MB, free: 20.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004725/0.3333, allocations: 246.5 kB / 466.3 MB, free: 20.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.3361, allocations: 1.882 MB / 468.2 MB, free: 18.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001795/0.3362, allocations: 39.95 kB / 468.2 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3363, allocations: 4 kB / 468.2 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3363, allocations: 3.984 kB / 468.3 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007098/0.3434, allocations: 4.518 MB / 472.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.3434, allocations: 4 kB / 472.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006639/0.344, allocations: 179.7 kB / 473 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005487/0.3446, allocations: 214.4 kB / 473.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.3446, allocations: 24 kB / 473.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.3472, allocations: 4.824 MB / 478 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3472, allocations: 4 kB / 478 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.3507, allocations: 2.841 MB / 480.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.3511, allocations: 202.6 kB / 481.1 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.3514, allocations: 20 kB / 481.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007689/0.3521, allocations: 63.92 kB / 481.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.3523, allocations: 91.09 kB / 481.2 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/0.3523, allocations: 51.61 kB / 481.3 MB, free: 5.156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00165/0.354, allocations: 1.476 MB / 482.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.354, allocations: 64 / 482.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003132/0.3571, allocations: 0.7108 MB / 483.5 MB, free: 2.949 MB / 330.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.0002846/0.3574, allocations: 146.5 kB / 483.6 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005005/0.3624, allocations: 3.615 MB / 487.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3624, allocations: 4.062 kB / 487.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.3644, allocations: 1.06 MB / 488.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.366, allocations: 288.2 kB / 488.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.3789, allocations: 6.942 MB / 495.5 MB, free: 6.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/0.3825, allocations: 2.206 MB / 497.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003053/0.3855, allocations: 1.152 MB / 498.9 MB, free: 3.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.386, allocations: 160.5 kB / 499 MB, free: 3.184 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.386, allocations: 0 / 499 MB, free: 3.184 MB / 346.7 MB Notification: Performance of Templates: time 0.04529/0.4313, allocations: 18.12 MB / 0.505 GB, free: 1.441 MB / 362.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: 5.637623805901967]