Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.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.001219/0.001219, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001418/0.001418, allocations: 188.1 kB / 16.25 MB, free: 6.617 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.548/1.548, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001207/0.001207, allocations: 43.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3136, allocations: 46.63 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003601/0.3173, allocations: 2.165 MB / 327 MB, free: 252 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3184, allocations: 0.576 MB / 327.6 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.3186, allocations: 4.125 kB / 327.6 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.3188, allocations: 27.22 kB / 327.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.3189, allocations: 42.12 kB / 327.7 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.3191, allocations: 46.77 kB / 327.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.3194, allocations: 201.5 kB / 327.9 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.3196, allocations: 70.91 kB / 328 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3197, allocations: 77.97 kB / 328 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3198, allocations: 80.11 kB / 328.1 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.3199, allocations: 16.97 kB / 328.1 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-05/0.3199, allocations: 16.69 kB / 328.2 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.32, allocations: 40.72 kB / 328.2 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3201, allocations: 96.83 kB / 328.3 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.3204, allocations: 205.1 kB / 328.5 MB, free: 15.17 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3204, allocations: 1.031 kB / 328.5 MB, free: 15.17 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3204, allocations: 0 / 328.5 MB, free: 15.17 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3204, allocations: 0 / 328.5 MB, free: 15.17 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.0008292/0.3213, allocations: 485.2 kB / 329 MB, free: 14.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3213, allocations: 9.406 kB / 329 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.3214, allocations: 17.84 kB / 329 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.3217, allocations: 224.5 kB / 329.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3217, allocations: 11.25 kB / 329.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.3218, allocations: 19.12 kB / 329.2 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.3221, allocations: 155 kB / 329.4 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.3222, allocations: 5.094 kB / 329.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.3222, allocations: 14.06 kB / 329.4 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3222, allocations: 4.094 kB / 329.4 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.3225, allocations: 102.9 kB / 329.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009978/0.3235, allocations: 0.5886 MB / 330.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.3237, allocations: 121.8 kB / 330.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/0.3238, allocations: 40.78 kB / 330.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3238, allocations: 2.312 kB / 330.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3239, allocations: 35.56 kB / 330.3 MB, free: 13.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3239, allocations: 0 / 330.3 MB, free: 13.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001615/0.3255, allocations: 0.81 MB / 331.1 MB, free: 12.94 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.3255, allocations: 52.75 kB / 331.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.3257, allocations: 161.5 kB / 331.3 MB, free: 12.74 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3258, allocations: 26.73 kB / 331.3 MB, free: 12.71 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.3259, allocations: 132.1 kB / 331.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.3259, allocations: 62.56 kB / 331.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.326, allocations: 33.72 kB / 331.6 MB, free: 12.5 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3261, allocations: 338.1 kB / 331.9 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3262, allocations: 39.73 kB / 331.9 MB, free: 12.15 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3264, allocations: 72.12 kB / 332 MB, free: 12.1 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.3266, allocations: 132.7 kB / 332.1 MB, free: 12.01 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3266, allocations: 11.88 kB / 332.1 MB, free: 12 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003921/0.327, allocations: 210 kB / 332.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.327, allocations: 4.375 kB / 332.4 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3271, allocations: 1.375 kB / 332.4 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.3272, allocations: 44.7 kB / 332.4 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3274, allocations: 33.52 kB / 332.4 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.3288, allocations: 1.528 MB / 334 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.3289, allocations: 15.45 kB / 334 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.3289, allocations: 4.406 kB / 334 MB, free: 10.3 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.0001505/0.3291, allocations: 126.4 kB / 334.1 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.3292, allocations: 14.81 kB / 334.1 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.3292, allocations: 24.5 kB / 334.1 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3292, allocations: 2.344 kB / 334.1 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3292, allocations: 1.188 kB / 334.1 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3292, allocations: 7.922 kB / 334.2 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000893/0.3301, allocations: 0.5859 MB / 334.7 MB, free: 9.617 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3302, allocations: 1.062 kB / 334.7 MB, free: 9.617 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.3303, allocations: 32.92 kB / 334.8 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.3304, allocations: 36.86 kB / 334.8 MB, free: 9.555 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3305, allocations: 4 kB / 334.8 MB, free: 9.551 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.3316, allocations: 1.477 MB / 336.3 MB, free: 7.934 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3316, allocations: 4.062 kB / 336.3 MB, free: 7.93 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.3321, allocations: 332 kB / 336.6 MB, free: 7.586 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.3322, allocations: 92.94 kB / 336.7 MB, free: 7.477 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3322, allocations: 8 kB / 336.7 MB, free: 7.469 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.3323, allocations: 0 / 336.7 MB, free: 7.469 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.3324, allocations: 20.05 kB / 336.7 MB, free: 7.449 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3324, allocations: 4 kB / 336.7 MB, free: 7.445 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3325, allocations: 119.2 kB / 336.9 MB, free: 7.328 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3325, allocations: 0 / 336.9 MB, free: 7.328 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.3329, allocations: 48 kB / 336.9 MB, free: 7.281 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.0001217/0.333, allocations: 95.19 kB / 337 MB, free: 7.18 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.3336, allocations: 268.9 kB / 337.3 MB, free: 6.906 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3336, allocations: 0 / 337.3 MB, free: 6.906 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.3338, allocations: 194.5 kB / 337.4 MB, free: 6.703 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.3343, allocations: 28.42 kB / 337.5 MB, free: 6.676 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/0.3353, allocations: 0.5629 MB / 338 MB, free: 6.086 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3356, allocations: 0.7281 MB / 338.8 MB, free: 5.332 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.781e-05/0.3357, allocations: 17.55 kB / 338.8 MB, free: 5.312 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.3357, allocations: 19.38 kB / 338.8 MB, free: 5.293 MB / 270.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3357, allocations: 0 / 338.8 MB, free: 5.293 MB / 270.1 MB Notification: Performance of Templates: time 0.005083/0.3408, allocations: 1.819 MB / 340.6 MB, free: 3.473 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1)