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.001116/0.001116, allocations: 107.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.001174/0.001174, allocations: 191 kB / 18 MB, free: 5.102 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.556/1.556, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001162/0.001162, allocations: 51.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1209, 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.003564/0.1246, allocations: 2.124 MB / 376.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009288/0.1255, allocations: 0.5811 MB / 377.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1257, allocations: 7.938 kB / 377.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.1258, allocations: 31.72 kB / 377.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.1259, allocations: 55.48 kB / 377.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.1261, allocations: 47.95 kB / 377.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.1264, allocations: 211 kB / 377.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1266, allocations: 69.64 kB / 377.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.1267, allocations: 75.72 kB / 377.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1269, allocations: 87.61 kB / 377.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.1269, allocations: 16 kB / 377.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.918e-05/0.1269, allocations: 20 kB / 377.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.127, allocations: 39.84 kB / 377.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.485e-05/0.1271, allocations: 83.61 kB / 377.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.1274, allocations: 219.1 kB / 378.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1274, allocations: 3.938 kB / 378.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1274, allocations: 0 / 378.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1274, allocations: 0 / 378.1 MB, free: 0.9102 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.000791/0.1282, allocations: 478.6 kB / 378.6 MB, free: 404 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1283, allocations: 12.03 kB / 378.6 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.1284, allocations: 20.8 kB / 378.6 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.1287, allocations: 224.1 kB / 378.8 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1288, allocations: 12.38 kB / 378.8 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.1288, allocations: 20.33 kB / 378.9 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2771/0.406, allocations: 155.7 kB / 379 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.4061, allocations: 6.656 kB / 379 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.4061, allocations: 4.531 kB / 379 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4061, allocations: 5.844 kB / 379 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.4065, allocations: 106.4 kB / 379.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.4077, allocations: 0.5837 MB / 379.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.408, allocations: 112.1 kB / 379.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.4081, allocations: 42.84 kB / 379.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.4082, allocations: 1.531 kB / 379.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4082, allocations: 33 kB / 379.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 4.017e-06/0.4082, allocations: 0 / 379.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001836/0.41, allocations: 0.8033 MB / 380.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.4101, allocations: 54.67 kB / 380.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4103, allocations: 162.4 kB / 380.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.4103, allocations: 27.45 kB / 381 MB, free: 12.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.4104, allocations: 138 kB / 381.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.4104, allocations: 60.89 kB / 381.1 MB, free: 12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.4105, allocations: 36.12 kB / 381.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.4106, allocations: 333.1 kB / 381.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.4107, allocations: 43.25 kB / 381.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.4109, allocations: 77.39 kB / 381.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.4111, allocations: 133.4 kB / 381.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4112, allocations: 0 / 381.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004432/0.4116, allocations: 213.4 kB / 382 MB, free: 11.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4116, allocations: 6.422 kB / 382 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4116, allocations: 1.5 kB / 382 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.4119, allocations: 38.89 kB / 382 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.4121, allocations: 34.38 kB / 382 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.4132, allocations: 1.541 MB / 383.6 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.4133, allocations: 9.359 kB / 383.6 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4133, allocations: 5.125 kB / 383.6 MB, free: 9.988 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.0001039/0.4134, allocations: 127.4 kB / 383.7 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.4135, allocations: 15.09 kB / 383.7 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.4135, allocations: 26.03 kB / 383.8 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4135, allocations: 5.969 kB / 383.8 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4135, allocations: 1.766 kB / 383.8 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4135, allocations: 1.906 kB / 383.8 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.4143, allocations: 0.5815 MB / 384.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4143, allocations: 0 / 384.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.4145, allocations: 40.22 kB / 384.4 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.4146, allocations: 32.72 kB / 384.4 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4146, allocations: 5.625 kB / 384.4 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009124/0.4156, allocations: 1.48 MB / 385.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4156, allocations: 1.469 kB / 385.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.416, allocations: 340.6 kB / 386.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.4161, allocations: 90.22 kB / 386.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.4161, allocations: 4.938 kB / 386.3 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.4162, allocations: 5.016 kB / 386.3 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.4163, allocations: 19.5 kB / 386.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.4163, allocations: 3.406 kB / 386.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.624e-05/0.4164, allocations: 122.2 kB / 386.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4164, allocations: 0 / 386.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.4167, allocations: 47.03 kB / 386.5 MB, free: 7.461 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.0001506/0.4169, allocations: 97.44 kB / 386.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005617/0.4175, allocations: 253.3 kB / 386.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4175, allocations: 1.062 kB / 386.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.4178, allocations: 198.2 kB / 387.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.4182, allocations: 30.98 kB / 387.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/0.4191, allocations: 494.7 kB / 387.6 MB, free: 6.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.4194, allocations: 0.7318 MB / 388.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.532e-05/0.4195, allocations: 17.55 kB / 388.3 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.4195, allocations: 18.31 kB / 388.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4196, allocations: 0 / 388.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of Templates: time 0.005856/0.4254, allocations: 1.871 MB / 390.2 MB, free: 5.871 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)