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.0009145/0.0009145, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00123/0.00123, allocations: 173 kB / 23.49 MB, free: 1.055 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.9854/0.9854, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.02964/0.02964, allocations: 7.186 MB / 267.5 MB, free: 6.148 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 1.443e-06/1.443e-06, allocations: 0 / 338.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.044e-05, allocations: 8.562 kB / 338.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.003987/0.004008, allocations: 5.756 MB / 344.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.006355, allocations: 2.063 MB / 346.7 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.006651, allocations: 23.94 kB / 346.7 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.007102, allocations: 278.3 kB / 347 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.008518, allocations: 1.179 MB / 348.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.102e-05/0.008589, allocations: 35.89 kB / 348.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.009757, allocations: 1.93 MB / 350.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.009902, allocations: 59.05 kB / 350.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007906/0.01069, allocations: 1.005 MB / 351.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008387/0.01153, allocations: 1.048 MB / 352.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.01168, allocations: 184 kB / 352.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.01236, allocations: 0.7254 MB / 353.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000577/0.01293, allocations: 0.9933 MB / 354.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.01341, allocations: 0.6111 MB / 354.7 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.01538, allocations: 2.642 MB / 357.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01538, allocations: 0 / 357.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01538, allocations: 0 / 357.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.0154, allocations: 0 / 357.4 MB, free: 7.969 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.003163/0.01856, allocations: 2.836 MB / 360.2 MB, free: 5.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.0186, allocations: 12.61 kB / 360.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/0.02245, allocations: 2.047 MB / 362.3 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009889/0.02344, allocations: 0.9916 MB / 363.3 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.0235, allocations: 106.8 kB / 363.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.02369, allocations: 136.2 kB / 363.5 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.02698, allocations: 2.984 MB / 366.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.02701, allocations: 16.05 kB / 366.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.02717, allocations: 64.27 kB / 366.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001766/0.02894, allocations: 1.628 MB / 368.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.0322, allocations: 1.774 MB / 370 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.04528, allocations: 17.94 MB / 387.9 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.04657, allocations: 0.5426 MB / 388.5 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.04693, allocations: 177.2 kB / 388.6 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002484/0.04941, allocations: 1.44 MB / 390.1 MB, free: 6.383 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.04944, allocations: 41.89 kB / 390.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 2.625e-06/0.04944, allocations: 0 / 390.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.001864/0.05131, allocations: 0.746 MB / 390.9 MB, free: 5.578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.05134, allocations: 60.02 kB / 390.9 MB, free: 5.508 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.05304, allocations: 1.511 MB / 392.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.05308, allocations: 33.7 kB / 392.5 MB, free: 3.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009978/0.05408, allocations: 1.824 MB / 394.3 MB, free: 2.105 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.05435, allocations: 369.3 kB / 394.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007097/0.05506, allocations: 0.6178 MB / 395.3 MB, free: 1.109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.0552, allocations: 0.5081 MB / 395.8 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000872/0.05607, allocations: 281.4 kB / 396.1 MB, free: 324 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.05796, allocations: 2.731 MB / 398.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.06084, allocations: 3.292 MB / 402.1 MB, free: 8.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.617e-05/0.06087, allocations: 16 kB / 402.1 MB, free: 8.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=368) (initialization): time 0.003343/0.06421, allocations: 2.311 MB / 404.4 MB, free: 5.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.06425, allocations: 32.94 kB / 404.4 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-05/0.0643, allocations: 56 kB / 404.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.132e-05/0.06437, allocations: 80 kB / 404.6 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.0658, allocations: 0.6199 MB / 405.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.381e-05/0.06589, allocations: 119.5 kB / 405.3 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.06715, allocations: 389.1 kB / 405.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.06735, allocations: 176 kB / 405.9 MB, free: 4.254 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.0005024/0.06785, allocations: 367.1 kB / 406.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.06803, allocations: 155.1 kB / 406.4 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008679/0.0689, allocations: 0.5086 MB / 406.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-05/0.06897, allocations: 19.98 kB / 406.9 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.06897, allocations: 4.125 kB / 406.9 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.06898, allocations: 7.984 kB / 406.9 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004159/0.07314, allocations: 2.588 MB / 409.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.07315, allocations: 4 kB / 409.5 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.07354, allocations: 116.1 kB / 409.6 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.07354, allocations: 8 kB / 409.6 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.07359, allocations: 19.98 kB / 409.6 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.07359, allocations: 4 kB / 409.6 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.0736, allocations: 4 kB / 409.6 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1143/0.1879, allocations: 0.884 MB / 410.5 MB, free: 73.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.1881, allocations: 136 kB / 410.7 MB, free: 73.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.1882, allocations: 15.69 kB / 410.7 MB, free: 73.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.1885, allocations: 32.2 kB / 410.7 MB, free: 73.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.1886, allocations: 48.8 kB / 410.8 MB, free: 73.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.1886, allocations: 32.28 kB / 410.8 MB, free: 73.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007304/0.1893, allocations: 0.6771 MB / 411.5 MB, free: 73.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1893, allocations: 4.516 kB / 411.5 MB, free: 73.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001602/0.1909, allocations: 0.6659 MB / 412.1 MB, free: 73.44 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.000216/0.1911, allocations: 145.4 kB / 412.3 MB, free: 73.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.1927, allocations: 1.176 MB / 413.5 MB, free: 73.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1927, allocations: 1.375 kB / 413.5 MB, free: 73.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.1929, allocations: 219.8 kB / 413.7 MB, free: 73.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.1935, allocations: 201.2 kB / 413.9 MB, free: 73.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.1981, allocations: 4.118 MB / 418 MB, free: 71.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.1986, allocations: 0.7238 MB / 418.7 MB, free: 71.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008949/0.1995, allocations: 0.7377 MB / 419.4 MB, free: 71.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.1997, allocations: 112.2 kB / 419.6 MB, free: 71.18 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1997, allocations: 0 / 419.6 MB, free: 71.18 MB / 330.7 MB Notification: Performance of Templates: time 0.0161/0.2158, allocations: 13.18 MB / 432.7 MB, free: 61.59 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.2221839029807597]