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.0006941/0.0006941, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009426/0.001637, 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.0006818/0.0006818, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009425/0.001624, 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.968/0.968, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08351/1.052, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.04618/0.04618, allocations: 7.177 MB / 251.3 MB, free: 7.777 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01845/0.06463, allocations: 2.554 MB / 253.9 MB, free: 5.215 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.683e-06/1.683e-06, allocations: 0 / 255.2 MB, free: 3.922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/2e-05, allocations: 2.312 kB / 255.2 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.01568/0.0157, allocations: 6.702 MB / 261.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007609/0.02331, allocations: 2.456 MB / 264.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009335/0.02425, allocations: 31.88 kB / 264.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006932/0.02494, allocations: 334 kB / 264.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.02748, allocations: 1.205 MB / 265.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.02774, allocations: 79.77 kB / 266 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.03031, allocations: 2.102 MB / 268.1 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.03061, allocations: 91.41 kB / 268.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.0325, allocations: 1.136 MB / 269.3 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.03421, allocations: 1.052 MB / 270.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004597/0.03467, allocations: 188 kB / 270.5 MB, free: 4.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.03618, allocations: 0.7488 MB / 271.3 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007507/0.03693, allocations: 0.9584 MB / 272.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000649/0.03758, allocations: 0.549 MB / 272.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.12/0.1576, allocations: 2.659 MB / 275.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.842e-05/0.1576, allocations: 3.812 kB / 275.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1576, allocations: 0 / 275.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001423/0.1578, allocations: 0.5625 kB / 275.4 MB, free: 5.117 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.005442/0.1632, allocations: 3.458 MB / 278.9 MB, free: 3.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1632, allocations: 11.72 kB / 278.9 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003779/0.167, allocations: 0.9235 MB / 279.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.1683, allocations: 0.8509 MB / 280.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.1684, allocations: 116.3 kB / 280.8 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/0.1687, allocations: 148.8 kB / 280.9 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/0.1727, allocations: 2.879 MB / 283.8 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.018e-05/0.1727, allocations: 21.97 kB / 283.8 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.1729, allocations: 70.72 kB / 283.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001778/0.1747, allocations: 1.457 MB / 285.4 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/0.1787, allocations: 1.646 MB / 287 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.1899, allocations: 15.03 MB / 302 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.1914, allocations: 0.7604 MB / 302.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.1916, allocations: 153.3 kB / 303 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/0.1933, allocations: 1.565 MB / 304.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1933, allocations: 43.8 kB / 304.6 MB, free: 7.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=98): time 2.796e-06/0.1933, allocations: 0.5 kB / 304.6 MB, free: 7.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=98): time 0.001436/0.1947, allocations: 0.8094 MB / 305.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1948, allocations: 60.62 kB / 305.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.1959, allocations: 1.366 MB / 306.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.1959, allocations: 33.7 kB / 306.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006896/0.1966, allocations: 1.87 MB / 308.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.1968, allocations: 400.3 kB / 309.1 MB, free: 3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/0.1973, allocations: 0.6174 MB / 309.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.1974, allocations: 343.8 kB / 310 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.1977, allocations: 327.5 kB / 310.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.1988, allocations: 2.159 MB / 312.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.2012, allocations: 3.132 MB / 315.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-05/0.2013, allocations: 20 kB / 315.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.002111/0.2034, allocations: 2.114 MB / 317.8 MB, free: 8.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.2034, allocations: 36 kB / 317.8 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.108e-05/0.2035, allocations: 72 kB / 317.9 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.538e-05/0.2035, allocations: 88 kB / 318 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.2048, allocations: 0.7916 MB / 318.8 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-05/0.2049, allocations: 139.4 kB / 318.9 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.206, allocations: 425.9 kB / 319.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.2062, allocations: 173.1 kB / 319.5 MB, free: 7.176 MB / 298.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.0005081/0.2067, allocations: 361.5 kB / 319.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/0.207, allocations: 99.89 kB / 319.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/0.2076, allocations: 468.6 kB / 320.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/0.2076, allocations: 8 kB / 320.4 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2076, allocations: 3.984 kB / 320.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2076, allocations: 3.938 kB / 320.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.21, allocations: 1.959 MB / 322.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.21, allocations: 13.33 kB / 322.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.2104, allocations: 151.8 kB / 322.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.2105, allocations: 154.2 kB / 322.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.2105, allocations: 17 kB / 322.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.2105, allocations: 19.98 kB / 322.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.2106, allocations: 8 kB / 322.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2106, allocations: 7.938 kB / 322.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007363/0.2113, allocations: 0.793 MB / 323.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/0.2114, allocations: 18.73 kB / 323.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.2116, allocations: 20 kB / 323.6 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.2117, allocations: 57.52 kB / 323.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.2117, allocations: 32.61 kB / 323.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000424/0.2121, allocations: 0.5188 MB / 324.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2121, allocations: 0 / 324.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001534/0.2137, allocations: 0.7355 MB / 324.9 MB, free: 1.859 MB / 298.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.0002536/0.2139, allocations: 148 kB / 325.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.2152, allocations: 1.256 MB / 326.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.971e-05/0.2153, allocations: 52.69 kB / 326.4 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.2155, allocations: 253 kB / 326.6 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.2169, allocations: 1.59 MB / 328.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00659/0.2235, allocations: 4.621 MB / 332.8 MB, free: 9.832 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/0.2241, allocations: 0.7654 MB / 333.6 MB, free: 9.039 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006126/0.2247, allocations: 239.5 kB / 333.8 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.2251, allocations: 289.3 kB / 334.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2251, allocations: 0 / 334.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of Templates: time 0.02323/0.2483, allocations: 13.8 MB / 347.9 MB, free: 10.88 MB / 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.8473166869953275]