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.0008412/0.0008414, allocations: 92.47 kB / 16.65 MB, free: 6.535 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.0009262/0.0009265, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.699/1.699, allocations: 205.4 MB / 223.7 MB, free: 12.99 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.0005259/0.0005259, allocations: 15.94 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1172, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002926/0.1201, allocations: 1.812 MB / 330.1 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1214, allocations: 0.5659 MB / 330.7 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1216, allocations: 4 kB / 330.7 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1218, allocations: 27.78 kB / 330.7 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.1219, allocations: 43.64 kB / 330.8 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1221, allocations: 43.94 kB / 330.8 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1224, allocations: 195.1 kB / 331 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.1226, allocations: 61.61 kB / 331.1 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.1227, allocations: 59.78 kB / 331.1 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1229, allocations: 71.62 kB / 331.2 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.1229, allocations: 8 kB / 331.2 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.27e-05/0.1229, allocations: 16 kB / 331.2 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.123, allocations: 31.8 kB / 331.2 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1231, allocations: 109.2 kB / 331.4 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.1234, allocations: 195.5 kB / 331.5 MB, free: 0.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1234, allocations: 3.938 kB / 331.5 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1234, allocations: 0 / 331.5 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1234, allocations: 0 / 331.5 MB, free: 0.4961 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.0006929/0.1241, allocations: 450.7 kB / 332 MB, free: 8 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/0.1242, allocations: 8.078 kB / 332 MB, free: 16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.1243, allocations: 20.75 kB / 332 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1246, allocations: 223.9 kB / 332.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.1246, allocations: 16.36 kB / 332.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.1247, allocations: 20.31 kB / 332.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.125, allocations: 157.7 kB / 332.4 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1251, allocations: 0 / 332.4 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.1251, allocations: 15.94 kB / 332.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1251, allocations: 4 kB / 332.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.1254, allocations: 111.7 kB / 332.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.1262, allocations: 0.5926 MB / 333.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1265, allocations: 118.6 kB / 333.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.1266, allocations: 48.84 kB / 333.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.1266, allocations: 4.25 kB / 333.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1267, allocations: 34.5 kB / 333.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.1267, allocations: 0 / 333.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001665/0.1283, allocations: 0.801 MB / 334.1 MB, free: 13.63 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.1284, allocations: 55.39 kB / 334.2 MB, free: 13.56 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1287, allocations: 158.2 kB / 334.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.1287, allocations: 33.7 kB / 334.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1288, allocations: 136.2 kB / 334.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.1289, allocations: 63.09 kB / 334.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.129, allocations: 17.72 kB / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1291, allocations: 326.8 kB / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1292, allocations: 47.91 kB / 335 MB, free: 12.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1294, allocations: 83.34 kB / 335 MB, free: 12.67 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.1296, allocations: 127.4 kB / 335.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1296, allocations: 0 / 335.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003839/0.13, allocations: 222 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.13, allocations: 4 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1301, allocations: 4 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.1303, allocations: 52.7 kB / 335.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1304, allocations: 27.98 kB / 335.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.1317, allocations: 1.421 MB / 336.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.937e-05/0.1318, allocations: 8.031 kB / 336.9 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1318, allocations: 8.062 kB / 336.9 MB, free: 10.64 MB / 286.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.0001243/0.1319, allocations: 133.7 kB / 337 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.1319, allocations: 15.91 kB / 337.1 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.132, allocations: 21.17 kB / 337.1 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.132, allocations: 4 kB / 337.1 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.132, allocations: 0 / 337.1 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.132, allocations: 0 / 337.1 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/0.1329, allocations: 0.5955 MB / 337.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1329, allocations: 4.188 kB / 337.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.133, allocations: 31.92 kB / 337.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.1332, allocations: 36.83 kB / 337.8 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1332, allocations: 8 kB / 337.8 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.1343, allocations: 1.367 MB / 339.1 MB, free: 8.219 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1343, allocations: 4.031 kB / 339.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.1348, allocations: 335.9 kB / 339.5 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.1349, allocations: 97.16 kB / 339.6 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1349, allocations: 7.938 kB / 339.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/0.135, allocations: 8 kB / 339.6 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.1351, allocations: 7.984 kB / 339.6 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1351, allocations: 8 kB / 339.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.1352, allocations: 119.2 kB / 339.7 MB, free: 7.605 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1352, allocations: 0 / 339.7 MB, free: 7.605 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1355, allocations: 40 kB / 339.7 MB, free: 7.566 MB / 286.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.0001521/0.1357, allocations: 111.2 kB / 339.8 MB, free: 7.449 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005527/0.1362, allocations: 263 kB / 340.1 MB, free: 7.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1363, allocations: 0 / 340.1 MB, free: 7.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.1366, allocations: 198.6 kB / 340.3 MB, free: 6.977 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.137, allocations: 25.61 kB / 340.3 MB, free: 6.953 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1382, allocations: 0.6164 MB / 340.9 MB, free: 6.312 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.1386, allocations: 0.7245 MB / 341.7 MB, free: 5.562 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.57e-05/0.1387, allocations: 21.53 kB / 341.7 MB, free: 5.543 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.1387, allocations: 19.38 kB / 341.7 MB, free: 5.523 MB / 286.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1387, allocations: 0 / 341.7 MB, free: 5.523 MB / 286.1 MB Notification: Performance of Templates: time 0.004888/0.1436, allocations: 1.712 MB / 343.4 MB, free: 3.812 MB / 286.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)