Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001237/0.001237, allocations: 97.72 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.01199/0.01199, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.567/1.567, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.0005413/0.0005416, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2385, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001133/0.2397, allocations: 0.959 MB / 328 MB, free: 0.6367 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000822/0.2405, allocations: 470.7 kB / 328.4 MB, free: 308 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.2406, allocations: 0 / 328.4 MB, free: 308 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/0.2406, allocations: 1.312 kB / 328.4 MB, free: 308 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.241, allocations: 53.69 kB / 328.5 MB, free: 272 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.2411, allocations: 65.06 kB / 328.6 MB, free: 224 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.2412, allocations: 29.84 kB / 328.6 MB, free: 212 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.2412, allocations: 6.625 kB / 328.6 MB, free: 208 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.2413, allocations: 29.53 kB / 328.6 MB, free: 188 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.576e-05/0.2413, allocations: 18.27 kB / 328.6 MB, free: 176 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.2413, allocations: 2.031 kB / 328.6 MB, free: 176 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.2416, allocations: 119.2 kB / 328.8 MB, free: 112 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.2416, allocations: 29.61 kB / 328.8 MB, free: 100 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/0.2417, allocations: 75.69 kB / 328.9 MB, free: 36 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.242, allocations: 172.4 kB / 329 MB, free: 15.94 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.242, allocations: 1.156 kB / 329 MB, free: 15.94 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.242, allocations: 0 / 329 MB, free: 15.94 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.242, allocations: 4 kB / 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.0005989/0.2426, allocations: 0.5547 MB / 329.6 MB, free: 15.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2427, allocations: 9.312 kB / 329.6 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.2428, allocations: 19.47 kB / 329.6 MB, free: 15.4 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2429, allocations: 179.7 kB / 329.8 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.243, allocations: 3.781 kB / 329.8 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.243, allocations: 5.094 kB / 329.8 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.2433, allocations: 276.9 kB / 330.1 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2434, allocations: 5.734 kB / 330.1 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2434, allocations: 6 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2434, allocations: 3.938 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.2435, allocations: 143.1 kB / 330.2 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.2438, allocations: 205.5 kB / 330.4 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.2442, allocations: 497.6 kB / 330.9 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/0.2445, allocations: 472.6 kB / 331.4 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.2446, allocations: 0 / 331.4 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005976/0.2452, allocations: 482.2 kB / 331.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 3.116e-06/0.2452, allocations: 0 / 331.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.001043/0.2462, allocations: 0.7207 MB / 332.6 MB, free: 13.43 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.2464, allocations: 161.9 kB / 332.7 MB, free: 13.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.2465, allocations: 103.4 kB / 332.8 MB, free: 13.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.2465, allocations: 27.92 kB / 332.9 MB, free: 13.13 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.2465, allocations: 85.12 kB / 332.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.2466, allocations: 82.53 kB / 333 MB, free: 12.98 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.2467, allocations: 34.3 kB / 333 MB, free: 12.95 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2468, allocations: 332 kB / 333.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.247, allocations: 80.69 kB / 333.5 MB, free: 12.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.2471, allocations: 114.7 kB / 333.6 MB, free: 12.51 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.2474, allocations: 417.3 kB / 334 MB, free: 12.07 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2474, allocations: 0 / 334 MB, free: 12.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003653/0.2478, allocations: 340.8 kB / 334.3 MB, free: 11.72 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/0.2479, allocations: 115.3 kB / 334.4 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2479, allocations: 0 / 334.4 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2479, allocations: 4 kB / 334.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.2479, allocations: 3.938 kB / 334.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.248, allocations: 4.094 kB / 334.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.248, allocations: 23.75 kB / 334.5 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.2481, allocations: 8 kB / 334.5 MB, free: 11.55 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.0002753/0.2483, allocations: 291.7 kB / 334.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.2484, allocations: 27.75 kB / 334.8 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.2484, allocations: 13.56 kB / 334.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2484, allocations: 0 / 334.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2484, allocations: 0 / 334.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2484, allocations: 0 / 334.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.2486, allocations: 245.2 kB / 335 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2486, allocations: 0 / 335 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.2487, allocations: 0 / 335 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2487, allocations: 3.938 kB / 335 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.2487, allocations: 23.98 kB / 335.1 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2487, allocations: 0 / 335.1 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2487, allocations: 0 / 335.1 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.2499, allocations: 1.228 MB / 336.3 MB, free: 9.629 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.2499, allocations: 104.8 kB / 336.4 MB, free: 9.508 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.25, allocations: 71.88 kB / 336.5 MB, free: 9.438 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.2501, allocations: 8 kB / 336.5 MB, free: 9.43 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.2501, allocations: 12.02 kB / 336.5 MB, free: 9.418 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.2502, allocations: 19.98 kB / 336.5 MB, free: 9.398 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.056e-05/0.2502, allocations: 83.61 kB / 336.6 MB, free: 9.316 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2502, allocations: 0 / 336.6 MB, free: 9.316 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.2506, allocations: 87.98 kB / 336.7 MB, free: 9.23 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.0005422/0.2511, allocations: 297.3 kB / 336.9 MB, free: 8.938 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.2528, allocations: 2.135 MB / 339.1 MB, free: 6.777 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2528, allocations: 0 / 339.1 MB, free: 6.777 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.2545, allocations: 2.178 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.0002208/0.2548, allocations: 32.55 kB / 341.3 MB, free: 4.543 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006544/0.2554, allocations: 415.6 kB / 341.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.2558, allocations: 0.7247 MB / 342.4 MB, free: 3.348 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 1.176e-05/0.2558, allocations: 8 kB / 342.4 MB, free: 3.34 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.294e-05/0.2558, allocations: 7.438 kB / 342.4 MB, free: 3.332 MB / 270.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2558, allocations: 0 / 342.4 MB, free: 3.332 MB / 270.1 MB Notification: Performance of Templates: time 0.00594/0.2618, allocations: 2.801 MB / 345.2 MB, free: 0.5273 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.1_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1)