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.0009029/0.0009029, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001015/0.001015, allocations: 181 kB / 23.36 MB, free: 1.133 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.9355/0.9355, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.02903/0.02903, allocations: 7.186 MB / 267.4 MB, free: 5.938 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.382e-06/1.382e-06, allocations: 0 / 286 MB, free: 3.348 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.879e-06/1.126e-05, allocations: 2.312 kB / 286 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.1137/0.1137, allocations: 9.102 MB / 295.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.1183, allocations: 2.837 MB / 298 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006304/0.1189, allocations: 41.47 kB / 298 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006893/0.1196, allocations: 431.1 kB / 298.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.1219, allocations: 1.529 MB / 300 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1222, allocations: 171.4 kB / 300.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.1245, allocations: 2.788 MB / 302.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008947/0.1254, allocations: 0.8633 MB / 303.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.1269, allocations: 1.515 MB / 305.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.1283, allocations: 1.356 MB / 306.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004341/0.1288, allocations: 251 kB / 306.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009992/0.1298, allocations: 0.8305 MB / 307.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006305/0.1304, allocations: 1.399 MB / 309.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006795/0.1311, allocations: 0.8974 MB / 310 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.1332, allocations: 3.556 MB / 313.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1332, allocations: 0 / 313.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1332, allocations: 0.6562 kB / 313.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.058e-05/0.1333, allocations: 0 / 313.6 MB, free: 4.449 MB / 266.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.003008/0.1363, allocations: 3.41 MB / 317 MB, free: 1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1363, allocations: 12.62 kB / 317 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/0.139, allocations: 1.077 MB / 318.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.1403, allocations: 1.049 MB / 319.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-05/0.1403, allocations: 164.5 kB / 319.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.1406, allocations: 220.2 kB / 319.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003679/0.1443, allocations: 3.743 MB / 323.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/0.1443, allocations: 20 kB / 323.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.1445, allocations: 107.8 kB / 323.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/0.1462, allocations: 1.888 MB / 325.3 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.1497, allocations: 2.052 MB / 327.3 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.1639, allocations: 20.38 MB / 347.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.1657, allocations: 1.007 MB / 348.7 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/0.1662, allocations: 352.6 kB / 349 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00463/0.1708, allocations: 2.74 MB / 351.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1708, allocations: 47.55 kB / 351.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=119): time 3.386e-06/0.1708, allocations: 0 / 351.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=135): time 0.006913/0.1778, allocations: 3.434 MB / 355.3 MB, free: 9.562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1778, allocations: 68.41 kB / 355.3 MB, free: 9.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.1797, allocations: 1.993 MB / 357.3 MB, free: 7.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.1797, allocations: 41.7 kB / 357.4 MB, free: 7.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.1809, allocations: 2.433 MB / 359.8 MB, free: 4.934 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/0.1813, allocations: 0.527 MB / 360.3 MB, free: 4.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008871/0.1821, allocations: 0.8262 MB / 361.2 MB, free: 3.562 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1822, allocations: 345.9 kB / 361.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007212/0.183, allocations: 446.4 kB / 361.9 MB, free: 2.773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.1849, allocations: 2.797 MB / 364.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/0.1881, allocations: 3.775 MB / 368.5 MB, free: 9.734 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.53e-05/0.1882, allocations: 27.94 kB / 368.5 MB, free: 9.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=561) (initialization): time 0.003962/0.1921, allocations: 2.965 MB / 371.5 MB, free: 6.691 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.1922, allocations: 44 kB / 371.5 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-05/0.1922, allocations: 92.09 kB / 371.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.1928, allocations: 331.2 kB / 371.9 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.1948, allocations: 0.9046 MB / 372.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004146/0.199, allocations: 7.76 MB / 380.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.2007, allocations: 172 kB / 380.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/0.2009, allocations: 220 kB / 381 MB, free: 12.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (514): * Single equations (assignments): 504 * 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.000808/0.2017, allocations: 468.7 kB / 381.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.202, allocations: 147.8 kB / 381.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.2032, allocations: 0.8164 MB / 382.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.233e-05/0.2033, allocations: 20 kB / 382.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2033, allocations: 4 kB / 382.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.2033, allocations: 7.969 kB / 382.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/0.2077, allocations: 3.07 MB / 385.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.2077, allocations: 4 kB / 385.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.2082, allocations: 163.7 kB / 385.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.2087, allocations: 221.9 kB / 385.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/0.2088, allocations: 31.94 kB / 385.9 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.2111, allocations: 4.458 MB / 390.4 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2111, allocations: 4 kB / 390.4 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2125, allocations: 1.119 MB / 391.5 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.2128, allocations: 182.6 kB / 391.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.213, allocations: 27.92 kB / 391.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.2134, allocations: 28 kB / 391.7 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.2136, allocations: 92.7 kB / 391.8 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.67e-05/0.2136, allocations: 32 kB / 391.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008327/0.2145, allocations: 0.7134 MB / 392.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2145, allocations: 0 / 392.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002717/0.2172, allocations: 0.7109 MB / 393.3 MB, free: 15.83 MB / 362.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.0002402/0.2174, allocations: 132.3 kB / 393.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.22, allocations: 2.272 MB / 395.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001248/0.2201, allocations: 56.62 kB / 395.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006765/0.2208, allocations: 0.6531 MB / 396.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.2218, allocations: 305.3 kB / 396.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/0.2299, allocations: 5.906 MB / 402.6 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.231, allocations: 0.9825 MB / 403.6 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001007/0.232, allocations: 329.6 kB / 403.9 MB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/0.2325, allocations: 385.2 kB / 404.3 MB, free: 4.602 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2325, allocations: 0 / 404.3 MB, free: 4.602 MB / 362.7 MB Notification: Performance of Templates: time 0.0317/0.2642, allocations: 20.21 MB / 424.5 MB, free: 0.7461 MB / 378.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.325304392259568]