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.005702/0.005702, allocations: 102.8 kB / 15.73 MB, free: 6.488 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.001188/0.001188, allocations: 199.7 kB / 16.68 MB, free: 6.375 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001448/0.001448, allocations: 49.95 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1189, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004065/0.123, allocations: 2.101 MB / 375.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1244, allocations: 0.5928 MB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.1247, allocations: 7.938 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.125, allocations: 31.66 kB / 375.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.1252, allocations: 51.55 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1254, allocations: 51.88 kB / 376 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.1257, allocations: 199.2 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1259, allocations: 89.5 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/0.126, allocations: 71.72 kB / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1261, allocations: 91.61 kB / 376.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.1262, allocations: 16 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.052e-05/0.1262, allocations: 16 kB / 376.5 MB, free: 14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.1262, allocations: 31.92 kB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1264, allocations: 95.53 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.1266, allocations: 207.3 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1267, allocations: 0 / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1267, allocations: 7.938 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1267, allocations: 0 / 376.8 MB, free: 13.66 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.0006889/0.1274, allocations: 466.9 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1274, allocations: 8.031 kB / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.1275, allocations: 24.66 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1278, allocations: 225.1 kB / 377.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1278, allocations: 16.38 kB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.1279, allocations: 28.22 kB / 377.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.1282, allocations: 153.5 kB / 377.7 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1282, allocations: 0 / 377.7 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.1282, allocations: 12 kB / 377.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1283, allocations: 7.984 kB / 377.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.1285, allocations: 99.83 kB / 377.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009144/0.1294, allocations: 0.5927 MB / 378.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1296, allocations: 114.6 kB / 378.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1298, allocations: 41.09 kB / 378.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1298, allocations: 0 / 378.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1298, allocations: 42.55 kB / 378.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1298, allocations: 0 / 378.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00159/0.1314, allocations: 0.802 MB / 379.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1315, allocations: 59.41 kB / 379.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1316, allocations: 158.2 kB / 379.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1317, allocations: 29.7 kB / 379.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.1318, allocations: 128.3 kB / 379.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.1318, allocations: 67 kB / 379.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.1319, allocations: 37.7 kB / 379.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.132, allocations: 326.8 kB / 380.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/0.1321, allocations: 47.97 kB / 380.2 MB, free: 9.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1323, allocations: 79.34 kB / 380.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1325, allocations: 127.4 kB / 380.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1325, allocations: 0 / 380.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003634/0.1329, allocations: 218 kB / 380.7 MB, free: 9.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1329, allocations: 4 kB / 380.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1329, allocations: 0 / 380.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.1331, allocations: 32.84 kB / 380.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.1333, allocations: 43.91 kB / 380.7 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.1345, allocations: 1.528 MB / 382.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.1346, allocations: 16.03 kB / 382.3 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1347, allocations: 4 kB / 382.3 MB, free: 7.691 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.000128/0.1348, allocations: 125.8 kB / 382.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.1348, allocations: 19.84 kB / 382.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.1349, allocations: 25.17 kB / 382.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1349, allocations: 0 / 382.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1349, allocations: 0 / 382.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1349, allocations: 7.875 kB / 382.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/0.1357, allocations: 0.5877 MB / 383 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1357, allocations: 3.984 kB / 383 MB, free: 6.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.1359, allocations: 31.92 kB / 383.1 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.136, allocations: 32.84 kB / 383.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.136, allocations: 0 / 383.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.1372, allocations: 1.477 MB / 384.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1372, allocations: 4.062 kB / 384.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.1377, allocations: 335.9 kB / 384.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.1377, allocations: 88.95 kB / 385 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1378, allocations: 4 kB / 385 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.1379, allocations: 11.98 kB / 385 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.1379, allocations: 16.19 kB / 385 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1379, allocations: 8 kB / 385 MB, free: 4.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.138, allocations: 116.1 kB / 385.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1381, allocations: 0 / 385.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.1384, allocations: 44 kB / 385.2 MB, free: 4.504 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.0001348/0.1385, allocations: 103.2 kB / 385.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005283/0.139, allocations: 258.5 kB / 385.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.139, allocations: 0 / 385.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.1393, allocations: 191.1 kB / 385.7 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1397, allocations: 24.3 kB / 385.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.1407, allocations: 495.2 kB / 386.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1411, allocations: 0.7359 MB / 387 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.67e-05/0.1411, allocations: 17.53 kB / 387 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.1412, allocations: 19.44 kB / 387 MB, free: 2.598 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1412, allocations: 0 / 387 MB, free: 2.598 MB / 318.1 MB Notification: Performance of Templates: time 0.005938/0.1471, allocations: 1.863 MB / 388.9 MB, free: 0.7344 MB / 318.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)