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.001074/0.001074, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009881/0.0009881, allocations: 173 kB / 23.49 MB, free: 1.059 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.9746/0.9746, allocations: 177.1 MB / 203.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.02928/0.02928, allocations: 7.19 MB / 267.5 MB, free: 6.086 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.843e-06/1.843e-06, allocations: 3.938 kB / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.157e-05, allocations: 2.312 kB / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01103/0.01105, allocations: 9.263 MB / 348.1 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007768/0.01882, allocations: 2.737 MB / 350.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003937/0.02275, allocations: 39.88 kB / 350.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.02362, allocations: 421.1 kB / 351.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005664/0.02929, allocations: 1.52 MB / 352.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.02968, allocations: 171.5 kB / 353 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005476/0.03515, allocations: 2.797 MB / 355.8 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009166/0.03607, allocations: 0.8323 MB / 356.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004499/0.04057, allocations: 1.512 MB / 358.2 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.04234, allocations: 1.414 MB / 359.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003259/0.04267, allocations: 252 kB / 359.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.04685, allocations: 0.8425 MB / 360.7 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009943/0.04784, allocations: 1.39 MB / 362 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008167/0.04866, allocations: 0.907 MB / 363 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006482/0.05514, allocations: 3.548 MB / 366.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.05515, allocations: 0 / 366.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.05515, allocations: 0 / 366.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.799e-05/0.05519, allocations: 0 / 366.5 MB, free: 14.8 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.01127/0.06645, allocations: 3.936 MB / 370.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.06649, allocations: 8.625 kB / 370.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00608/0.07257, allocations: 2.319 MB / 372.8 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.07407, allocations: 1.312 MB / 374.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/0.07416, allocations: 164.5 kB / 374.2 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/0.07444, allocations: 212.2 kB / 374.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005016/0.07945, allocations: 4.44 MB / 378.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.125e-05/0.07951, allocations: 27.95 kB / 378.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.07972, allocations: 111.8 kB / 379 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001904/0.08163, allocations: 2.087 MB / 381.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.0867, allocations: 2.483 MB / 383.6 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1378/0.2245, allocations: 28.34 MB / 411.9 MB, free: 69.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.2271, allocations: 1.052 MB / 413 MB, free: 69.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/0.2278, allocations: 439.3 kB / 413.4 MB, free: 69.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004823/0.2326, allocations: 3.274 MB / 416.7 MB, free: 69.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.2326, allocations: 48.48 kB / 416.7 MB, free: 69.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 3.216e-06/0.2326, allocations: 0 / 416.7 MB, free: 69.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=135): time 0.006629/0.2393, allocations: 4.145 MB / 420.9 MB, free: 68.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.2393, allocations: 64.25 kB / 420.9 MB, free: 68.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.2411, allocations: 2.232 MB / 423.2 MB, free: 67.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.2412, allocations: 41.3 kB / 423.2 MB, free: 67.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/0.2419, allocations: 2.588 MB / 425.8 MB, free: 66.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.2422, allocations: 0.5596 MB / 426.4 MB, free: 65.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006784/0.2429, allocations: 0.9155 MB / 427.3 MB, free: 65.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.571e-05/0.2429, allocations: 0.5197 MB / 427.8 MB, free: 65.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007142/0.2436, allocations: 463.4 kB / 428.3 MB, free: 65.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.2451, allocations: 4.056 MB / 432.3 MB, free: 60.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/0.2478, allocations: 4.94 MB / 437.2 MB, free: 54.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.024e-05/0.2478, allocations: 26.75 kB / 437.3 MB, free: 54.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.003952/0.2518, allocations: 3.686 MB / 441 MB, free: 52.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.2518, allocations: 40 kB / 441 MB, free: 52.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/0.2519, allocations: 92.12 kB / 441.1 MB, free: 52.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/0.2524, allocations: 364.5 kB / 441.4 MB, free: 51.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.2539, allocations: 0.9319 MB / 442.4 MB, free: 51.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/0.2576, allocations: 10.58 MB / 453 MB, free: 40.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.259, allocations: 217.8 kB / 453.2 MB, free: 39.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.2592, allocations: 259.5 kB / 453.4 MB, free: 39.68 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.0007653/0.2599, allocations: 0.5043 MB / 453.9 MB, free: 39.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.2601, allocations: 245.7 kB / 454.2 MB, free: 38.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.2613, allocations: 1.031 MB / 455.2 MB, free: 37.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-05/0.2613, allocations: 39.48 kB / 455.2 MB, free: 37.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2614, allocations: 4 kB / 455.2 MB, free: 37.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2614, allocations: 7.969 kB / 455.3 MB, free: 37.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.2652, allocations: 3.826 MB / 459.1 MB, free: 33.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2652, allocations: 4.656 kB / 459.1 MB, free: 33.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.2656, allocations: 187.6 kB / 459.3 MB, free: 33.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.2658, allocations: 172.5 kB / 459.4 MB, free: 33.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.2659, allocations: 24 kB / 459.5 MB, free: 33.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.2673, allocations: 6.156 MB / 465.6 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2673, allocations: 11.97 kB / 465.6 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.2687, allocations: 1.459 MB / 467.1 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.2688, allocations: 202.6 kB / 467.3 MB, free: 25.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.269, allocations: 23.44 kB / 467.3 MB, free: 25.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.2694, allocations: 59.92 kB / 467.4 MB, free: 25.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.2695, allocations: 88.73 kB / 467.5 MB, free: 25.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.2695, allocations: 44.11 kB / 467.5 MB, free: 25.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008551/0.2704, allocations: 0.9797 MB / 468.5 MB, free: 24.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2704, allocations: 0 / 468.5 MB, free: 24.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00184/0.2722, allocations: 0.7105 MB / 469.2 MB, free: 23.38 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.0002237/0.2724, allocations: 150.9 kB / 469.3 MB, free: 23.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002311/0.2747, allocations: 2.774 MB / 472.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2747, allocations: 0 / 472.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.2753, allocations: 0.8964 MB / 473 MB, free: 19.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007813/0.2761, allocations: 302.4 kB / 473.3 MB, free: 19.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.2817, allocations: 5.788 MB / 479.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.2824, allocations: 0.9863 MB / 480.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001246/0.2836, allocations: 1.007 MB / 481.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.2839, allocations: 160.5 kB / 481.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.2839, allocations: 0 / 481.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of Templates: time 0.02568/0.3095, allocations: 18.06 MB / 499.3 MB, free: 9.371 MB / 346.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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.746740364935249]