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.0007095/0.0007095, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009787/0.001688, 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.0007394/0.0007394, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002192, 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.9266/0.9266, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08348/1.01, allocations: 53.66 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.03441/0.03441, allocations: 7.17 MB / 251.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004566/0.03898, allocations: 2.569 MB / 253.9 MB, free: 5.191 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.512e-06/1.512e-06, allocations: 0 / 255.2 MB, free: 3.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.962e-05, allocations: 2.312 kB / 255.2 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.01186/0.01188, allocations: 7.952 MB / 263.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.02585, allocations: 2.606 MB / 265.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007874/0.02664, allocations: 31.94 kB / 265.7 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006956/0.02733, allocations: 401.5 kB / 266.1 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005739/0.03307, allocations: 1.404 MB / 267.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.03342, allocations: 111.6 kB / 267.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00572/0.03914, allocations: 2.514 MB / 270.2 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004262/0.0434, allocations: 0.7376 MB / 270.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.0451, allocations: 1.386 MB / 272.3 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.04968, allocations: 1.223 MB / 273.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003256/0.05001, allocations: 224 kB / 273.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009941/0.051, allocations: 0.819 MB / 274.6 MB, free: 432 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1198/0.1708, allocations: 1.131 MB / 275.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.1719, allocations: 0.6694 MB / 276.4 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002848/0.1747, allocations: 3.06 MB / 279.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.557e-06/0.1747, allocations: 2.688 kB / 279.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1747, allocations: 0 / 279.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.884e-05/0.1748, allocations: 1.062 kB / 279.4 MB, free: 4.688 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.01082/0.1857, allocations: 3.705 MB / 283.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1857, allocations: 10.77 kB / 283.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/0.1897, allocations: 1.017 MB / 284.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.1912, allocations: 0.9551 MB / 285.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/0.1913, allocations: 148.6 kB / 285.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.1915, allocations: 184 kB / 285.4 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/0.1955, allocations: 3.402 MB / 288.8 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/0.1956, allocations: 26.09 kB / 288.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.1958, allocations: 90.56 kB / 288.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001427/0.1972, allocations: 1.687 MB / 290.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/0.2004, allocations: 1.921 MB / 292.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.2153, allocations: 17.56 MB / 310.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.2172, allocations: 0.9343 MB / 311 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.2174, allocations: 207.9 kB / 311.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002335/0.2197, allocations: 1.935 MB / 313.2 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.2198, allocations: 39.56 kB / 313.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 2.835e-06/0.2198, allocations: 0.75 kB / 313.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.004382/0.2242, allocations: 2.341 MB / 315.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.2242, allocations: 69.47 kB / 315.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.2256, allocations: 1.59 MB / 317.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.2256, allocations: 41.7 kB / 317.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009142/0.2265, allocations: 2.164 MB / 319.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.2268, allocations: 493.5 kB / 319.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005893/0.2274, allocations: 0.7248 MB / 320.6 MB, free: 9.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.2275, allocations: 344.1 kB / 321 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.2279, allocations: 387 kB / 321.3 MB, free: 8.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.2293, allocations: 2.46 MB / 323.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.2321, allocations: 3.585 MB / 327.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/0.2321, allocations: 20 kB / 327.4 MB, free: 500 kB / 298.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.00251/0.2346, allocations: 2.445 MB / 329.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.2347, allocations: 37.41 kB / 329.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.412e-05/0.2347, allocations: 91.98 kB / 330 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-05/0.2348, allocations: 107.9 kB / 330.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.2364, allocations: 0.9476 MB / 331 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.263e-05/0.2365, allocations: 151.4 kB / 331.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.2376, allocations: 144 kB / 331.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/0.2378, allocations: 199.9 kB / 331.5 MB, free: 12.36 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.0009479/0.2387, allocations: 420.2 kB / 331.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.2389, allocations: 119.9 kB / 332 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006664/0.2396, allocations: 0.568 MB / 332.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.319e-05/0.2396, allocations: 15.98 kB / 332.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2396, allocations: 0 / 332.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.2396, allocations: 7.984 kB / 332.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.2429, allocations: 2.433 MB / 335.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.2429, allocations: 12 kB / 335.1 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/0.2434, allocations: 207.7 kB / 335.3 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.2435, allocations: 169.9 kB / 335.5 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.2436, allocations: 8 kB / 335.5 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.2436, allocations: 28.42 kB / 335.5 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.2436, allocations: 16 kB / 335.5 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/0.2436, allocations: 11.94 kB / 335.5 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/0.2446, allocations: 1.065 MB / 336.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.2447, allocations: 27.98 kB / 336.6 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.245, allocations: 35.98 kB / 336.6 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.2451, allocations: 77.58 kB / 336.7 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.2451, allocations: 43.03 kB / 336.8 MB, free: 7.102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007638/0.2459, allocations: 0.6106 MB / 337.4 MB, free: 6.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2459, allocations: 0 / 337.4 MB, free: 6.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001632/0.2475, allocations: 0.6112 MB / 338 MB, free: 5.961 MB / 314.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.0002395/0.2477, allocations: 142.6 kB / 338.1 MB, free: 5.816 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.2492, allocations: 1.489 MB / 339.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001076/0.2493, allocations: 64.02 kB / 339.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.25, allocations: 0.6358 MB / 340.3 MB, free: 3.691 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.2513, allocations: 1.913 MB / 342.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009072/0.2604, allocations: 5.433 MB / 347.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008138/0.2612, allocations: 0.8878 MB / 348.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008559/0.2621, allocations: 278.4 kB / 348.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.2625, allocations: 341.2 kB / 349.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2625, allocations: 0 / 349.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of Templates: time 0.03096/0.2935, allocations: 16.48 MB / 365.6 MB, free: 10.14 MB / 346.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.033234474249184]