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.001109/0.001109, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001425/0.001425, allocations: 181 kB / 23.36 MB, free: 1.129 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.005/1.005, allocations: 177.2 MB / 203.8 MB, free: 5.504 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.04151/0.04151, allocations: 7.196 MB / 267.5 MB, free: 5.969 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.563e-06/1.563e-06, allocations: 0 / 286.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.281e-05, allocations: 5.969 kB / 286.1 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.1194/0.1194, allocations: 5.712 MB / 291.8 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.1225, allocations: 2.122 MB / 293.9 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.1229, allocations: 23.97 kB / 293.9 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.1234, allocations: 288.1 kB / 294.2 MB, free: 17.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.1252, allocations: 1.176 MB / 295.4 MB, free: 17.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.624e-05/0.1253, allocations: 38.5 kB / 295.4 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.1269, allocations: 1.939 MB / 297.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.1271, allocations: 61.56 kB / 297.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.1283, allocations: 1.007 MB / 298.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.1297, allocations: 1.005 MB / 299.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002941/0.13, allocations: 179.9 kB / 299.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.131, allocations: 0.7292 MB / 300.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006442/0.1317, allocations: 1.004 MB / 301.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005453/0.1322, allocations: 0.6041 MB / 302 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.1344, allocations: 2.65 MB / 304.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1344, allocations: 0 / 304.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1344, allocations: 0.5938 kB / 304.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.261e-05/0.1345, allocations: 3.938 kB / 304.6 MB, free: 12.78 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: 910 * Number of variables: 910 Notification: Performance of Generate backend data structure: time 0.002783/0.1372, allocations: 2.4 MB / 307 MB, free: 10.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1373, allocations: 9.562 kB / 307 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.1407, allocations: 0.9008 MB / 307.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.1417, allocations: 0.8038 MB / 308.7 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.1417, allocations: 102.8 kB / 308.8 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.142, allocations: 140.2 kB / 309 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.1448, allocations: 2.53 MB / 311.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.1448, allocations: 12.72 kB / 311.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.145, allocations: 64.27 kB / 311.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/0.1465, allocations: 1.435 MB / 313 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/0.1493, allocations: 1.426 MB / 314.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.1617, allocations: 12.66 MB / 327.1 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.163, allocations: 0.5372 MB / 327.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.1632, allocations: 135.4 kB / 327.8 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001933/0.1651, allocations: 1.212 MB / 329 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1652, allocations: 39.06 kB / 329 MB, free: 4.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=85): time 2.435e-06/0.1652, allocations: 0 / 329 MB, free: 4.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=85): time 0.001479/0.1667, allocations: 0.5894 MB / 329.6 MB, free: 3.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.1667, allocations: 56.02 kB / 329.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.1678, allocations: 1.206 MB / 330.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.1679, allocations: 37.7 kB / 330.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008579/0.1687, allocations: 1.694 MB / 332.6 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.1689, allocations: 353.2 kB / 332.9 MB, free: 464 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006017/0.1696, allocations: 0.5405 MB / 333.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1697, allocations: 341.8 kB / 333.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.1702, allocations: 293.5 kB / 334.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.1715, allocations: 1.871 MB / 336 MB, free: 12.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/0.1738, allocations: 2.536 MB / 338.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.788e-05/0.1738, allocations: 16 kB / 338.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=368) (initialization): time 0.002511/0.1763, allocations: 1.872 MB / 340.4 MB, free: 7.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.1763, allocations: 32 kB / 340.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.736e-05/0.1764, allocations: 64.12 kB / 340.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.916e-05/0.1765, allocations: 76 kB / 340.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.1779, allocations: 0.6355 MB / 341.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.826e-05/0.178, allocations: 115.6 kB / 341.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.1793, allocations: 373.2 kB / 341.7 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.1795, allocations: 148 kB / 341.8 MB, free: 5.836 MB / 298.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.0005786/0.18, allocations: 335.1 kB / 342.1 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.1802, allocations: 83.91 kB / 342.2 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/0.1808, allocations: 409.2 kB / 342.6 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/0.1809, allocations: 12 kB / 342.6 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1809, allocations: 0 / 342.6 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1809, allocations: 3.984 kB / 342.6 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.1837, allocations: 1.827 MB / 344.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.1837, allocations: 8.031 kB / 344.5 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.1841, allocations: 111.8 kB / 344.6 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1841, allocations: 7.938 kB / 344.6 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.1841, allocations: 16 kB / 344.6 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1841, allocations: 4 kB / 344.6 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.1841, allocations: 11.92 kB / 344.6 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008539/0.185, allocations: 0.6702 MB / 345.3 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.1851, allocations: 138.9 kB / 345.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.1852, allocations: 19.94 kB / 345.4 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.1855, allocations: 21.2 kB / 345.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.1856, allocations: 35.62 kB / 345.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.1857, allocations: 27.98 kB / 345.5 MB, free: 1.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005254/0.1862, allocations: 464.2 kB / 346 MB, free: 1.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1862, allocations: 0 / 346 MB, free: 1.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001772/0.188, allocations: 0.6734 MB / 346.7 MB, free: 0.8438 MB / 298.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.0002209/0.1882, allocations: 124.1 kB / 346.8 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.1895, allocations: 1.038 MB / 347.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000109/0.1896, allocations: 45.56 kB / 347.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.1899, allocations: 169.8 kB / 348 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.1906, allocations: 203.1 kB / 348.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.1956, allocations: 4.155 MB / 352.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.1962, allocations: 0.7144 MB / 353.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004912/0.1967, allocations: 219.6 kB / 353.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.1971, allocations: 269.2 kB / 353.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1971, allocations: 0 / 353.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of Templates: time 0.02061/0.2177, allocations: 14.25 MB / 367.8 MB, free: 11.82 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.942867722827941]