Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.FreeBody.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.001159/0.001159, 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.001522/0.001522, allocations: 173 kB / 23.02 MB, free: 1.547 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.03087/0.03087, allocations: 7.181 MB / 267.1 MB, free: 6.043 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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") translateModel(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 338.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.218e-05, allocations: 2.312 kB / 338.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.003953/0.003976, allocations: 5.774 MB / 344.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.006339, allocations: 2.067 MB / 346.7 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.00666, allocations: 27.94 kB / 346.7 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.007106, allocations: 274.3 kB / 347 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.008411, allocations: 1.186 MB / 348.2 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.897e-05/0.00848, allocations: 39.88 kB / 348.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.009691, allocations: 1.939 MB / 350.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.009836, allocations: 59.05 kB / 350.2 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000828/0.01066, allocations: 1.001 MB / 351.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/0.01158, allocations: 1.056 MB / 352.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.0118, allocations: 180 kB / 352.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000728/0.01253, allocations: 0.7253 MB / 353.2 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005323/0.01306, allocations: 1.001 MB / 354.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.01354, allocations: 0.6033 MB / 354.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.01547, allocations: 2.65 MB / 357.4 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01548, allocations: 0 / 357.4 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01548, allocations: 0 / 357.4 MB, free: 7.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.029e-05/0.01552, allocations: 0 / 357.4 MB, free: 7.543 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 910 * Number of variables: 910 Notification: Performance of Generate backend data structure: time 0.003122/0.01864, allocations: 2.836 MB / 360.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.01867, allocations: 8.625 kB / 360.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00371/0.02238, allocations: 2.051 MB / 362.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.02349, allocations: 1.046 MB / 363.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.02355, allocations: 98.86 kB / 363.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.02373, allocations: 136.2 kB / 363.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/0.02701, allocations: 2.98 MB / 366.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.02704, allocations: 12.12 kB / 366.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.02719, allocations: 68.25 kB / 366.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001548/0.02874, allocations: 1.621 MB / 368.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/0.03227, allocations: 1.778 MB / 370.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.04473, allocations: 17.93 MB / 388 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.0458, allocations: 0.5483 MB / 388.5 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.04606, allocations: 178.2 kB / 388.7 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/0.04771, allocations: 1.436 MB / 390.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.04773, allocations: 45.83 kB / 390.2 MB, free: 5.871 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 1.854e-06/0.04773, allocations: 0 / 390.2 MB, free: 5.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.001381/0.04912, allocations: 0.746 MB / 390.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.04915, allocations: 55.91 kB / 391 MB, free: 5.051 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.05042, allocations: 1.508 MB / 392.5 MB, free: 3.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.05046, allocations: 37.7 kB / 392.5 MB, free: 3.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008317/0.05129, allocations: 1.82 MB / 394.4 MB, free: 1.652 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.05152, allocations: 369.3 kB / 394.7 MB, free: 1.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005262/0.05205, allocations: 0.6217 MB / 395.3 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.05218, allocations: 0.5081 MB / 395.8 MB, free: 140 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.05266, allocations: 281.4 kB / 396.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.05416, allocations: 2.735 MB / 398.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/0.05639, allocations: 3.301 MB / 402.2 MB, free: 7.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-05/0.05641, allocations: 16 kB / 402.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=368) (initialization): time 0.002694/0.0591, allocations: 2.304 MB / 404.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.05914, allocations: 38.91 kB / 404.5 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.076e-05/0.05918, allocations: 56 kB / 404.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.605e-05/0.05923, allocations: 80.12 kB / 404.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.06024, allocations: 0.6206 MB / 405.3 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.46e-05/0.0603, allocations: 115.6 kB / 405.4 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/0.06126, allocations: 401.1 kB / 405.8 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.06141, allocations: 168 kB / 405.9 MB, free: 3.793 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 3 (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 (342): * Single equations (assignments): 338 * Array equations: 4 * 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.0003932/0.0618, allocations: 371.1 kB / 406.3 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.06193, allocations: 155.1 kB / 406.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006422/0.06257, allocations: 0.5047 MB / 407 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.216e-05/0.06263, allocations: 23.97 kB / 407 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.06263, allocations: 0 / 407 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.06264, allocations: 4 kB / 407 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.06581, allocations: 2.592 MB / 409.6 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.06582, allocations: 4 kB / 409.6 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.113/0.1788, allocations: 108.9 kB / 409.7 MB, free: 64.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.1788, allocations: 4.359 kB / 409.7 MB, free: 64.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.45e-05/0.1789, allocations: 20.47 kB / 409.7 MB, free: 64.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.179, allocations: 7.375 kB / 409.7 MB, free: 64.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.179, allocations: 4.078 kB / 409.7 MB, free: 64.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.18, allocations: 0.8881 MB / 410.6 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.1802, allocations: 137.4 kB / 410.7 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.1803, allocations: 15.91 kB / 410.8 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.1806, allocations: 31.42 kB / 410.8 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.1806, allocations: 48.3 kB / 410.8 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.1807, allocations: 28.58 kB / 410.9 MB, free: 64.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006748/0.1814, allocations: 0.6783 MB / 411.5 MB, free: 64.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1814, allocations: 0.5469 kB / 411.5 MB, free: 64.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001441/0.1828, allocations: 0.6749 MB / 412.2 MB, free: 64.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (60): * Single equations (assignments): 56 * Array equations: 4 * 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.0002074/0.183, allocations: 145 kB / 412.4 MB, free: 64.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.1844, allocations: 1.176 MB / 413.5 MB, free: 64.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1844, allocations: 0 / 413.5 MB, free: 64.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.1846, allocations: 217.8 kB / 413.7 MB, free: 64.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.1852, allocations: 206.8 kB / 413.9 MB, free: 64.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.1896, allocations: 4.115 MB / 418.1 MB, free: 62.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.1902, allocations: 0.7203 MB / 418.8 MB, free: 62.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001206/0.1914, allocations: 0.739 MB / 419.5 MB, free: 62.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.1916, allocations: 110.6 kB / 419.6 MB, free: 62.04 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1916, allocations: 0 / 419.6 MB, free: 62.04 MB / 330.7 MB Notification: Performance of Templates: time 0.01783/0.2095, allocations: 13.82 MB / 433.4 MB, free: 54.39 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.FreeBody.sim & ./PlanarMechanics_PlanarMechanics.Examples.FreeBody -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0950141199864447]