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.00104/0.001044, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00819/0.00819, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.812/1.812, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004783/0.0004782, allocations: 8 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.297, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002125/0.2992, allocations: 1.813 MB / 328.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.3002, allocations: 0.5679 MB / 329.4 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.3004, allocations: 7.438 kB / 329.4 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3005, allocations: 24.31 kB / 329.4 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/0.3006, allocations: 45.3 kB / 329.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.3008, allocations: 38.22 kB / 329.5 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.3011, allocations: 203.3 kB / 329.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3013, allocations: 51.48 kB / 329.8 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.3014, allocations: 65.72 kB / 329.8 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3015, allocations: 70.72 kB / 329.9 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.3015, allocations: 8.906 kB / 329.9 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.953e-05/0.3016, allocations: 9.344 kB / 329.9 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.3016, allocations: 32.31 kB / 330 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.3017, allocations: 102.8 kB / 330.1 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.302, allocations: 204.8 kB / 330.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.302, allocations: 0.9062 kB / 330.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.302, allocations: 0 / 330.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.302, allocations: 0 / 330.3 MB, free: 14.93 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.0007234/0.3027, allocations: 446 kB / 330.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.3028, allocations: 13.44 kB / 330.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.3029, allocations: 21.69 kB / 330.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.3031, allocations: 225 kB / 330.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.3032, allocations: 14.53 kB / 331 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.3032, allocations: 15.31 kB / 331 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.3036, allocations: 165 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3036, allocations: 1.125 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.3037, allocations: 10.33 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3037, allocations: 3.906 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.3039, allocations: 113.9 kB / 331.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000989/0.3049, allocations: 0.5918 MB / 331.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.3053, allocations: 119.3 kB / 332 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.3054, allocations: 44.22 kB / 332 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.3055, allocations: 2.062 kB / 332 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.3055, allocations: 38.56 kB / 332.1 MB, free: 13.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.3055, allocations: 0 / 332.1 MB, free: 13.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.002234/0.3077, allocations: 0.8083 MB / 332.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.3078, allocations: 53.41 kB / 332.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.3081, allocations: 165.2 kB / 333.1 MB, free: 12.53 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.3081, allocations: 30.73 kB / 333.1 MB, free: 12.49 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3083, allocations: 131.7 kB / 333.2 MB, free: 12.37 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3084, allocations: 63.28 kB / 333.3 MB, free: 12.31 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.3084, allocations: 22.19 kB / 333.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002342/0.3087, allocations: 335.1 kB / 333.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3088, allocations: 45.23 kB / 333.7 MB, free: 11.94 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.309, allocations: 73.88 kB / 333.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.3094, allocations: 140 kB / 333.9 MB, free: 11.79 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3094, allocations: 0 / 333.9 MB, free: 11.79 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000519/0.3099, allocations: 213.5 kB / 334.1 MB, free: 11.67 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.3099, allocations: 5.25 kB / 334.1 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.31, allocations: 1.062 kB / 334.1 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.3102, allocations: 41.36 kB / 334.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.3105, allocations: 29.95 kB / 334.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.3126, allocations: 1.428 MB / 335.6 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3127, allocations: 8.344 kB / 335.6 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.3127, allocations: 8.312 kB / 335.6 MB, free: 10.2 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.0001411/0.3129, allocations: 142.5 kB / 335.8 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.3129, allocations: 11.12 kB / 335.8 MB, free: 10.06 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.313, allocations: 20.09 kB / 335.8 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.313, allocations: 2.969 kB / 335.8 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.313, allocations: 0 / 335.8 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.313, allocations: 1.469 kB / 335.8 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009052/0.3139, allocations: 0.5942 MB / 336.4 MB, free: 9.426 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3139, allocations: 0 / 336.4 MB, free: 9.426 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.3141, allocations: 31.98 kB / 336.4 MB, free: 9.395 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.3142, allocations: 28.84 kB / 336.5 MB, free: 9.363 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3142, allocations: 4 kB / 336.5 MB, free: 9.359 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.3157, allocations: 1.378 MB / 337.8 MB, free: 7.848 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3157, allocations: 0 / 337.8 MB, free: 7.848 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.3163, allocations: 350.3 kB / 338.2 MB, free: 7.488 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3164, allocations: 92.95 kB / 338.3 MB, free: 7.379 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.3165, allocations: 3.938 kB / 338.3 MB, free: 7.375 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3166, allocations: 8 kB / 338.3 MB, free: 7.367 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.3167, allocations: 20.03 kB / 338.3 MB, free: 7.348 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3167, allocations: 4 kB / 338.3 MB, free: 7.344 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3168, allocations: 119.2 kB / 338.4 MB, free: 7.227 MB / 270.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3168, allocations: 0 / 338.4 MB, free: 7.227 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.3172, allocations: 44 kB / 338.5 MB, free: 7.184 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.0002484/0.3175, allocations: 99.19 kB / 338.6 MB, free: 7.078 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006953/0.3182, allocations: 262.7 kB / 338.8 MB, free: 6.809 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3182, allocations: 3.938 kB / 338.8 MB, free: 6.805 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.3185, allocations: 194.5 kB / 339 MB, free: 6.602 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3189, allocations: 27.92 kB / 339 MB, free: 6.574 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3199, allocations: 0.6126 MB / 339.6 MB, free: 5.938 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.3204, allocations: 0.7284 MB / 340.4 MB, free: 5.184 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.153e-05/0.3204, allocations: 13.55 kB / 340.4 MB, free: 5.172 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.3205, allocations: 19.44 kB / 340.4 MB, free: 5.152 MB / 270.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3205, allocations: 0 / 340.4 MB, free: 5.152 MB / 270.1 MB Notification: Performance of Templates: time 0.005/0.3255, allocations: 1.718 MB / 342.1 MB, free: 3.434 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)