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.001286/0.001286, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001839/0.003124, allocations: 435.8 kB / 10.33 MB, free: 368 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.001357/0.001357, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.003064, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1102/1.116, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.05591/0.05591, allocations: 7.18 MB / 251.1 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005026/0.06094, allocations: 2.549 MB / 253.7 MB, free: 5.316 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.152e-06/1.152e-06, allocations: 0 / 254.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.258e-05, allocations: 2.312 kB / 255 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.004561/0.004574, allocations: 5.741 MB / 260.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.007687, allocations: 2.14 MB / 262.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.008038, allocations: 23.94 kB / 262.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000444/0.008482, allocations: 294.2 kB / 263.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.00993, allocations: 1.175 MB / 264.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.377e-05/0.01, allocations: 39.83 kB / 264.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.01157, allocations: 1.945 MB / 266.3 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.01171, allocations: 63.05 kB / 266.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007755/0.01248, allocations: 1.042 MB / 267.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00089/0.01337, allocations: 1.001 MB / 268.4 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.01356, allocations: 180 kB / 268.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007539/0.01431, allocations: 0.7332 MB / 269.3 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005056/0.01482, allocations: 0.9 MB / 270.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.01522, allocations: 0.5061 MB / 270.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.01751, allocations: 2.471 MB / 273.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.01752, allocations: 3.938 kB / 273.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01753, allocations: 0 / 273.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.968e-05/0.01757, allocations: 4 kB / 273.2 MB, free: 1.707 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.1527/0.1703, allocations: 2.883 MB / 276.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1704, allocations: 11.2 kB / 276.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/0.1733, allocations: 0.8947 MB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.1747, allocations: 0.8057 MB / 277.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.1748, allocations: 104.3 kB / 277.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.175, allocations: 132.9 kB / 278 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.1787, allocations: 2.535 MB / 280.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.1788, allocations: 12.56 kB / 280.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.1789, allocations: 59.98 kB / 280.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001762/0.1807, allocations: 1.451 MB / 282.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/0.1846, allocations: 1.433 MB / 283.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/0.1965, allocations: 12.64 MB / 296.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1976, allocations: 0.5253 MB / 296.7 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.1978, allocations: 128.3 kB / 296.8 MB, free: 2.996 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/0.1995, allocations: 1.203 MB / 298 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1995, allocations: 47.73 kB / 298.1 MB, free: 1.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=85): time 2.565e-06/0.1995, allocations: 0 / 298.1 MB, free: 1.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.001246/0.2008, allocations: 0.5821 MB / 298.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2008, allocations: 63.91 kB / 298.7 MB, free: 1.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/0.2016, allocations: 1.203 MB / 299.9 MB, free: 80 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.2017, allocations: 29.7 kB / 299.9 MB, free: 44 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008939/0.2026, allocations: 1.695 MB / 301.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.2028, allocations: 357 kB / 302 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005795/0.2034, allocations: 0.5444 MB / 302.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2035, allocations: 337.8 kB / 302.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.204, allocations: 286.8 kB / 303.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.2053, allocations: 1.878 MB / 305 MB, free: 10.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.2076, allocations: 2.55 MB / 307.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-05/0.2076, allocations: 18.52 kB / 307.6 MB, free: 6.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=368) (initialization): time 0.002575/0.2102, allocations: 1.866 MB / 309.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.2102, allocations: 28 kB / 309.5 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.664e-05/0.2103, allocations: 60 kB / 309.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.549e-05/0.2103, allocations: 76 kB / 309.6 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.2118, allocations: 0.6824 MB / 310.3 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.257e-05/0.2119, allocations: 120 kB / 310.4 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.2132, allocations: 373.2 kB / 310.8 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.2133, allocations: 152 kB / 310.9 MB, free: 3.391 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.000592/0.2139, allocations: 323.2 kB / 311.2 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.2141, allocations: 91.89 kB / 311.3 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/0.2147, allocations: 399.8 kB / 311.7 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.642e-05/0.2147, allocations: 12 kB / 311.7 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2147, allocations: 3.984 kB / 311.7 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2148, allocations: 3.703 kB / 311.7 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.2176, allocations: 1.831 MB / 313.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2176, allocations: 0 / 313.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.218, allocations: 115.8 kB / 313.7 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.2181, allocations: 138.8 kB / 313.8 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.2181, allocations: 9.875 kB / 313.8 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/0.2182, allocations: 24.11 kB / 313.8 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.2182, allocations: 4 kB / 313.8 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2182, allocations: 4 kB / 313.9 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.219, allocations: 0.6815 MB / 314.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.2191, allocations: 15.94 kB / 314.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.2194, allocations: 19.98 kB / 314.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.2195, allocations: 40.38 kB / 314.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.2195, allocations: 31.97 kB / 314.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000503/0.22, allocations: 468.2 kB / 315.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.22, allocations: 0 / 315.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001766/0.2218, allocations: 0.6649 MB / 315.8 MB, free: 14.41 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.0002826/0.2221, allocations: 124.1 kB / 315.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.2235, allocations: 1.03 MB / 316.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001135/0.2236, allocations: 60.59 kB / 317 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.2238, allocations: 163.2 kB / 317.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.2246, allocations: 312.7 kB / 317.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007221/0.2318, allocations: 4.206 MB / 321.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007916/0.2326, allocations: 0.7203 MB / 322.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007026/0.2333, allocations: 215.7 kB / 322.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/0.2338, allocations: 269.3 kB / 322.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2338, allocations: 4 kB / 322.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of Templates: time 0.02376/0.2575, allocations: 14.55 MB / 337.4 MB, free: 8.898 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: 3.2455334616824985]