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.000689/0.000689, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009395/0.001628, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000693/0.000693, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008979/0.001591, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8658/0.8658, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07789/0.9437, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.04321/0.04321, allocations: 7.18 MB / 251.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004281/0.04749, allocations: 2.561 MB / 253.9 MB, free: 5.199 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.222e-06/1.222e-06, allocations: 0 / 255.2 MB, free: 3.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.566e-05, allocations: 2.312 kB / 255.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.004716/0.004732, allocations: 5.745 MB / 260.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.007614, allocations: 2.136 MB / 263 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004071/0.008021, allocations: 23.94 kB / 263.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.008448, allocations: 306.2 kB / 263.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.0102, allocations: 1.163 MB / 264.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.235e-05/0.01029, allocations: 39.88 kB / 264.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.01149, allocations: 1.942 MB / 266.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.01162, allocations: 75.03 kB / 266.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007142/0.01233, allocations: 1.042 MB / 267.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007725/0.01311, allocations: 0.9974 MB / 268.6 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.01327, allocations: 180 kB / 268.8 MB, free: 6.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007902/0.01406, allocations: 0.7293 MB / 269.5 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004913/0.01455, allocations: 0.9 MB / 270.4 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.01517, allocations: 0.51 MB / 270.9 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.0168, allocations: 2.475 MB / 273.4 MB, free: 1.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.0168, allocations: 0 / 273.4 MB, free: 1.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0168, allocations: 4 kB / 273.4 MB, free: 1.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.556e-05/0.01683, allocations: 0 / 273.4 MB, free: 1.566 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.1376/0.1544, allocations: 2.879 MB / 276.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1545, allocations: 12.14 kB / 276.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.158, allocations: 0.8956 MB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.1593, allocations: 0.8038 MB / 278 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.1593, allocations: 104.8 kB / 278.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.1596, allocations: 128.3 kB / 278.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/0.1629, allocations: 2.533 MB / 280.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.1629, allocations: 12.47 kB / 280.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.1631, allocations: 71.69 kB / 280.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001683/0.1648, allocations: 1.357 MB / 282.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003354/0.1682, allocations: 1.436 MB / 283.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008268/0.1764, allocations: 12.64 MB / 296.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008063/0.1772, allocations: 0.5297 MB / 296.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1774, allocations: 125.7 kB / 296.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.1786, allocations: 1.209 MB / 298.1 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1786, allocations: 38.8 kB / 298.2 MB, free: 1.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=85): time 2.054e-06/0.1786, allocations: 4 kB / 298.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.0009038/0.1795, allocations: 0.5831 MB / 298.8 MB, free: 1.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.1795, allocations: 55.91 kB / 298.8 MB, free: 1.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.1801, allocations: 1.203 MB / 300 MB, free: 44 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.1801, allocations: 37.7 kB / 300.1 MB, free: 0 / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006504/0.1808, allocations: 1.696 MB / 301.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.181, allocations: 349.2 kB / 302.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/0.1814, allocations: 0.5444 MB / 302.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.1815, allocations: 341.8 kB / 303 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/0.1821, allocations: 290.7 kB / 303.3 MB, free: 12.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009325/0.183, allocations: 1.874 MB / 305.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.1848, allocations: 2.742 MB / 307.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/0.1849, allocations: 20 kB / 307.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=368) (initialization): time 0.002021/0.1869, allocations: 1.865 MB / 309.8 MB, free: 4.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.1869, allocations: 40.02 kB / 309.8 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.946e-05/0.187, allocations: 64 kB / 309.9 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.873e-05/0.187, allocations: 76 kB / 309.9 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.1881, allocations: 0.6746 MB / 310.6 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.879e-05/0.1881, allocations: 119.5 kB / 310.7 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/0.1889, allocations: 377.2 kB / 311.1 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.1891, allocations: 144 kB / 311.2 MB, free: 3.145 MB / 282.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.0004151/0.1895, allocations: 331.2 kB / 311.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.1896, allocations: 82.77 kB / 311.6 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.19, allocations: 415.8 kB / 312.1 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.789e-05/0.1901, allocations: 8 kB / 312.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.1901, allocations: 0.625 kB / 312.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1901, allocations: 3.984 kB / 312.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.1921, allocations: 1.832 MB / 313.9 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.1921, allocations: 8 kB / 313.9 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.1924, allocations: 120.5 kB / 314 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1925, allocations: 138.6 kB / 314.2 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1925, allocations: 4 kB / 314.2 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.1925, allocations: 15.98 kB / 314.2 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1925, allocations: 8 kB / 314.2 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1925, allocations: 128 / 314.2 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.1932, allocations: 0.6909 MB / 314.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.1932, allocations: 20 kB / 314.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1934, allocations: 12 kB / 314.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.1935, allocations: 48.36 kB / 315 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.1935, allocations: 23.98 kB / 315 MB, free: 15.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003559/0.1939, allocations: 468.1 kB / 315.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1939, allocations: 0 / 315.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00116/0.195, allocations: 0.6696 MB / 316.1 MB, free: 14.15 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.000197/0.1952, allocations: 132.1 kB / 316.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.1963, allocations: 1.08 MB / 317.3 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.685e-05/0.1964, allocations: 48.69 kB / 317.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004677/0.1969, allocations: 493 kB / 317.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.1978, allocations: 1.413 MB / 319.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.2028, allocations: 4.039 MB / 323.3 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/0.2036, allocations: 0.7105 MB / 324 MB, free: 6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004414/0.204, allocations: 211.4 kB / 324.2 MB, free: 5.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.2043, allocations: 257.3 kB / 324.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2043, allocations: 0 / 324.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of Templates: time 0.01952/0.2238, allocations: 12.15 MB / 336.6 MB, free: 9.523 MB / 314.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: 2.676066132262349]