Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.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.00156/0.00156, allocations: 80.94 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.001238/0.001238, allocations: 173 kB / 23.35 MB, free: 1.137 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.9698/0.9698, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.0311/0.0311, allocations: 7.192 MB / 267.4 MB, free: 5.934 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.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 286.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.212e-05, allocations: 2.312 kB / 286.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.1152/0.1152, allocations: 7.891 MB / 294 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0047/0.1199, allocations: 2.603 MB / 296.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000727/0.1206, allocations: 35.75 kB / 296.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007335/0.1214, allocations: 365.2 kB / 297 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.1238, allocations: 1.424 MB / 298.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1241, allocations: 116.5 kB / 298.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.1264, allocations: 2.504 MB / 301 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008408/0.1272, allocations: 0.7344 MB / 301.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.1287, allocations: 1.342 MB / 303.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.1302, allocations: 1.232 MB / 304.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003825/0.1306, allocations: 225.5 kB / 304.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.1317, allocations: 0.8159 MB / 305.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000733/0.1325, allocations: 1.265 MB / 306.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.1331, allocations: 0.8068 MB / 307.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.1356, allocations: 3.268 MB / 310.7 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1356, allocations: 0.9688 kB / 310.7 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1356, allocations: 0 / 310.7 MB, free: 7.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.665e-05/0.1357, allocations: 0 / 310.7 MB, free: 7.352 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: 1180 * Number of variables: 1180 Notification: Performance of Generate backend data structure: time 0.004356/0.14, allocations: 3.076 MB / 313.8 MB, free: 4.238 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1401, allocations: 12.03 kB / 313.8 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/0.1428, allocations: 1.023 MB / 314.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009808/0.1437, allocations: 0.9566 MB / 315.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.1438, allocations: 143.9 kB / 315.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.144, allocations: 184.2 kB / 316.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/0.1472, allocations: 3.407 MB / 319.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.1473, allocations: 23.95 kB / 319.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.1474, allocations: 92.23 kB / 319.6 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001596/0.149, allocations: 1.786 MB / 321.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.1521, allocations: 1.9 MB / 323.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.1661, allocations: 17.53 MB / 340.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.1679, allocations: 0.9519 MB / 341.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.1682, allocations: 208 kB / 342 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002182/0.1703, allocations: 1.944 MB / 343.9 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1704, allocations: 47.5 kB / 344 MB, free: 5.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 4.448e-06/0.1704, allocations: 0 / 344 MB, free: 5.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.003858/0.1742, allocations: 2.246 MB / 346.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.1743, allocations: 60.41 kB / 346.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.1757, allocations: 1.586 MB / 347.9 MB, free: 1.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.1757, allocations: 45.7 kB / 347.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008011/0.1765, allocations: 2.165 MB / 350.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.1767, allocations: 496 kB / 350.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005736/0.1773, allocations: 0.7308 MB / 351.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.1774, allocations: 345.9 kB / 351.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.1779, allocations: 384.8 kB / 352 MB, free: 12.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.1794, allocations: 2.454 MB / 354.4 MB, free: 9.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.1816, allocations: 3.316 MB / 357.8 MB, free: 5.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-05/0.1816, allocations: 20 kB / 357.8 MB, free: 5.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.002759/0.1844, allocations: 2.463 MB / 360.2 MB, free: 2.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.1844, allocations: 45.59 kB / 360.3 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.547e-05/0.1845, allocations: 79.94 kB / 360.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.087e-05/0.1846, allocations: 100 kB / 360.5 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.1861, allocations: 0.8773 MB / 361.3 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.939e-05/0.1862, allocations: 147.4 kB / 361.5 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.1873, allocations: 152 kB / 361.6 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.1875, allocations: 196 kB / 361.8 MB, free: 0.9688 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 21 (springDamper.colorConnector_a[1],springDamper.colorConnector_a[2],springDamper.colorConnector_a[3],springDamper.colorConnector_b[1],springDamper.colorConnector_b[2],springDamper.colorConnector_b[3],springDamper.color[1],springDamper.color[2],springDamper.color[3],springDamper.color_a[1],springDamper.color_a[2],springDamper.color_a[3],springDamper.color_b[1],springDamper.color_b[2],springDamper.color_b[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (467): * Single equations (assignments): 462 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008097/0.1883, allocations: 425.2 kB / 362.2 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.1884, allocations: 127.8 kB / 362.4 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.1892, allocations: 0.5495 MB / 362.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.939e-05/0.1892, allocations: 19.98 kB / 362.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1892, allocations: 0 / 362.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1892, allocations: 3.984 kB / 362.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.1924, allocations: 2.441 MB / 365.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.1924, allocations: 8 kB / 365.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.1929, allocations: 203.6 kB / 365.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.1929, allocations: 12 kB / 365.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.1929, allocations: 28.55 kB / 365.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.1929, allocations: 19.94 kB / 365.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.193, allocations: 4 kB / 365.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009729/0.1939, allocations: 1.069 MB / 366.7 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.1941, allocations: 162.8 kB / 366.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.1942, allocations: 37.25 kB / 366.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.1945, allocations: 24.12 kB / 366.9 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/0.1949, allocations: 84.28 kB / 367 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/0.1949, allocations: 43.98 kB / 367.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005118/0.1954, allocations: 0.6193 MB / 367.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1954, allocations: 0 / 367.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001634/0.1971, allocations: 0.5976 MB / 368.3 MB, free: 10.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.w) * 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 (97): * Single equations (assignments): 92 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002381/0.1973, allocations: 152 kB / 368.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.1988, allocations: 1.414 MB / 369.8 MB, free: 8.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.949e-05/0.1989, allocations: 47.94 kB / 369.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.1992, allocations: 268.3 kB / 370.1 MB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.1999, allocations: 270.9 kB / 370.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/0.2067, allocations: 5.513 MB / 375.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008372/0.2075, allocations: 0.8849 MB / 376.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008389/0.2084, allocations: 295 kB / 377.1 MB, free: 1.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/0.2089, allocations: 357.2 kB / 377.4 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of SimCode: time 2.485e-06/0.2089, allocations: 4 kB / 377.5 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of Templates: time 0.02972/0.2386, allocations: 18.99 MB / 396.4 MB, free: 14.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1216215421445668]