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.0009655/0.0009655, allocations: 80.34 kB / 20.18 MB, free: 4.223 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.001132/0.001132, allocations: 168.9 kB / 23.49 MB, free: 0.9141 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 1.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.094 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.0302/0.0302, allocations: 7.187 MB / 267.5 MB, free: 5.836 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.994e-06/1.994e-06, allocations: 0 / 338.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.507e-05, allocations: 2.312 kB / 338.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.01189/0.01191, allocations: 6.713 MB / 345.6 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.01596, allocations: 2.382 MB / 348 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008704/0.01683, allocations: 31.88 kB / 348 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.01761, allocations: 306 kB / 348.3 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.01997, allocations: 1.217 MB / 349.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.02021, allocations: 83.77 kB / 349.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.02261, allocations: 2.094 MB / 351.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.02292, allocations: 75.42 kB / 351.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.02466, allocations: 1.103 MB / 352.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.02633, allocations: 1.107 MB / 354 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004001/0.02673, allocations: 192 kB / 354.2 MB, free: 11.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.02796, allocations: 0.7293 MB / 354.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009219/0.02888, allocations: 1.059 MB / 355.9 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009584/0.02984, allocations: 0.6539 MB / 356.6 MB, free: 8.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003977/0.03382, allocations: 2.86 MB / 359.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.03382, allocations: 3.984 kB / 359.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.03383, allocations: 0 / 359.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9e-05/0.03392, allocations: 0 / 359.5 MB, free: 5.848 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.008736/0.04265, allocations: 3.875 MB / 363.3 MB, free: 1.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.0427, allocations: 8.625 kB / 363.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006482/0.04918, allocations: 2.086 MB / 365.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.05129, allocations: 1.072 MB / 366.5 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.05139, allocations: 123.1 kB / 366.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.05171, allocations: 148.2 kB / 366.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006448/0.05816, allocations: 3.424 MB / 370.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-05/0.05822, allocations: 16.06 kB / 370.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.05846, allocations: 72.25 kB / 370.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002631/0.0611, allocations: 1.726 MB / 372 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006952/0.06805, allocations: 2.021 MB / 374 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02538/0.09343, allocations: 21.42 MB / 395.4 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.09665, allocations: 0.7956 MB / 396.2 MB, free: 0 / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.09718, allocations: 214.6 kB / 396.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003502/0.1007, allocations: 1.855 MB / 398.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1007, allocations: 42.05 kB / 398.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 3.546e-06/0.1007, allocations: 4 kB / 398.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=98): time 0.003074/0.1038, allocations: 1.02 MB / 399.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.1038, allocations: 67.94 kB / 399.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/0.1065, allocations: 1.683 MB / 401.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.1065, allocations: 37.7 kB / 401.2 MB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.1078, allocations: 2.007 MB / 403.2 MB, free: 8.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.1081, allocations: 420.9 kB / 403.6 MB, free: 8.555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009078/0.109, allocations: 0.6977 MB / 404.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1092, allocations: 0.5082 MB / 404.8 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000897/0.1101, allocations: 326.2 kB / 405.1 MB, free: 7.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/0.1128, allocations: 3.126 MB / 408.2 MB, free: 2.586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1329/0.2457, allocations: 3.79 MB / 412 MB, free: 70.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.044e-05/0.2458, allocations: 20.03 kB / 412 MB, free: 70.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.003819/0.2496, allocations: 2.632 MB / 414.7 MB, free: 70.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.2496, allocations: 35.06 kB / 414.7 MB, free: 70.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-05/0.2497, allocations: 67.19 kB / 414.8 MB, free: 70.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.425e-05/0.2498, allocations: 93.44 kB / 414.9 MB, free: 70.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.2512, allocations: 0.7194 MB / 415.6 MB, free: 69.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001119/0.2513, allocations: 134.8 kB / 415.7 MB, free: 69.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.2525, allocations: 446.8 kB / 416.1 MB, free: 69.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.2528, allocations: 199.2 kB / 416.3 MB, free: 69.92 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.0007114/0.2535, allocations: 411.8 kB / 416.7 MB, free: 69.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.2537, allocations: 173 kB / 416.9 MB, free: 69.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/0.2545, allocations: 0.5878 MB / 417.5 MB, free: 69.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.775e-05/0.2546, allocations: 24.75 kB / 417.5 MB, free: 69.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2546, allocations: 3.75 kB / 417.5 MB, free: 69.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.2546, allocations: 7.453 kB / 417.5 MB, free: 69.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.258, allocations: 2.872 MB / 420.4 MB, free: 69.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.258, allocations: 7.156 kB / 420.4 MB, free: 69.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.2583, allocations: 142 kB / 420.5 MB, free: 69.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.2583, allocations: 7.562 kB / 420.6 MB, free: 69.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.2583, allocations: 21.58 kB / 420.6 MB, free: 69.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.2583, allocations: 9.016 kB / 420.6 MB, free: 69.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2583, allocations: 7.906 kB / 420.6 MB, free: 69.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.2593, allocations: 1.028 MB / 421.6 MB, free: 68.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.2594, allocations: 162 kB / 421.8 MB, free: 68.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.2595, allocations: 22.88 kB / 421.8 MB, free: 68.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.2598, allocations: 37.28 kB / 421.8 MB, free: 68.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.2598, allocations: 65.91 kB / 421.9 MB, free: 68.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.2599, allocations: 29.31 kB / 421.9 MB, free: 68.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000645/0.2605, allocations: 0.7496 MB / 422.7 MB, free: 68.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2605, allocations: 0 / 422.7 MB, free: 68.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00156/0.2621, allocations: 0.7418 MB / 423.4 MB, free: 67.99 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.0002505/0.2623, allocations: 160.9 kB / 423.6 MB, free: 67.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.2639, allocations: 1.347 MB / 424.9 MB, free: 67.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2639, allocations: 5.875 kB / 424.9 MB, free: 67.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.2641, allocations: 256.2 kB / 425.2 MB, free: 66.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.2648, allocations: 231.3 kB / 425.4 MB, free: 66.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.2695, allocations: 4.467 MB / 429.9 MB, free: 62.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.2701, allocations: 0.7743 MB / 430.6 MB, free: 61.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001088/0.2712, allocations: 0.8238 MB / 431.5 MB, free: 61.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.2714, allocations: 123.9 kB / 431.6 MB, free: 61.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2714, allocations: 0 / 431.6 MB, free: 61.39 MB / 330.7 MB Notification: Performance of Templates: time 0.02056/0.2919, allocations: 14.72 MB / 446.3 MB, free: 47.41 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.3326956308446825]