Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001288, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 55.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2467, allocations: 46.64 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002964/0.2497, allocations: 2.103 MB / 327.4 MB, free: 188 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.2507, allocations: 0.5842 MB / 328 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2509, allocations: 7.469 kB / 328 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.2511, allocations: 28.66 kB / 328 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2512, allocations: 56.42 kB / 328.1 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.2514, allocations: 51.66 kB / 328.1 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.2517, allocations: 201.3 kB / 328.3 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2519, allocations: 74.59 kB / 328.4 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.2519, allocations: 74.56 kB / 328.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2521, allocations: 76.58 kB / 328.6 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.2521, allocations: 16.84 kB / 328.6 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.55e-05/0.2522, allocations: 15.97 kB / 328.6 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.2522, allocations: 49.48 kB / 328.6 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.609e-05/0.2524, allocations: 92.81 kB / 328.7 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.2526, allocations: 208.6 kB / 328.9 MB, free: 15.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2526, allocations: 4 kB / 328.9 MB, free: 15.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2526, allocations: 0 / 328.9 MB, free: 15.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2526, allocations: 1.219 kB / 328.9 MB, free: 15.07 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006633/0.2533, allocations: 476.8 kB / 329.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2533, allocations: 12.56 kB / 329.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.2534, allocations: 18.97 kB / 329.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.2537, allocations: 224.8 kB / 329.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.2537, allocations: 9.75 kB / 329.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.2537, allocations: 16.41 kB / 329.7 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.254, allocations: 162.7 kB / 329.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2541, allocations: 1.094 kB / 329.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.2541, allocations: 5.281 kB / 329.8 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.2541, allocations: 8.422 kB / 329.8 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.2543, allocations: 110.5 kB / 330 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008565/0.2552, allocations: 0.5927 MB / 330.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.2555, allocations: 118.4 kB / 330.7 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/0.2556, allocations: 41.16 kB / 330.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.2556, allocations: 1.344 kB / 330.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2556, allocations: 35.97 kB / 330.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2556, allocations: 0 / 330.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001512/0.2571, allocations: 0.794 MB / 331.5 MB, free: 12.85 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.2572, allocations: 57.28 kB / 331.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.2573, allocations: 164.6 kB / 331.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2574, allocations: 26.92 kB / 331.8 MB, free: 12.62 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.2574, allocations: 132.9 kB / 331.9 MB, free: 12.49 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.2575, allocations: 70.09 kB / 332 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.2576, allocations: 29.41 kB / 332 MB, free: 12.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2577, allocations: 334.5 kB / 332.3 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2578, allocations: 39.86 kB / 332.4 MB, free: 12.06 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.2579, allocations: 80.81 kB / 332.5 MB, free: 12 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.2582, allocations: 130.9 kB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2582, allocations: 1.188 kB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003862/0.2586, allocations: 209.5 kB / 332.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2586, allocations: 8.844 kB / 332.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2586, allocations: 1.656 kB / 332.8 MB, free: 11.78 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.2588, allocations: 41.27 kB / 332.8 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2589, allocations: 28.67 kB / 332.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.2602, allocations: 1.547 MB / 334.4 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2603, allocations: 15.23 kB / 334.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.2603, allocations: 4.812 kB / 334.4 MB, free: 10.2 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.2605, allocations: 135.2 kB / 334.6 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.2605, allocations: 14.62 kB / 334.6 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.2606, allocations: 15.84 kB / 334.6 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2606, allocations: 2.406 kB / 334.6 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2606, allocations: 5.281 kB / 334.6 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.2606, allocations: 7.922 kB / 334.6 MB, free: 10.03 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009124/0.2615, allocations: 0.5836 MB / 335.2 MB, free: 9.465 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2615, allocations: 0 / 335.2 MB, free: 9.465 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.2617, allocations: 31.98 kB / 335.2 MB, free: 9.434 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.2618, allocations: 32.83 kB / 335.3 MB, free: 9.398 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2619, allocations: 4 kB / 335.3 MB, free: 9.395 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.2631, allocations: 1.481 MB / 336.7 MB, free: 7.773 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2631, allocations: 0 / 336.7 MB, free: 7.773 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.2636, allocations: 336.1 kB / 337.1 MB, free: 7.426 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.2636, allocations: 92.94 kB / 337.2 MB, free: 7.316 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.2637, allocations: 8 kB / 337.2 MB, free: 7.309 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.2638, allocations: 0 / 337.2 MB, free: 7.309 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.2638, allocations: 15.98 kB / 337.2 MB, free: 7.293 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.2639, allocations: 4 kB / 337.2 MB, free: 7.289 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.297e-05/0.2639, allocations: 115.3 kB / 337.3 MB, free: 7.176 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.264, allocations: 4 kB / 337.3 MB, free: 7.172 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.2643, allocations: 48 kB / 337.3 MB, free: 7.125 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.2644, allocations: 103.1 kB / 337.4 MB, free: 7.016 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.2649, allocations: 264.8 kB / 337.7 MB, free: 6.746 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2649, allocations: 3.938 kB / 337.7 MB, free: 6.742 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.2652, allocations: 194.6 kB / 337.9 MB, free: 6.539 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2656, allocations: 19.98 kB / 337.9 MB, free: 6.52 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008778/0.2665, allocations: 0.5003 MB / 338.4 MB, free: 5.992 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.2668, allocations: 0.7242 MB / 339.1 MB, free: 5.238 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.942e-05/0.2669, allocations: 17.55 kB / 339.2 MB, free: 5.219 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.267, allocations: 15.44 kB / 339.2 MB, free: 5.203 MB / 270.1 MB Notification: Performance of SimCode: time 2.7e-07/0.267, allocations: 0 / 339.2 MB, free: 5.203 MB / 270.1 MB Notification: Performance of Templates: time 0.004596/0.2716, allocations: 1.827 MB / 341 MB, free: 3.375 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1)