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.001062/0.001062, allocations: 92.22 kB / 19.65 MB, free: 276 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.001244/0.001244, allocations: 169 kB / 23.02 MB, free: 1.551 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.9617/0.9617, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.02951/0.02951, allocations: 7.174 MB / 267.1 MB, free: 6.07 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.593e-06/1.593e-06, allocations: 0 / 338.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.105e-05, allocations: 2.312 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.008739/0.00877, allocations: 9.279 MB / 348.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005186/0.01396, allocations: 2.752 MB / 350.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007872/0.01474, allocations: 43.88 kB / 350.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.01554, allocations: 417.1 kB / 351.3 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.01803, allocations: 1.524 MB / 352.9 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.01835, allocations: 171.5 kB / 353 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.02054, allocations: 2.795 MB / 355.8 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008958/0.02143, allocations: 0.844 MB / 356.7 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.02272, allocations: 1.504 MB / 358.2 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.02412, allocations: 1.418 MB / 359.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003878/0.02451, allocations: 252 kB / 359.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.02551, allocations: 0.8385 MB / 360.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000826/0.02634, allocations: 1.398 MB / 362.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008461/0.02718, allocations: 0.907 MB / 363 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.03015, allocations: 3.544 MB / 366.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.03016, allocations: 4 kB / 366.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.03016, allocations: 0 / 366.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.145e-05/0.03025, allocations: 0 / 366.5 MB, free: 14.43 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.004125/0.03438, allocations: 3.925 MB / 370.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.03442, allocations: 8.625 kB / 370.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/0.03841, allocations: 2.319 MB / 372.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.03985, allocations: 1.316 MB / 374.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.03994, allocations: 168.5 kB / 374.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.04019, allocations: 212.2 kB / 374.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004704/0.0449, allocations: 4.436 MB / 378.9 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/0.04495, allocations: 23.95 kB / 378.9 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.04514, allocations: 111.8 kB / 379 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001829/0.04697, allocations: 2.083 MB / 381.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004355/0.05133, allocations: 2.495 MB / 383.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1378/0.1891, allocations: 28.34 MB / 412 MB, free: 65.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.1917, allocations: 1.058 MB / 413 MB, free: 64.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/0.1923, allocations: 432 kB / 413.4 MB, free: 64.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005213/0.1975, allocations: 3.267 MB / 416.7 MB, free: 64.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.1975, allocations: 49.91 kB / 416.7 MB, free: 64.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 3.857e-06/0.1975, allocations: 0 / 416.7 MB, free: 64.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=135): time 0.009894/0.2074, allocations: 4.151 MB / 420.9 MB, free: 63.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.2075, allocations: 66.09 kB / 421 MB, free: 63.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.2105, allocations: 2.224 MB / 423.2 MB, free: 62.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.2105, allocations: 48.02 kB / 423.2 MB, free: 62.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.2118, allocations: 2.595 MB / 425.8 MB, free: 61.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/0.2122, allocations: 0.5506 MB / 426.4 MB, free: 60.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.2133, allocations: 0.9223 MB / 427.3 MB, free: 60.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.2134, allocations: 0.5159 MB / 427.8 MB, free: 60.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.2146, allocations: 461.8 kB / 428.3 MB, free: 60.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.2167, allocations: 4.054 MB / 432.3 MB, free: 55.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/0.2196, allocations: 4.94 MB / 437.3 MB, free: 50.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.687e-05/0.2196, allocations: 23.03 kB / 437.3 MB, free: 50.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.003858/0.2235, allocations: 3.689 MB / 441 MB, free: 49.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.2235, allocations: 40 kB / 441 MB, free: 49.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.218e-05/0.2236, allocations: 88 kB / 441.1 MB, free: 49.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000558/0.2241, allocations: 372 kB / 441.5 MB, free: 48.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.2255, allocations: 0.9243 MB / 442.4 MB, free: 48.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/0.2284, allocations: 10.59 MB / 453 MB, free: 37.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.2298, allocations: 221.4 kB / 453.2 MB, free: 36.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/0.23, allocations: 261.7 kB / 453.4 MB, free: 36.66 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.0008071/0.2308, allocations: 0.4984 MB / 453.9 MB, free: 36.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.2309, allocations: 250.2 kB / 454.2 MB, free: 35.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2321, allocations: 1.028 MB / 455.2 MB, free: 35.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.574e-05/0.2322, allocations: 39.5 kB / 455.3 MB, free: 34.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.2322, allocations: 6.625 kB / 455.3 MB, free: 34.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2322, allocations: 7.547 kB / 455.3 MB, free: 34.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/0.2366, allocations: 3.837 MB / 459.1 MB, free: 31.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2366, allocations: 0 / 459.1 MB, free: 31.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.237, allocations: 183.7 kB / 459.3 MB, free: 31.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/0.2373, allocations: 165.1 kB / 459.5 MB, free: 31.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.2373, allocations: 23.98 kB / 459.5 MB, free: 31.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.2389, allocations: 6.167 MB / 465.6 MB, free: 24.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2389, allocations: 8.156 kB / 465.6 MB, free: 24.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.2403, allocations: 1.457 MB / 467.1 MB, free: 23.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.2404, allocations: 198.6 kB / 467.3 MB, free: 22.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.2406, allocations: 26.64 kB / 467.3 MB, free: 22.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.2409, allocations: 67.86 kB / 467.4 MB, free: 22.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.241, allocations: 80.8 kB / 467.5 MB, free: 22.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.2411, allocations: 43.98 kB / 467.5 MB, free: 22.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008794/0.2419, allocations: 0.9758 MB / 468.5 MB, free: 21.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2419, allocations: 0 / 468.5 MB, free: 21.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001846/0.2438, allocations: 0.7217 MB / 469.2 MB, free: 20.98 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.0002219/0.244, allocations: 147 kB / 469.4 MB, free: 20.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.2463, allocations: 2.775 MB / 472.1 MB, free: 17.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2463, allocations: 0 / 472.1 MB, free: 17.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000524/0.2468, allocations: 0.8966 MB / 473 MB, free: 17.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007682/0.2476, allocations: 296.2 kB / 473.3 MB, free: 16.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.2533, allocations: 5.802 MB / 479.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.2539, allocations: 0.9865 MB / 480.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001225/0.2552, allocations: 1.008 MB / 481.1 MB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.2554, allocations: 160.5 kB / 481.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2554, allocations: 0 / 481.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of Templates: time 0.02549/0.2809, allocations: 18.05 MB / 499.3 MB, free: 7.02 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.774697338696569]