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.0008509/0.0008509, allocations: 93.06 kB / 19.65 MB, free: 280 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.0008817/0.0008817, allocations: 173 kB / 23.03 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.9189/0.9189, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.02813/0.02813, allocations: 7.175 MB / 267.1 MB, free: 6.062 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.723e-06/1.723e-06, allocations: 0 / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.083e-05, allocations: 6.312 kB / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.006345/0.006366, allocations: 6.729 MB / 345.6 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004354/0.01072, allocations: 2.386 MB / 348 MB, free: 1.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006659/0.01139, allocations: 31.88 kB / 348 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.01197, allocations: 306 kB / 348.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.01412, allocations: 1.217 MB / 349.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.01435, allocations: 91.7 kB / 349.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001987/0.01634, allocations: 2.093 MB / 351.7 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.01656, allocations: 71.42 kB / 351.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.01784, allocations: 1.111 MB / 352.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.01925, allocations: 1.11 MB / 354 MB, free: 11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003601/0.01961, allocations: 192 kB / 354.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.02077, allocations: 0.7215 MB / 354.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008804/0.02165, allocations: 1.059 MB / 356 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005981/0.02225, allocations: 0.6539 MB / 356.6 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002808/0.02506, allocations: 2.868 MB / 359.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.02506, allocations: 0 / 359.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02506, allocations: 0 / 359.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.956e-05/0.02513, allocations: 4 kB / 359.5 MB, free: 5.492 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.004704/0.02983, allocations: 3.879 MB / 363.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.02987, allocations: 8.625 kB / 363.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/0.0335, allocations: 2.094 MB / 365.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.03457, allocations: 1.101 MB / 366.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.03463, allocations: 111.1 kB / 366.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.03482, allocations: 156.2 kB / 366.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005525/0.04035, allocations: 3.42 MB / 370.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.04039, allocations: 16.06 kB / 370.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/0.04062, allocations: 76.23 kB / 370.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001583/0.04221, allocations: 1.734 MB / 372.1 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003776/0.04598, allocations: 2.025 MB / 374.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01576/0.06174, allocations: 21.41 MB / 395.5 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.06359, allocations: 0.7964 MB / 396.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.06389, allocations: 214.7 kB / 396.5 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00235/0.06624, allocations: 1.855 MB / 398.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.06626, allocations: 46.03 kB / 398.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 2.204e-06/0.06627, allocations: 0 / 398.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=98): time 0.001787/0.06805, allocations: 1.02 MB / 399.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.06809, allocations: 64 kB / 399.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.06949, allocations: 1.69 MB / 401.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.06953, allocations: 37.7 kB / 401.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008248/0.07035, allocations: 1.999 MB / 403.2 MB, free: 8.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.07058, allocations: 420.9 kB / 403.6 MB, free: 8.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008293/0.07141, allocations: 0.7055 MB / 404.3 MB, free: 7.453 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.07154, allocations: 0.5043 MB / 404.8 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/0.07209, allocations: 322.2 kB / 405.2 MB, free: 6.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.07385, allocations: 3.134 MB / 408.3 MB, free: 2.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1438/0.2176, allocations: 3.782 MB / 412.1 MB, free: 65.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-05/0.2177, allocations: 19.53 kB / 412.1 MB, free: 65.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.003328/0.221, allocations: 2.624 MB / 414.7 MB, free: 65.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.221, allocations: 35.56 kB / 414.7 MB, free: 65.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.441e-05/0.2211, allocations: 70.03 kB / 414.8 MB, free: 65.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.347e-05/0.2212, allocations: 88.31 kB / 414.9 MB, free: 65.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.2224, allocations: 0.7167 MB / 415.6 MB, free: 65.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.624e-05/0.2225, allocations: 139.4 kB / 415.8 MB, free: 65.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.2236, allocations: 443.3 kB / 416.2 MB, free: 65.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.2239, allocations: 197.2 kB / 416.4 MB, free: 65.42 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.0007742/0.2246, allocations: 407.2 kB / 416.8 MB, free: 65.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.2248, allocations: 180.4 kB / 417 MB, free: 65.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000845/0.2257, allocations: 0.5911 MB / 417.5 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.986e-05/0.2257, allocations: 23.12 kB / 417.6 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.2257, allocations: 0 / 417.6 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/0.2257, allocations: 3.891 kB / 417.6 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.2292, allocations: 2.877 MB / 420.4 MB, free: 64.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2292, allocations: 3.281 kB / 420.5 MB, free: 64.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.2295, allocations: 144.9 kB / 420.6 MB, free: 64.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.2296, allocations: 7.531 kB / 420.6 MB, free: 64.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.2296, allocations: 22.23 kB / 420.6 MB, free: 64.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.2296, allocations: 15.92 kB / 420.6 MB, free: 64.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2296, allocations: 4.922 kB / 420.6 MB, free: 64.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009735/0.2306, allocations: 1.03 MB / 421.7 MB, free: 64.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.2307, allocations: 163.8 kB / 421.8 MB, free: 63.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/0.2308, allocations: 17.86 kB / 421.8 MB, free: 63.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.231, allocations: 38.27 kB / 421.9 MB, free: 63.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.2311, allocations: 57.72 kB / 421.9 MB, free: 63.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.2312, allocations: 33.48 kB / 422 MB, free: 63.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007795/0.2319, allocations: 0.7478 MB / 422.7 MB, free: 63.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2319, allocations: 0 / 422.7 MB, free: 63.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001586/0.2335, allocations: 0.7432 MB / 423.5 MB, free: 63.69 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.0002782/0.2338, allocations: 166.1 kB / 423.6 MB, free: 63.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.2354, allocations: 1.355 MB / 425 MB, free: 63.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2354, allocations: 4.062 kB / 425 MB, free: 63.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.2356, allocations: 253.3 kB / 425.2 MB, free: 63.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.2363, allocations: 229.6 kB / 425.5 MB, free: 63.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.2409, allocations: 4.481 MB / 429.9 MB, free: 59.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.2415, allocations: 0.7742 MB / 430.7 MB, free: 58.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.2425, allocations: 0.8149 MB / 431.5 MB, free: 58.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.2427, allocations: 123.6 kB / 431.7 MB, free: 58.38 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.2427, allocations: 0 / 431.7 MB, free: 58.38 MB / 330.7 MB Notification: Performance of Templates: time 0.0203/0.263, allocations: 15.42 MB / 447.1 MB, free: 44.28 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.0382395312190056]