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.001043/0.001043, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.002232, allocations: 435.8 kB / 10.33 MB, free: 368 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.001019/0.001019, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.002144, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9722/0.9722, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1236/1.096, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.02924/0.02924, allocations: 7.177 MB / 251.1 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00568/0.03492, allocations: 2.553 MB / 253.7 MB, free: 5.312 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.913e-06/1.913e-06, allocations: 0 / 255 MB, free: 4.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.075e-05, allocations: 2.312 kB / 255 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.005407/0.005428, allocations: 6.694 MB / 261.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.009344, allocations: 2.463 MB / 264.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005912/0.009935, allocations: 31.88 kB / 264.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.01044, allocations: 326 kB / 264.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.01223, allocations: 1.209 MB / 265.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.0124, allocations: 79.77 kB / 265.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.01423, allocations: 2.101 MB / 267.8 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.01446, allocations: 87.41 kB / 267.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.01588, allocations: 1.144 MB / 269.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.01714, allocations: 1.052 MB / 270.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003938/0.01754, allocations: 192 kB / 270.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.01859, allocations: 0.7372 MB / 271.1 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006543/0.01924, allocations: 0.9622 MB / 272 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.01979, allocations: 0.549 MB / 272.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1471/0.1669, allocations: 2.667 MB / 275.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-05/0.1669, allocations: 0 / 275.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1669, allocations: 0 / 275.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001481/0.1671, allocations: 0 / 275.2 MB, free: 5.16 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.006006/0.1731, allocations: 3.456 MB / 278.7 MB, free: 3.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1731, allocations: 10.7 kB / 278.7 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/0.1761, allocations: 0.9265 MB / 279.6 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.1778, allocations: 0.8509 MB / 280.5 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.446e-05/0.1779, allocations: 117 kB / 280.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.1782, allocations: 145.9 kB / 280.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005254/0.1834, allocations: 2.882 MB / 283.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-05/0.1835, allocations: 18.59 kB / 283.6 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.1837, allocations: 78.12 kB / 283.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001844/0.1856, allocations: 1.544 MB / 285.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004889/0.1904, allocations: 1.651 MB / 286.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.2075, allocations: 15.03 MB / 301.9 MB, free: 8.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.2091, allocations: 0.7608 MB / 302.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.2093, allocations: 150.9 kB / 302.8 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002466/0.2117, allocations: 1.568 MB / 304.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2117, allocations: 43.22 kB / 304.4 MB, free: 7.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=98): time 3.116e-06/0.2118, allocations: 6.188 kB / 304.5 MB, free: 7.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=98): time 0.00147/0.2132, allocations: 0.8103 MB / 305.3 MB, free: 6.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.2133, allocations: 56.06 kB / 305.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.2144, allocations: 1.367 MB / 306.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.2144, allocations: 34.23 kB / 306.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000867/0.2153, allocations: 1.873 MB / 308.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.2155, allocations: 389.4 kB / 309 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004936/0.216, allocations: 0.6226 MB / 309.6 MB, free: 2.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.2161, allocations: 340.5 kB / 309.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.2165, allocations: 326.8 kB / 310.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.2181, allocations: 2.16 MB / 312.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.2206, allocations: 2.895 MB / 315.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-05/0.2207, allocations: 24 kB / 315.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.002745/0.2234, allocations: 2.117 MB / 317.4 MB, free: 9.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.2235, allocations: 38.58 kB / 317.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.239e-05/0.2235, allocations: 64 kB / 317.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.565e-05/0.2236, allocations: 92 kB / 317.6 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.225, allocations: 0.7923 MB / 318.4 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.03e-05/0.2251, allocations: 143.4 kB / 318.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.2264, allocations: 428.6 kB / 319 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.2266, allocations: 169.3 kB / 319.1 MB, free: 7.516 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.0008476/0.2275, allocations: 365.6 kB / 319.5 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.2276, allocations: 103.9 kB / 319.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005935/0.2282, allocations: 456.2 kB / 320.1 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.061e-05/0.2283, allocations: 20 kB / 320.1 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.2283, allocations: 4 kB / 320.1 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.2283, allocations: 7.922 kB / 320.1 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.2311, allocations: 1.958 MB / 322 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2311, allocations: 448 / 322 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.2315, allocations: 157 kB / 322.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.2317, allocations: 154.7 kB / 322.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.2317, allocations: 4 kB / 322.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.2318, allocations: 19.98 kB / 322.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.066e-06/0.2318, allocations: 11.94 kB / 322.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2318, allocations: 4 kB / 322.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.2326, allocations: 0.7943 MB / 323.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2327, allocations: 19.98 kB / 323.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.2329, allocations: 16 kB / 323.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.233, allocations: 58.45 kB / 323.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.233, allocations: 20 kB / 323.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000462/0.2335, allocations: 0.5317 MB / 323.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2335, allocations: 0 / 323.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001908/0.2354, allocations: 0.7304 MB / 324.6 MB, free: 2.207 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.0005528/0.2359, allocations: 156.6 kB / 324.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.2374, allocations: 1.192 MB / 325.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.968e-05/0.2375, allocations: 48.69 kB / 325.9 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.2377, allocations: 203.8 kB / 326.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.2384, allocations: 363.1 kB / 326.5 MB, free: 320 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007678/0.2461, allocations: 4.624 MB / 331.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.2468, allocations: 0.7654 MB / 331.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001169/0.2479, allocations: 241.9 kB / 332.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/0.2483, allocations: 293.3 kB / 332.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of SimCode: time 2.094e-06/0.2483, allocations: 4 kB / 332.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of Templates: time 0.02711/0.2754, allocations: 16.38 MB / 348.8 MB, free: 10.21 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: 3.0545098073780537]