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.001378/0.001378, allocations: 92.7 kB / 19.44 MB, free: 324 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.001745/0.001745, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.462/1.462, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.07152/0.07152, allocations: 7.173 MB / 266.7 MB, free: 6.102 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.383e-06/1.383e-06, allocations: 0 / 338.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.902e-05, allocations: 10.25 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.004698/0.004717, allocations: 5.283 MB / 343.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.007785, allocations: 1.999 MB / 345.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.008133, allocations: 23.94 kB / 345.4 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.008678, allocations: 274.3 kB / 345.7 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.01047, allocations: 1.19 MB / 346.9 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.01057, allocations: 39.89 kB / 346.9 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.01188, allocations: 1.934 MB / 348.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.01205, allocations: 59 kB / 348.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.01328, allocations: 1.005 MB / 349.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.01474, allocations: 1.044 MB / 351 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002581/0.015, allocations: 184 kB / 351.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.01617, allocations: 0.7215 MB / 351.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.01748, allocations: 0.9893 MB / 352.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007631/0.01824, allocations: 0.6111 MB / 353.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004986/0.02323, allocations: 4.081 MB / 357.6 MB, free: 7.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.02323, allocations: 0 / 357.6 MB, free: 7.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.02324, allocations: 0 / 357.6 MB, free: 7.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.103e-05/0.02331, allocations: 0 / 357.6 MB, free: 7.07 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.005757/0.02906, allocations: 2.557 MB / 360.1 MB, free: 4.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.0291, allocations: 8.625 kB / 360.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007315/0.03642, allocations: 2.125 MB / 362.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.03862, allocations: 1.051 MB / 363.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.03873, allocations: 102.8 kB / 363.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/0.03906, allocations: 132.3 kB / 363.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/0.04987, allocations: 6.499 MB / 370 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-05/0.04993, allocations: 8.125 kB / 370 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/0.0502, allocations: 72.25 kB / 370.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003056/0.05326, allocations: 1.628 MB / 371.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/0.06538, allocations: 6.012 MB / 377.7 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/0.09495, allocations: 16.43 MB / 394.2 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.09796, allocations: 1.079 MB / 395.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009431/0.0989, allocations: 0.511 MB / 395.8 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003659/0.1026, allocations: 1.554 MB / 397.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.1026, allocations: 39.17 kB / 397.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 3.257e-06/0.1026, allocations: 3.938 kB / 397.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.003709/0.1063, allocations: 1.578 MB / 398.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1064, allocations: 59.91 kB / 399 MB, free: 12.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/0.1092, allocations: 1.709 MB / 400.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.1092, allocations: 33.7 kB / 400.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.111, allocations: 1.74 MB / 402.5 MB, free: 9.367 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003933/0.1114, allocations: 349.3 kB / 402.8 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009424/0.1124, allocations: 0.5759 MB / 403.4 MB, free: 8.438 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1126, allocations: 337.9 kB / 403.7 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.1144, allocations: 0.9267 MB / 404.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00352/0.1179, allocations: 2.582 MB / 407.2 MB, free: 3.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1429/0.2608, allocations: 3.756 MB / 411 MB, free: 74.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.341e-05/0.2608, allocations: 17.31 kB / 411 MB, free: 74.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=368) (initialization): time 0.006319/0.2671, allocations: 3.59 MB / 414.6 MB, free: 73.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.2672, allocations: 29.38 kB / 414.6 MB, free: 73.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.966e-05/0.2673, allocations: 57.75 kB / 414.7 MB, free: 73.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.2674, allocations: 79.14 kB / 414.8 MB, free: 73.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.2694, allocations: 0.6237 MB / 415.4 MB, free: 73.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001066/0.2695, allocations: 113.3 kB / 415.5 MB, free: 73.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.2715, allocations: 401.3 kB / 415.9 MB, free: 73.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/0.2718, allocations: 174.1 kB / 416.1 MB, free: 73.82 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.001731/0.2735, allocations: 1.319 MB / 417.4 MB, free: 73.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.2738, allocations: 150.2 kB / 417.5 MB, free: 73.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.2754, allocations: 1.069 MB / 418.6 MB, free: 72.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.697e-05/0.2755, allocations: 22.06 kB / 418.6 MB, free: 72.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2755, allocations: 11.94 kB / 418.6 MB, free: 72.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2756, allocations: 3.234 kB / 418.6 MB, free: 72.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.2799, allocations: 2.941 MB / 421.6 MB, free: 71.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.2799, allocations: 7.625 kB / 421.6 MB, free: 71.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.2804, allocations: 120.7 kB / 421.7 MB, free: 71.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.2804, allocations: 3.906 kB / 421.7 MB, free: 71.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.2804, allocations: 23.58 kB / 421.7 MB, free: 71.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2804, allocations: 7.906 kB / 421.7 MB, free: 71.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2804, allocations: 0 / 421.7 MB, free: 71.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.2825, allocations: 1.836 MB / 423.6 MB, free: 70.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.2827, allocations: 149.1 kB / 423.7 MB, free: 70.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.2828, allocations: 18.36 kB / 423.7 MB, free: 70.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.2833, allocations: 35.44 kB / 423.8 MB, free: 70.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.2834, allocations: 43.59 kB / 423.8 MB, free: 70.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.2834, allocations: 30.5 kB / 423.8 MB, free: 70.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001198/0.2846, allocations: 1.014 MB / 424.8 MB, free: 69.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2846, allocations: 0 / 424.8 MB, free: 69.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002155/0.2868, allocations: 0.6617 MB / 425.5 MB, free: 69.34 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.0002419/0.287, allocations: 146.7 kB / 425.6 MB, free: 69.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002676/0.2897, allocations: 1.969 MB / 427.6 MB, free: 67.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2897, allocations: 0.8125 kB / 427.6 MB, free: 67.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005298/0.2903, allocations: 471.3 kB / 428.1 MB, free: 67.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009711/0.2912, allocations: 207 kB / 428.3 MB, free: 66.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006737/0.298, allocations: 4.93 MB / 433.2 MB, free: 62.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.2998, allocations: 1.605 MB / 434.8 MB, free: 60.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001636/0.3015, allocations: 0.8542 MB / 435.7 MB, free: 59.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.3017, allocations: 108.5 kB / 435.8 MB, free: 59.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3017, allocations: 0 / 435.8 MB, free: 59.8 MB / 330.7 MB Notification: Performance of Templates: time 0.02249/0.3242, allocations: 13.26 MB / 449 MB, free: 46.8 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.898992383969016]