Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CounterSpin.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.001326/0.001326, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0009367/0.0009367, allocations: 173 kB / 23.36 MB, free: 1.129 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.9004/0.9004, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.02907/0.02907, allocations: 7.189 MB / 267.4 MB, free: 5.949 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.CounterSpin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CounterSpin") translateModel(PlanarMechanics.Examples.CounterSpin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CounterSpin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.468e-06/4.468e-06, allocations: 4 kB / 286 MB, free: 3.363 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/2.125e-05, allocations: 2.312 kB / 286 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.1215/0.1215, allocations: 6.609 MB / 292.6 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.1253, allocations: 2.445 MB / 295.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000468/0.1258, allocations: 31.25 kB / 295.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.1263, allocations: 312.3 kB / 295.4 MB, free: 17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.1283, allocations: 1.226 MB / 296.6 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1285, allocations: 88.77 kB / 296.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.1306, allocations: 2.091 MB / 298.8 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.1308, allocations: 84.34 kB / 298.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.1321, allocations: 1.106 MB / 300 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009756/0.1331, allocations: 1.057 MB / 301.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.1333, allocations: 190.2 kB / 301.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007739/0.134, allocations: 0.7268 MB / 302 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005354/0.1346, allocations: 1.06 MB / 303 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005351/0.1351, allocations: 0.655 MB / 303.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.137, allocations: 2.867 MB / 306.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.137, allocations: 0 / 306.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.137, allocations: 1.062 kB / 306.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.137, allocations: 0 / 306.6 MB, free: 11.39 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: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.002667/0.1397, allocations: 2.922 MB / 309.5 MB, free: 8.586 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.1397, allocations: 12.61 kB / 309.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.1419, allocations: 0.9236 MB / 310.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007503/0.1427, allocations: 0.848 MB / 311.3 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.1427, allocations: 118.3 kB / 311.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.1429, allocations: 152.2 kB / 311.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.1453, allocations: 2.88 MB / 314.4 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.1453, allocations: 16.06 kB / 314.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.1455, allocations: 76.25 kB / 314.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001155/0.1466, allocations: 1.531 MB / 316 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.149, allocations: 1.639 MB / 317.7 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.1609, allocations: 15.06 MB / 332.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.1625, allocations: 0.7772 MB / 333.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.1627, allocations: 157.6 kB / 333.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001795/0.1645, allocations: 1.579 MB / 335.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1645, allocations: 39.22 kB / 335.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 2.154e-06/0.1645, allocations: 0 / 335.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=98): time 0.001443/0.166, allocations: 0.8242 MB / 336.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.166, allocations: 60.06 kB / 336.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.1671, allocations: 1.367 MB / 337.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.1672, allocations: 37.7 kB / 337.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009016/0.1681, allocations: 1.868 MB / 339.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.1684, allocations: 392.9 kB / 339.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005435/0.1689, allocations: 0.6238 MB / 340.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.169, allocations: 341.8 kB / 340.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.1695, allocations: 326.9 kB / 341.1 MB, free: 8.117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.1707, allocations: 2.152 MB / 343.3 MB, free: 5.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.1728, allocations: 2.895 MB / 346.1 MB, free: 1.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.4e-05/0.1728, allocations: 20 kB / 346.2 MB, free: 1.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.002267/0.1751, allocations: 2.121 MB / 348.3 MB, free: 15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.1751, allocations: 36 kB / 348.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.421e-05/0.1752, allocations: 68 kB / 348.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.454e-05/0.1752, allocations: 88 kB / 348.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.1764, allocations: 0.7096 MB / 349.2 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.51e-05/0.1765, allocations: 127.5 kB / 349.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.1776, allocations: 424.8 kB / 349.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.1777, allocations: 180 kB / 349.9 MB, free: 13.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 306 * 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 (395): * Single equations (assignments): 391 * 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.0006912/0.1784, allocations: 362.9 kB / 350.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.1786, allocations: 102.9 kB / 350.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/0.1791, allocations: 465.4 kB / 350.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/0.1792, allocations: 16 kB / 350.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1792, allocations: 0 / 350.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1792, allocations: 3.984 kB / 350.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.1816, allocations: 1.971 MB / 352.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1816, allocations: 4 kB / 352.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.182, allocations: 131.8 kB / 352.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.182, allocations: 11.98 kB / 352.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.182, allocations: 16 kB / 353 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.182, allocations: 8 kB / 353 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.182, allocations: 8.375 kB / 353 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.1828, allocations: 0.7882 MB / 353.8 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.1829, allocations: 154.7 kB / 353.9 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.886e-05/0.183, allocations: 19.98 kB / 353.9 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.1832, allocations: 27.92 kB / 354 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.1833, allocations: 52.3 kB / 354 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.1833, allocations: 27.98 kB / 354 MB, free: 9.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004298/0.1838, allocations: 0.5255 MB / 354.6 MB, free: 8.523 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1838, allocations: 0 / 354.6 MB, free: 8.523 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001771/0.1855, allocations: 0.7358 MB / 355.3 MB, free: 7.785 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (body.v[1],body.w,slipBasedRolling.frame_a.x,slipBasedRolling.phi) * 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 (74): * Single equations (assignments): 70 * 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.0003557/0.1859, allocations: 140.9 kB / 355.4 MB, free: 7.637 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.1875, allocations: 1.197 MB / 356.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001058/0.1876, allocations: 52.62 kB / 356.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.1879, allocations: 206.1 kB / 356.9 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007396/0.1886, allocations: 230.7 kB / 357.1 MB, free: 5.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006467/0.1951, allocations: 4.531 MB / 361.6 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.1957, allocations: 0.7649 MB / 362.4 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006544/0.1964, allocations: 248.5 kB / 362.7 MB, free: 316 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/0.1968, allocations: 293.3 kB / 362.9 MB, free: 24 kB / 314.7 MB Notification: Performance of SimCode: time 1.764e-06/0.1968, allocations: 4 kB / 362.9 MB, free: 20 kB / 314.7 MB Notification: Performance of Templates: time 0.02495/0.2217, allocations: 15.94 MB / 378.9 MB, free: 360 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CounterSpin.sim & ./PlanarMechanics_PlanarMechanics.Examples.CounterSpin -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9639478898607194]