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.0009332/0.0009332, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009487/0.0009487, allocations: 169 kB / 23.02 MB, free: 1.547 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.989/0.989, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.0354/0.0354, allocations: 7.178 MB / 267.1 MB, free: 6.059 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.603e-06/1.603e-06, allocations: 0 / 338.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.525e-05, allocations: 2.312 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.004866/0.004892, allocations: 6.729 MB / 345.6 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.007991, allocations: 2.39 MB / 348 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.008551, allocations: 31.88 kB / 348 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.009102, allocations: 302 kB / 348.3 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.01106, allocations: 1.221 MB / 349.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.01127, allocations: 79.77 kB / 349.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.01314, allocations: 2.091 MB / 351.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.01336, allocations: 79.42 kB / 351.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.01448, allocations: 1.103 MB / 352.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.01548, allocations: 1.107 MB / 354 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.01571, allocations: 192 kB / 354.2 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000901/0.01661, allocations: 0.7254 MB / 354.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005984/0.01721, allocations: 1.063 MB / 356 MB, free: 9.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.01774, allocations: 0.6539 MB / 356.6 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.0202, allocations: 2.864 MB / 359.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.0202, allocations: 0 / 359.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0202, allocations: 3.938 kB / 359.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.681e-05/0.02024, allocations: 0 / 359.5 MB, free: 5.52 MB / 282.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.00482/0.02506, allocations: 3.883 MB / 363.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.0251, allocations: 8.625 kB / 363.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.0288, allocations: 2.09 MB / 365.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.03025, allocations: 1.068 MB / 366.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.787e-05/0.03032, allocations: 111.1 kB / 366.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.03054, allocations: 152.2 kB / 366.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004317/0.03486, allocations: 3.416 MB / 370.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.0349, allocations: 20 kB / 370.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.03506, allocations: 72.27 kB / 370.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001595/0.03665, allocations: 1.734 MB / 372 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004517/0.04117, allocations: 2.025 MB / 374 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.019/0.06017, allocations: 21.41 MB / 395.5 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.06212, allocations: 0.7892 MB / 396.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.06245, allocations: 225.4 kB / 396.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002237/0.06469, allocations: 1.852 MB / 398.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.06472, allocations: 50.03 kB / 398.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 3.657e-06/0.06473, allocations: 0 / 398.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=98): time 0.00191/0.06664, allocations: 1.016 MB / 399.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.06667, allocations: 64 kB / 399.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.06816, allocations: 1.687 MB / 401.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.0682, allocations: 41.69 kB / 401.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008669/0.06907, allocations: 2.007 MB / 403.2 MB, free: 8.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.0693, allocations: 420.9 kB / 403.6 MB, free: 8.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000585/0.06989, allocations: 0.7016 MB / 404.3 MB, free: 7.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.07003, allocations: 0.5082 MB / 404.8 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.07057, allocations: 326.2 kB / 405.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.07239, allocations: 3.13 MB / 408.2 MB, free: 2.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1409/0.2133, allocations: 3.78 MB / 412 MB, free: 66.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.312e-05/0.2134, allocations: 19.98 kB / 412 MB, free: 66.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.006142/0.2196, allocations: 2.63 MB / 414.7 MB, free: 65.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/0.2196, allocations: 34.59 kB / 414.7 MB, free: 65.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001435/0.2198, allocations: 67.38 kB / 414.8 MB, free: 65.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.2199, allocations: 89.25 kB / 414.9 MB, free: 65.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.222, allocations: 0.7213 MB / 415.6 MB, free: 65.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001289/0.2221, allocations: 136.9 kB / 415.7 MB, free: 65.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.2244, allocations: 442.8 kB / 416.2 MB, free: 65.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003415/0.2247, allocations: 194.9 kB / 416.3 MB, free: 65.58 MB / 330.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[3],body.sphereColor[2],body.sphereColor[1]) * 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.001072/0.2258, allocations: 415.5 kB / 416.7 MB, free: 65.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/0.2261, allocations: 181.2 kB / 416.9 MB, free: 65.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.2274, allocations: 0.5824 MB / 417.5 MB, free: 65.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.66e-05/0.2275, allocations: 21.58 kB / 417.5 MB, free: 65.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.2275, allocations: 1.25 kB / 417.5 MB, free: 65.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.2275, allocations: 6.609 kB / 417.5 MB, free: 65.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/0.2332, allocations: 2.874 MB / 420.4 MB, free: 64.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.2332, allocations: 3.969 kB / 420.4 MB, free: 64.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.2338, allocations: 144.4 kB / 420.6 MB, free: 64.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.2338, allocations: 3.938 kB / 420.6 MB, free: 64.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.2338, allocations: 19.97 kB / 420.6 MB, free: 64.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.2338, allocations: 8.453 kB / 420.6 MB, free: 64.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2339, allocations: 7.938 kB / 420.6 MB, free: 64.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.2354, allocations: 1.033 MB / 421.6 MB, free: 64.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.2357, allocations: 163 kB / 421.8 MB, free: 64.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.2358, allocations: 25.94 kB / 421.8 MB, free: 64.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.2362, allocations: 39.08 kB / 421.9 MB, free: 64.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.2362, allocations: 55.75 kB / 421.9 MB, free: 64.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.2363, allocations: 41.36 kB / 421.9 MB, free: 64.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008319/0.2371, allocations: 0.7448 MB / 422.7 MB, free: 63.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2371, allocations: 3.938 kB / 422.7 MB, free: 63.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001931/0.2391, allocations: 0.7344 MB / 423.4 MB, free: 63.85 MB / 330.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.0002858/0.2393, allocations: 165.4 kB / 423.6 MB, free: 63.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.2412, allocations: 1.349 MB / 424.9 MB, free: 63.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2412, allocations: 64 / 424.9 MB, free: 63.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.2414, allocations: 262.5 kB / 425.2 MB, free: 63.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.2421, allocations: 234 kB / 425.4 MB, free: 63.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.2473, allocations: 4.473 MB / 429.9 MB, free: 59.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.2479, allocations: 0.7654 MB / 430.7 MB, free: 59.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00109/0.249, allocations: 0.8215 MB / 431.5 MB, free: 58.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.2492, allocations: 120.5 kB / 431.6 MB, free: 58.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2492, allocations: 0 / 431.6 MB, free: 58.54 MB / 330.7 MB Notification: Performance of Templates: time 0.01971/0.2689, allocations: 14.73 MB / 446.3 MB, free: 45.06 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.3416258827783167]