Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001413/0.001413, allocations: 108.9 kB / 17.06 MB, free: 6.016 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.001557/0.001558, allocations: 192 kB / 18 MB, free: 5.098 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.592/1.592, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001329/0.001329, allocations: 51.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1281, allocations: 46.61 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004144/0.1323, allocations: 2.12 MB / 376.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1335, allocations: 0.5811 MB / 377.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1336, allocations: 4 kB / 377.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.1339, allocations: 43.64 kB / 377.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.134, allocations: 47.56 kB / 377.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1342, allocations: 47.88 kB / 377.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.1344, allocations: 207 kB / 377.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.1347, allocations: 77.62 kB / 377.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.761e-05/0.1348, allocations: 71.78 kB / 377.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1349, allocations: 83.62 kB / 377.7 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.135, allocations: 16 kB / 377.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.359e-05/0.135, allocations: 16 kB / 377.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.1351, allocations: 43.83 kB / 377.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1352, allocations: 91.55 kB / 377.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1355, allocations: 215.2 kB / 378.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1355, allocations: 0 / 378.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1355, allocations: 0 / 378.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1355, allocations: 0 / 378.1 MB, free: 0.918 MB / 318.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.0008389/0.1363, allocations: 478.9 kB / 378.6 MB, free: 412 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.1364, allocations: 8.031 kB / 378.6 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.1365, allocations: 24.66 kB / 378.6 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1368, allocations: 216.1 kB / 378.8 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.1368, allocations: 12.38 kB / 378.8 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.1369, allocations: 28.28 kB / 378.9 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2524/0.3893, allocations: 154.6 kB / 379 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.3894, allocations: 1.031 kB / 379 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.3895, allocations: 7.75 kB / 379 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3895, allocations: 3.719 kB / 379 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.39, allocations: 107.2 kB / 379.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.3916, allocations: 0.5833 MB / 379.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.392, allocations: 116.2 kB / 379.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.3922, allocations: 44.38 kB / 379.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.3922, allocations: 2.281 kB / 379.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.3923, allocations: 32.39 kB / 379.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 4.127e-06/0.3923, allocations: 3.734 kB / 379.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002512/0.3948, allocations: 0.7999 MB / 380.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.3949, allocations: 57.17 kB / 380.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.3952, allocations: 158.8 kB / 380.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3952, allocations: 26.92 kB / 380.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3954, allocations: 133.5 kB / 381.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.755e-05/0.3954, allocations: 64.08 kB / 381.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3955, allocations: 41.78 kB / 381.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3957, allocations: 328.8 kB / 381.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.3959, allocations: 40.73 kB / 381.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.3961, allocations: 76.86 kB / 381.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.3965, allocations: 138 kB / 381.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3965, allocations: 0.625 kB / 381.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007688/0.3973, allocations: 209.3 kB / 382 MB, free: 11.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.3974, allocations: 9.438 kB / 382 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3974, allocations: 4.484 kB / 382 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.3976, allocations: 38.72 kB / 382 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.3979, allocations: 31.14 kB / 382 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.3996, allocations: 1.534 MB / 383.6 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.3997, allocations: 8.391 kB / 383.6 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.3998, allocations: 6.906 kB / 383.6 MB, free: 9.961 MB / 318.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.0001542/0.3999, allocations: 131.5 kB / 383.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.4, allocations: 15.09 kB / 383.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.4001, allocations: 21.09 kB / 383.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4001, allocations: 9.766 kB / 383.8 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4001, allocations: 1.188 kB / 383.8 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.4001, allocations: 1.969 kB / 383.8 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.4013, allocations: 0.5889 MB / 384.3 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4013, allocations: 0 / 384.3 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.4015, allocations: 26.33 kB / 384.4 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.4017, allocations: 30.33 kB / 384.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.4018, allocations: 5.812 kB / 384.4 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.403, allocations: 1.482 MB / 385.9 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.403, allocations: 0.9844 kB / 385.9 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.4037, allocations: 336.8 kB / 386.2 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.4037, allocations: 89.56 kB / 386.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.4038, allocations: 5.656 kB / 386.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.4039, allocations: 3.016 kB / 386.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.404, allocations: 19.66 kB / 386.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.404, allocations: 4.062 kB / 386.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.4042, allocations: 117.6 kB / 386.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4042, allocations: 4.062 kB / 386.5 MB, free: 7.453 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004898/0.4047, allocations: 46.66 kB / 386.5 MB, free: 7.445 MB / 318.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.0001339/0.4048, allocations: 97.8 kB / 386.6 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006827/0.4055, allocations: 254.9 kB / 386.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4055, allocations: 0 / 386.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.4059, allocations: 200.5 kB / 387 MB, free: 7.055 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.4064, allocations: 30.53 kB / 387.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.4077, allocations: 494.5 kB / 387.6 MB, free: 6.734 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.408, allocations: 0.7258 MB / 388.3 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.4081, allocations: 18.3 kB / 388.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.4082, allocations: 14.91 kB / 388.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4082, allocations: 1.25 kB / 388.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of Templates: time 0.00799/0.4162, allocations: 1.912 MB / 390.2 MB, free: 5.859 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1)