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.0009245/0.0009245, allocations: 80.94 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.00102/0.00102, allocations: 177 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.9819/0.9819, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.03034/0.03034, allocations: 7.186 MB / 267.4 MB, free: 5.953 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 1.513e-06/1.513e-06, allocations: 0 / 286.1 MB, free: 3.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.017e-05, allocations: 2.312 kB / 286.1 MB, free: 3.316 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.1222/0.1222, allocations: 6.662 MB / 292.7 MB, free: 18.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.1259, allocations: 2.446 MB / 295.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005866/0.1265, allocations: 26.88 kB / 295.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.1271, allocations: 316.9 kB / 295.5 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.1291, allocations: 1.216 MB / 296.7 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.1293, allocations: 81.52 kB / 296.8 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.1313, allocations: 2.09 MB / 298.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.1316, allocations: 84.39 kB / 299 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.1331, allocations: 1.107 MB / 300.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.1344, allocations: 1.056 MB / 301.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003607/0.1348, allocations: 189.6 kB / 301.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1359, allocations: 0.7479 MB / 302.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005951/0.1365, allocations: 1.065 MB / 303.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007656/0.1372, allocations: 0.6557 MB / 303.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.1397, allocations: 2.863 MB / 306.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1397, allocations: 2.219 kB / 306.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1397, allocations: 0 / 306.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.837e-05/0.1398, allocations: 0 / 306.7 MB, free: 11.32 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.003563/0.1434, allocations: 2.925 MB / 309.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1434, allocations: 8.625 kB / 309.6 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.146, allocations: 0.925 MB / 310.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/0.147, allocations: 0.8485 MB / 311.4 MB, free: 6.641 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.147, allocations: 117.8 kB / 311.5 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.1472, allocations: 152.2 kB / 311.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.1498, allocations: 2.88 MB / 314.5 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.1499, allocations: 16.06 kB / 314.5 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.15, allocations: 76.25 kB / 314.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00117/0.1512, allocations: 1.543 MB / 316.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.154, allocations: 1.631 MB / 317.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.1668, allocations: 15.06 MB / 332.8 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.1686, allocations: 0.7782 MB / 333.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.1688, allocations: 151.7 kB / 333.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001948/0.1707, allocations: 1.574 MB / 335.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1707, allocations: 39.22 kB / 335.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 3.636e-06/0.1707, allocations: 0 / 335.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=98): time 0.001584/0.1723, allocations: 0.8204 MB / 336.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1724, allocations: 71.98 kB / 336.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.1734, allocations: 1.363 MB / 337.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.1734, allocations: 41.69 kB / 337.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007758/0.1742, allocations: 1.861 MB / 339.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004552/0.1747, allocations: 400.9 kB / 339.9 MB, free: 9.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005028/0.1752, allocations: 0.616 MB / 340.5 MB, free: 8.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.1753, allocations: 345.8 kB / 340.9 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.1757, allocations: 331.7 kB / 341.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.1769, allocations: 2.148 MB / 343.3 MB, free: 4.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.1793, allocations: 2.892 MB / 346.2 MB, free: 1.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.749e-05/0.1793, allocations: 20 kB / 346.3 MB, free: 1.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.002536/0.1818, allocations: 2.125 MB / 348.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.1819, allocations: 32 kB / 348.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.523e-05/0.1819, allocations: 68 kB / 348.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.147e-05/0.182, allocations: 88 kB / 348.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.1834, allocations: 0.7447 MB / 349.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.151e-05/0.1835, allocations: 135.4 kB / 349.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.1847, allocations: 420.9 kB / 349.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.1849, allocations: 179.8 kB / 350 MB, free: 13.21 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.0008076/0.1857, allocations: 372.3 kB / 350.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.1858, allocations: 95.91 kB / 350.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.1864, allocations: 462.3 kB / 350.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.585e-05/0.1865, allocations: 16.56 kB / 351 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1865, allocations: 0 / 351 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.1865, allocations: 7.922 kB / 351 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.1893, allocations: 1.968 MB / 352.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1893, allocations: 4 kB / 352.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.1897, allocations: 150 kB / 353.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.1897, allocations: 10.67 kB / 353.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.1898, allocations: 23.98 kB / 353.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.1898, allocations: 8 kB / 353.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1898, allocations: 7.938 kB / 353.1 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/0.1906, allocations: 0.7804 MB / 353.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.1907, allocations: 154.7 kB / 354.1 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.1908, allocations: 23.98 kB / 354.1 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.191, allocations: 19.98 kB / 354.1 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.1911, allocations: 60.28 kB / 354.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.1912, allocations: 31.98 kB / 354.2 MB, free: 8.859 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004402/0.1916, allocations: 0.5177 MB / 354.7 MB, free: 8.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1916, allocations: 0 / 354.7 MB, free: 8.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00157/0.1932, allocations: 0.7319 MB / 355.4 MB, free: 7.605 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.0002509/0.1934, allocations: 149.9 kB / 355.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.1946, allocations: 1.195 MB / 356.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.812e-05/0.1947, allocations: 48.69 kB / 356.8 MB, free: 6.215 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.195, allocations: 197.9 kB / 357 MB, free: 6.012 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.1956, allocations: 240.6 kB / 357.3 MB, free: 5.797 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.2011, allocations: 4.528 MB / 361.8 MB, free: 1.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.2018, allocations: 0.7611 MB / 362.6 MB, free: 384 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006117/0.2024, allocations: 244.6 kB / 362.8 MB, free: 140 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.2028, allocations: 305.2 kB / 363.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2028, allocations: 0 / 363.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of Templates: time 0.0249/0.2277, allocations: 16.03 MB / 379.1 MB, free: 92 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.923272975720465]