Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008856/0.0008858, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008975/0.008975, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.548/1.548, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004721/0.0004721, allocations: 8 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2401, allocations: 47.6 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001258/0.2415, allocations: 0.959 MB / 328 MB, free: 0.625 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.2424, allocations: 466 kB / 328.4 MB, free: 300 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.2425, allocations: 4.938 kB / 328.4 MB, free: 296 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.2425, allocations: 0 / 328.4 MB, free: 296 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.2431, allocations: 54.53 kB / 328.5 MB, free: 260 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.2432, allocations: 60.33 kB / 328.6 MB, free: 216 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 8.777e-05/0.2433, allocations: 34.55 kB / 328.6 MB, free: 200 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.2434, allocations: 6.875 kB / 328.6 MB, free: 196 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.689e-05/0.2435, allocations: 17.58 kB / 328.6 MB, free: 188 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.2435, allocations: 23.08 kB / 328.6 MB, free: 172 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2436, allocations: 5.062 kB / 328.6 MB, free: 168 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.2438, allocations: 112.5 kB / 328.8 MB, free: 108 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.2439, allocations: 35.88 kB / 328.8 MB, free: 92 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.244, allocations: 80.03 kB / 328.9 MB, free: 24 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.2445, allocations: 169.4 kB / 329 MB, free: 15.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2445, allocations: 0 / 329 MB, free: 15.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.2445, allocations: 0 / 329 MB, free: 15.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2445, allocations: 0 / 329 MB, free: 15.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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007747/0.2453, allocations: 0.5538 MB / 329.6 MB, free: 15.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2454, allocations: 9.656 kB / 329.6 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.2455, allocations: 27.86 kB / 329.6 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.2457, allocations: 176.4 kB / 329.8 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2458, allocations: 2.531 kB / 329.8 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.2458, allocations: 5.531 kB / 329.8 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.2462, allocations: 277.8 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2462, allocations: 192 / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.2462, allocations: 6.062 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2462, allocations: 1.219 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.2465, allocations: 150.5 kB / 330.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.2467, allocations: 197.6 kB / 330.4 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005502/0.2473, allocations: 497.5 kB / 330.9 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.2478, allocations: 469 kB / 331.4 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.2478, allocations: 0 / 331.4 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008029/0.2487, allocations: 494.2 kB / 331.8 MB, free: 13.74 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 4.048e-06/0.2487, allocations: 0 / 331.8 MB, free: 13.74 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009893/0.2497, allocations: 0.7206 MB / 332.6 MB, free: 13.43 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.2498, allocations: 153.8 kB / 332.7 MB, free: 13.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.2499, allocations: 107.5 kB / 332.8 MB, free: 13.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.2499, allocations: 28.17 kB / 332.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.25, allocations: 89.14 kB / 332.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.25, allocations: 82.44 kB / 333 MB, free: 12.97 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.2501, allocations: 33.92 kB / 333 MB, free: 12.94 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2502, allocations: 324.6 kB / 333.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.2503, allocations: 79.81 kB / 333.4 MB, free: 12.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.2505, allocations: 112.7 kB / 333.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.2508, allocations: 421.3 kB / 334 MB, free: 12.08 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2508, allocations: 4.031 kB / 334 MB, free: 12.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003811/0.2512, allocations: 340.8 kB / 334.3 MB, free: 11.72 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.2513, allocations: 119.3 kB / 334.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2514, allocations: 0 / 334.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.2514, allocations: 0 / 334.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.065e-06/0.2514, allocations: 3.938 kB / 334.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2514, allocations: 4 kB / 334.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.2515, allocations: 19.75 kB / 334.4 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2515, allocations: 8 kB / 334.5 MB, free: 11.56 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 (state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],r1024,r128,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003385/0.2518, allocations: 299.8 kB / 334.7 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.2519, allocations: 27.75 kB / 334.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.516e-05/0.2519, allocations: 5.562 kB / 334.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2519, allocations: 4 kB / 334.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.2519, allocations: 4 kB / 334.8 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2519, allocations: 0 / 334.8 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.2522, allocations: 237.2 kB / 335 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2522, allocations: 4 kB / 335 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.2522, allocations: 0 / 335 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2522, allocations: 7.922 kB / 335 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.2522, allocations: 20 kB / 335.1 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2522, allocations: 0 / 335.1 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2522, allocations: 0 / 335.1 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.2535, allocations: 1.236 MB / 336.3 MB, free: 9.621 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.2535, allocations: 92.86 kB / 336.4 MB, free: 9.512 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-05/0.2536, allocations: 71.88 kB / 336.4 MB, free: 9.441 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.2537, allocations: 8 kB / 336.5 MB, free: 9.434 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.2538, allocations: 19.97 kB / 336.5 MB, free: 9.414 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2538, allocations: 19.94 kB / 336.5 MB, free: 9.395 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.373e-05/0.2538, allocations: 79.27 kB / 336.6 MB, free: 9.316 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2538, allocations: 4.031 kB / 336.6 MB, free: 9.312 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003291/0.2542, allocations: 88 kB / 336.7 MB, free: 9.227 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005605/0.2547, allocations: 293.3 kB / 336.9 MB, free: 8.938 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.2564, allocations: 2.131 MB / 339.1 MB, free: 6.781 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2564, allocations: 0 / 339.1 MB, free: 6.781 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.258, allocations: 2.182 MB / 341.3 MB, free: 4.574 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.2582, allocations: 28.62 kB / 341.3 MB, free: 4.547 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.2588, allocations: 415.3 kB / 341.7 MB, free: 4.109 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.2591, allocations: 0.7247 MB / 342.4 MB, free: 3.352 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.165e-06/0.2591, allocations: 0 / 342.4 MB, free: 3.352 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.13e-05/0.2591, allocations: 7.438 kB / 342.4 MB, free: 3.344 MB / 270.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2591, allocations: 4 kB / 342.4 MB, free: 3.34 MB / 270.1 MB Notification: Performance of Templates: time 0.005479/0.2646, allocations: 2.805 MB / 345.2 MB, free: 0.5312 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1)