Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.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.0008786/0.0008786, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009561/0.0009561, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9745/0.9745, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.02967/0.02967, allocations: 7.188 MB / 267.5 MB, free: 5.934 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.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 286 MB, free: 3.352 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.924e-05, allocations: 2.312 kB / 286 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.1238/0.1238, allocations: 7.839 MB / 293.9 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.1282, allocations: 2.605 MB / 296.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008239/0.129, allocations: 32.25 kB / 296.5 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007642/0.1298, allocations: 371.6 kB / 296.9 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.1324, allocations: 1.431 MB / 298.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1327, allocations: 115.6 kB / 298.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002491/0.1352, allocations: 2.508 MB / 300.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009658/0.1362, allocations: 0.7379 MB / 301.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.1379, allocations: 1.334 MB / 303 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.1394, allocations: 1.24 MB / 304.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004656/0.1399, allocations: 224.7 kB / 304.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.1411, allocations: 0.7947 MB / 305.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007873/0.1419, allocations: 1.267 MB / 306.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009044/0.1428, allocations: 0.7992 MB / 307.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.1457, allocations: 3.274 MB / 310.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1457, allocations: 0 / 310.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1457, allocations: 3.938 kB / 310.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001416/0.1458, allocations: 0 / 310.6 MB, free: 7.484 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: 1180 * Number of variables: 1180 Notification: Performance of Generate backend data structure: time 0.004101/0.1499, allocations: 3.075 MB / 313.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.15, allocations: 8.719 kB / 313.7 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/0.1525, allocations: 1.018 MB / 314.7 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.1537, allocations: 0.9603 MB / 315.7 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/0.1537, allocations: 139.9 kB / 315.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.1539, allocations: 192.2 kB / 316 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.1572, allocations: 3.403 MB / 319.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/0.1573, allocations: 27.94 kB / 319.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.1574, allocations: 88.23 kB / 319.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001633/0.1591, allocations: 1.782 MB / 321.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.1628, allocations: 1.909 MB / 323.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01431/0.1771, allocations: 17.53 MB / 340.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.1789, allocations: 0.9483 MB / 341.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.1792, allocations: 208.1 kB / 341.9 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002385/0.1816, allocations: 1.94 MB / 343.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1816, allocations: 43.5 kB / 343.9 MB, free: 5.246 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 3.516e-06/0.1816, allocations: 0 / 343.9 MB, free: 5.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.004292/0.1859, allocations: 2.241 MB / 346.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.186, allocations: 64.41 kB / 346.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.1872, allocations: 1.598 MB / 347.8 MB, free: 1.293 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.1872, allocations: 37.7 kB / 347.8 MB, free: 1.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008121/0.188, allocations: 2.165 MB / 350 MB, free: 15.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.1883, allocations: 496 kB / 350.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005776/0.1888, allocations: 0.7271 MB / 351.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.1889, allocations: 345.9 kB / 351.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006813/0.1896, allocations: 380.8 kB / 351.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.1909, allocations: 2.465 MB / 354.4 MB, free: 9.594 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.1933, allocations: 3.319 MB / 357.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/0.1934, allocations: 20 kB / 357.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.002414/0.1958, allocations: 2.452 MB / 360.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.1958, allocations: 36.91 kB / 360.2 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.032e-05/0.1959, allocations: 79.75 kB / 360.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.219e-05/0.1959, allocations: 103.9 kB / 360.4 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.1973, allocations: 0.8383 MB / 361.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.65e-05/0.1974, allocations: 151.4 kB / 361.3 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.1985, allocations: 148 kB / 361.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.1987, allocations: 204 kB / 361.7 MB, free: 1.145 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 21 (springDamper.colorConnector_a[1],springDamper.colorConnector_a[2],springDamper.colorConnector_a[3],springDamper.colorConnector_b[1],springDamper.colorConnector_b[2],springDamper.colorConnector_b[3],springDamper.color[1],springDamper.color[2],springDamper.color[3],springDamper.color_a[1],springDamper.color_a[2],springDamper.color_a[3],springDamper.color_b[1],springDamper.color_b[2],springDamper.color_b[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (467): * Single equations (assignments): 462 * Array equations: 5 * 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.0008112/0.1995, allocations: 409.3 kB / 362.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.1997, allocations: 131 kB / 362.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.2004, allocations: 0.5572 MB / 362.8 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.562e-05/0.2004, allocations: 27.97 kB / 362.8 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.2004, allocations: 4 kB / 362.8 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.2004, allocations: 3.984 kB / 362.8 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.2041, allocations: 2.438 MB / 365.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2041, allocations: 4 kB / 365.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.2046, allocations: 187.7 kB / 365.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.2046, allocations: 8 kB / 365.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.2046, allocations: 24 kB / 365.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.2046, allocations: 23.86 kB / 365.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.2046, allocations: 8 kB / 365.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000972/0.2056, allocations: 1.065 MB / 366.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.2058, allocations: 158.8 kB / 366.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.2059, allocations: 31.97 kB / 366.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.2062, allocations: 31.98 kB / 366.8 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.2063, allocations: 84.3 kB / 366.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.2063, allocations: 35.98 kB / 366.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005131/0.2068, allocations: 0.6193 MB / 367.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2068, allocations: 0 / 367.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001602/0.2085, allocations: 0.6054 MB / 368.1 MB, free: 10.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (97): * Single equations (assignments): 92 * Array equations: 5 * 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.0002337/0.2087, allocations: 136 kB / 368.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.2102, allocations: 1.417 MB / 369.7 MB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-05/0.2103, allocations: 56.81 kB / 369.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.2106, allocations: 267 kB / 370 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.2113, allocations: 278.9 kB / 370.3 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/0.2179, allocations: 5.51 MB / 375.8 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/0.2186, allocations: 0.881 MB / 376.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000785/0.2194, allocations: 295 kB / 376.9 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/0.22, allocations: 361.2 kB / 377.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.22, allocations: 0 / 377.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of Templates: time 0.03519/0.2551, allocations: 18.9 MB / 396.2 MB, free: 14.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0461976882070303]