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.002607/0.002607, allocations: 85.48 kB / 19.44 MB, free: 344 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.003183/0.003183, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.633/1.633, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.1019/0.1019, allocations: 7.174 MB / 266.7 MB, free: 6.082 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.593e-06/1.593e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.623e-05, allocations: 2.312 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.005083/0.005109, allocations: 5.728 MB / 343.9 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.008571, allocations: 2.057 MB / 345.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005374/0.009109, allocations: 23.94 kB / 345.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.009676, allocations: 282.2 kB / 346.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.01185, allocations: 1.194 MB / 347.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.01198, allocations: 35.88 kB / 347.4 MB, free: 1.203 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.01392, allocations: 1.93 MB / 349.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.01413, allocations: 55.06 kB / 349.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.01555, allocations: 1.005 MB / 350.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.01722, allocations: 1.044 MB / 351.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.01752, allocations: 180 kB / 351.6 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.01888, allocations: 0.7292 MB / 352.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.01994, allocations: 0.9894 MB / 353.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009213/0.02087, allocations: 0.6072 MB / 354 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005743/0.02661, allocations: 4.085 MB / 358.1 MB, free: 6.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.02661, allocations: 4 kB / 358.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.02662, allocations: 0 / 358.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.386e-05/0.02669, allocations: 0 / 358.1 MB, free: 6.539 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.007052/0.03374, allocations: 3.219 MB / 361.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.03379, allocations: 8.625 kB / 361.3 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00793/0.04172, allocations: 2.051 MB / 363.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/0.04478, allocations: 0.9994 MB / 364.3 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.04491, allocations: 98.86 kB / 364.4 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/0.04535, allocations: 136.3 kB / 364.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007563/0.05291, allocations: 3.448 MB / 368 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.316e-05/0.05297, allocations: 12.06 kB / 368 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/0.05319, allocations: 72.25 kB / 368.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003288/0.05648, allocations: 1.624 MB / 369.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007699/0.06418, allocations: 2.178 MB / 371.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04227/0.1064, allocations: 29.58 MB / 401.5 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.1087, allocations: 0.6339 MB / 402.1 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/0.1093, allocations: 222.2 kB / 402.3 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003976/0.1132, allocations: 1.541 MB / 403.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.1133, allocations: 38 kB / 403.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 2.845e-06/0.1133, allocations: 7.938 kB / 403.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.002999/0.1163, allocations: 0.828 MB / 404.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.1163, allocations: 55.91 kB / 404.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003379/0.1197, allocations: 2.089 MB / 406.9 MB, free: 3.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/0.1198, allocations: 33.7 kB / 406.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.1216, allocations: 1.949 MB / 408.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/0.1221, allocations: 393.3 kB / 409.3 MB, free: 1.164 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.1233, allocations: 0.7779 MB / 410 MB, free: 380 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.1175/0.2408, allocations: 0.5281 MB / 410.6 MB, free: 73.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.2423, allocations: 368.1 kB / 410.9 MB, free: 73.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.2443, allocations: 2.942 MB / 413.9 MB, free: 70.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/0.2475, allocations: 3.568 MB / 417.4 MB, free: 66.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.279e-05/0.2476, allocations: 16.84 kB / 417.4 MB, free: 66.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=368) (initialization): time 0.005307/0.2529, allocations: 2.472 MB / 419.9 MB, free: 66.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.2529, allocations: 30.84 kB / 419.9 MB, free: 66.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-05/0.253, allocations: 58.75 kB / 420 MB, free: 66.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.2531, allocations: 77.97 kB / 420.1 MB, free: 66.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/0.2551, allocations: 0.6212 MB / 420.7 MB, free: 66.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.625e-05/0.2552, allocations: 114.6 kB / 420.8 MB, free: 66.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.257, allocations: 398.4 kB / 421.2 MB, free: 66.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/0.2572, allocations: 172.2 kB / 421.4 MB, free: 66.12 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.001143/0.2584, allocations: 457.2 kB / 421.8 MB, free: 65.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.2586, allocations: 150.1 kB / 422 MB, free: 65.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.2599, allocations: 0.5636 MB / 422.5 MB, free: 65.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.493e-05/0.26, allocations: 19.55 kB / 422.5 MB, free: 65.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.26, allocations: 3.938 kB / 422.5 MB, free: 65.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.26, allocations: 6.672 kB / 422.6 MB, free: 65.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006055/0.2661, allocations: 3.471 MB / 426 MB, free: 65.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.2661, allocations: 3.844 kB / 426 MB, free: 65.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.2666, allocations: 118.2 kB / 426.1 MB, free: 65.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.2666, allocations: 3.812 kB / 426.2 MB, free: 65.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.2666, allocations: 19.09 kB / 426.2 MB, free: 65.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.2666, allocations: 4.094 kB / 426.2 MB, free: 65.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2666, allocations: 7.969 kB / 426.2 MB, free: 65.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.2682, allocations: 1.004 MB / 427.2 MB, free: 64.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.2685, allocations: 143.8 kB / 427.3 MB, free: 64.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.2687, allocations: 15.55 kB / 427.3 MB, free: 64.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.2692, allocations: 40.69 kB / 427.4 MB, free: 64.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.2693, allocations: 46.64 kB / 427.4 MB, free: 64.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.2693, allocations: 27.52 kB / 427.5 MB, free: 64.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.2704, allocations: 0.8671 MB / 428.3 MB, free: 63.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2704, allocations: 4 kB / 428.3 MB, free: 63.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002372/0.2728, allocations: 0.6727 MB / 429 MB, free: 63.8 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.0002738/0.2731, allocations: 139.2 kB / 429.1 MB, free: 63.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.2755, allocations: 1.434 MB / 430.6 MB, free: 63.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2755, allocations: 0 / 430.6 MB, free: 63.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.2759, allocations: 270.6 kB / 430.8 MB, free: 62.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/0.2769, allocations: 215.6 kB / 431 MB, free: 62.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/0.2827, allocations: 4.196 MB / 435.2 MB, free: 58.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.2841, allocations: 1.439 MB / 436.7 MB, free: 57.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001513/0.2856, allocations: 0.7389 MB / 437.4 MB, free: 57.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.2858, allocations: 108.5 kB / 437.5 MB, free: 57.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.694e-06/0.2858, allocations: 0 / 437.5 MB, free: 57.16 MB / 330.7 MB Notification: Performance of Templates: time 0.02144/0.3073, allocations: 13.18 MB / 450.7 MB, free: 44.23 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: 5.327486907946877]