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.001817/0.001817, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.002292/0.002292, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.238/1.238, allocations: 177.2 MB / 203.7 MB, free: 5.488 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.0313/0.0313, allocations: 7.192 MB / 267.4 MB, free: 5.887 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 3.347e-06/3.347e-06, allocations: 0 / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.085e-05/4.419e-05, allocations: 2.312 kB / 339.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.009633/0.009677, allocations: 5.664 MB / 345 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00618/0.01586, allocations: 2.052 MB / 347 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.01763, allocations: 23.94 kB / 347 MB, free: 3.211 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.01888, allocations: 278.3 kB / 347.3 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004621/0.0235, allocations: 1.186 MB / 348.5 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.02384, allocations: 35.89 kB / 348.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004055/0.0279, allocations: 1.941 MB / 350.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000463/0.02836, allocations: 59.05 kB / 350.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.03121, allocations: 1.001 MB / 351.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.03386, allocations: 1.052 MB / 352.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009309/0.03479, allocations: 180 kB / 352.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.03699, allocations: 0.7253 MB / 353.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.03858, allocations: 0.9932 MB / 354.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.04059, allocations: 0.6034 MB / 355.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007081/0.04767, allocations: 2.654 MB / 357.7 MB, free: 8.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.04769, allocations: 0 / 357.7 MB, free: 8.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.04769, allocations: 0 / 357.7 MB, free: 8.473 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002099/0.0479, allocations: 3.938 kB / 357.7 MB, free: 8.469 MB / 330.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.009376/0.05728, allocations: 2.808 MB / 360.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/0.05734, allocations: 12.61 kB / 360.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.06267, allocations: 1.107 MB / 361.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/0.06608, allocations: 0.9486 MB / 362.6 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.06624, allocations: 98.86 kB / 362.7 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007807/0.06702, allocations: 136.2 kB / 362.8 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009957/0.07697, allocations: 2.706 MB / 365.6 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-05/0.07706, allocations: 12.08 kB / 365.6 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.07734, allocations: 68.25 kB / 365.6 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002479/0.07982, allocations: 1.437 MB / 367.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00593/0.08575, allocations: 1.4 MB / 368.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/0.1138, allocations: 17.2 MB / 385.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.1158, allocations: 0.4962 MB / 386.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.1161, allocations: 146.2 kB / 386.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00269/0.1188, allocations: 1.337 MB / 387.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.1189, allocations: 41.89 kB / 387.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 3.236e-06/0.1189, allocations: 0 / 387.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.001829/0.1207, allocations: 0.6913 MB / 388.4 MB, free: 8.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.1207, allocations: 63.89 kB / 388.4 MB, free: 8.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.123, allocations: 1.483 MB / 389.9 MB, free: 7.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.1231, allocations: 33.7 kB / 390 MB, free: 7.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.1245, allocations: 1.844 MB / 391.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.1248, allocations: 369.2 kB / 392.2 MB, free: 5.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007796/0.1256, allocations: 0.6332 MB / 392.8 MB, free: 4.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003679/0.126, allocations: 0.5042 MB / 393.3 MB, free: 3.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.1265, allocations: 229.3 kB / 393.5 MB, free: 3.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.1285, allocations: 2.684 MB / 396.2 MB, free: 15.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/0.1321, allocations: 3.235 MB / 399.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.499e-05/0.1322, allocations: 16 kB / 399.5 MB, free: 11.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=368) (initialization): time 0.004437/0.1367, allocations: 2.147 MB / 401.6 MB, free: 9.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.1367, allocations: 28 kB / 401.6 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-05/0.1368, allocations: 60 kB / 401.7 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.1369, allocations: 80.03 kB / 401.8 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.1386, allocations: 0.6082 MB / 402.4 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001049/0.1387, allocations: 119.5 kB / 402.5 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.1408, allocations: 377.2 kB / 402.9 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/0.1411, allocations: 148 kB / 403 MB, free: 7.973 MB / 378.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[1],body.sphereColor[2],body.sphereColor[3]) * 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.001337/0.1424, allocations: 371.1 kB / 403.4 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.1428, allocations: 151.1 kB / 403.5 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009402/0.1437, allocations: 496.7 kB / 404 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.392e-05/0.1438, allocations: 19.98 kB / 404 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1438, allocations: 0 / 404 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.1438, allocations: 4 kB / 404 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004202/0.148, allocations: 1.944 MB / 406 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.148, allocations: 4.281 kB / 406 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.1483, allocations: 111.8 kB / 406.1 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.1483, allocations: 11.94 kB / 406.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.1484, allocations: 16 kB / 406.1 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.1484, allocations: 4 kB / 406.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1484, allocations: 128 / 406.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.1494, allocations: 0.8255 MB / 406.9 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.1497, allocations: 146.8 kB / 407.1 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/0.1498, allocations: 20 kB / 407.1 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.15, allocations: 15.98 kB / 407.1 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.1501, allocations: 48.36 kB / 407.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.1501, allocations: 20 kB / 407.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006695/0.1508, allocations: 0.6294 MB / 407.8 MB, free: 3.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1508, allocations: 0 / 407.8 MB, free: 3.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00249/0.1533, allocations: 0.6772 MB / 408.5 MB, free: 2.332 MB / 378.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.000352/0.1536, allocations: 139 kB / 408.6 MB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.1555, allocations: 1.106 MB / 409.7 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1555, allocations: 0 / 409.7 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.1558, allocations: 205.5 kB / 409.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.1565, allocations: 200.3 kB / 410.1 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/0.1637, allocations: 4.103 MB / 414.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008363/0.1646, allocations: 0.7222 MB / 414.9 MB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008274/0.1654, allocations: 213.4 kB / 415.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.1658, allocations: 302.1 kB / 415.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of SimCode: time 5.17e-06/0.1658, allocations: 0 / 415.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of Templates: time 0.03072/0.1965, allocations: 14.24 MB / 429.7 MB, free: 13.18 MB / 410.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.94941672263667]