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.001131/0.001131, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006284/0.006284, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.822/1.822, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.0005851/0.0005852, allocations: 8 kB / 279.4 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2744, allocations: 47.59 MB / 327 MB, free: 1.207 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002079/0.2765, allocations: 1.81 MB / 328.8 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008565/0.2774, allocations: 0.5584 MB / 329.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.2775, allocations: 8.125 kB / 329.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.2777, allocations: 28.59 kB / 329.4 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.86e-05/0.2778, allocations: 45.58 kB / 329.5 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.2779, allocations: 41.59 kB / 329.5 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.2782, allocations: 200.1 kB / 329.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.2784, allocations: 56.7 kB / 329.8 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.635e-05/0.2785, allocations: 59.33 kB / 329.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.2786, allocations: 71.94 kB / 329.9 MB, free: 15 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.2787, allocations: 8.781 kB / 329.9 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.029e-05/0.2787, allocations: 12.53 kB / 329.9 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.2788, allocations: 33.66 kB / 329.9 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.2789, allocations: 101.5 kB / 330 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.2791, allocations: 201.9 kB / 330.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2791, allocations: 0 / 330.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2792, allocations: 0 / 330.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2792, allocations: 0 / 330.2 MB, free: 14.74 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.0006659/0.2798, allocations: 450.2 kB / 330.7 MB, free: 14.3 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.2799, allocations: 16.98 kB / 330.7 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.28, allocations: 26.2 kB / 330.7 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.2802, allocations: 220.9 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.2803, allocations: 10.88 kB / 331 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.2803, allocations: 19.72 kB / 331 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.2807, allocations: 152.8 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.2807, allocations: 1.094 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.2807, allocations: 9.469 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2807, allocations: 4.469 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.281, allocations: 110.4 kB / 331.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.2819, allocations: 0.6029 MB / 331.8 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.2822, allocations: 123.7 kB / 332 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.2823, allocations: 47.34 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2823, allocations: 1.031 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2824, allocations: 35.83 kB / 332.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2824, allocations: 0 / 332.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001542/0.2839, allocations: 0.8073 MB / 332.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.284, allocations: 53.5 kB / 332.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.2841, allocations: 161.2 kB / 333.1 MB, free: 12.33 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2841, allocations: 34.7 kB / 333.1 MB, free: 12.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2843, allocations: 132.6 kB / 333.2 MB, free: 12.16 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.2843, allocations: 62.81 kB / 333.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.2844, allocations: 23.05 kB / 333.3 MB, free: 12.09 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2845, allocations: 326.4 kB / 333.6 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2846, allocations: 49.11 kB / 333.7 MB, free: 11.74 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.2848, allocations: 78.47 kB / 333.8 MB, free: 11.68 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.285, allocations: 134.7 kB / 333.9 MB, free: 11.59 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.285, allocations: 1.625 kB / 333.9 MB, free: 11.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004002/0.2854, allocations: 219.9 kB / 334.1 MB, free: 11.46 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2854, allocations: 6.062 kB / 334.1 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2855, allocations: 1.062 kB / 334.1 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.2856, allocations: 36.41 kB / 334.1 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2858, allocations: 38.19 kB / 334.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.287, allocations: 1.417 MB / 335.6 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.2871, allocations: 15.61 kB / 335.6 MB, free: 10 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.2871, allocations: 9.5 kB / 335.6 MB, free: 9.996 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.0001214/0.2873, allocations: 134.4 kB / 335.8 MB, free: 9.863 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.2873, allocations: 14.91 kB / 335.8 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.2874, allocations: 16.19 kB / 335.8 MB, free: 9.84 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2874, allocations: 2.406 kB / 335.8 MB, free: 9.84 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2874, allocations: 0 / 335.8 MB, free: 9.84 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2874, allocations: 5.016 kB / 335.8 MB, free: 9.836 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008427/0.2882, allocations: 0.5933 MB / 336.4 MB, free: 9.312 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2883, allocations: 1.312 kB / 336.4 MB, free: 9.312 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.2884, allocations: 27.02 kB / 336.4 MB, free: 9.309 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.2885, allocations: 36.58 kB / 336.5 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2886, allocations: 5.156 kB / 336.5 MB, free: 9.281 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.2896, allocations: 1.371 MB / 337.8 MB, free: 7.777 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2896, allocations: 0 / 337.8 MB, free: 7.777 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.2902, allocations: 346.3 kB / 338.2 MB, free: 7.422 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.2902, allocations: 97.02 kB / 338.3 MB, free: 7.309 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.2903, allocations: 7.938 kB / 338.3 MB, free: 7.301 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.2904, allocations: 11.98 kB / 338.3 MB, free: 7.289 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.2904, allocations: 11.98 kB / 338.3 MB, free: 7.277 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2904, allocations: 8 kB / 338.3 MB, free: 7.27 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.767e-05/0.2905, allocations: 115.2 kB / 338.4 MB, free: 7.156 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2905, allocations: 0 / 338.4 MB, free: 7.156 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.2908, allocations: 44 kB / 338.5 MB, free: 7.113 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.0001253/0.291, allocations: 103.2 kB / 338.6 MB, free: 7.004 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004774/0.2914, allocations: 258.7 kB / 338.8 MB, free: 6.738 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2915, allocations: 0 / 338.8 MB, free: 6.738 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.2917, allocations: 206.6 kB / 339 MB, free: 6.523 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.2921, allocations: 19.98 kB / 339 MB, free: 6.504 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009386/0.2931, allocations: 0.6163 MB / 339.6 MB, free: 5.863 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.2934, allocations: 0.7245 MB / 340.4 MB, free: 5.113 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.057e-05/0.2935, allocations: 25.52 kB / 340.4 MB, free: 5.09 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.2935, allocations: 15.44 kB / 340.4 MB, free: 5.074 MB / 270.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2935, allocations: 4 kB / 340.4 MB, free: 5.07 MB / 270.1 MB Notification: Performance of Templates: time 0.004722/0.2982, allocations: 1.707 MB / 342.1 MB, free: 3.363 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)