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.001371/0.001371, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.655/1.655, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001177/0.001177, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2454, allocations: 46.63 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002438/0.2479, allocations: 1.23 MB / 326.5 MB, free: 0.8555 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.2488, allocations: 458 kB / 327 MB, free: 0.5195 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.2489, allocations: 0 / 327 MB, free: 0.5195 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.2489, allocations: 3.938 kB / 327 MB, free: 0.5156 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.2494, allocations: 81.41 kB / 327.1 MB, free: 468 kB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.2496, allocations: 69.95 kB / 327.1 MB, free: 416 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.279e-05/0.2497, allocations: 37.91 kB / 327.2 MB, free: 400 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.2497, allocations: 3.062 kB / 327.2 MB, free: 400 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.2497, allocations: 28.94 kB / 327.2 MB, free: 380 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/0.2498, allocations: 23.28 kB / 327.2 MB, free: 364 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.2498, allocations: 2.219 kB / 327.2 MB, free: 364 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.25, allocations: 123.1 kB / 327.3 MB, free: 296 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.2501, allocations: 34.8 kB / 327.4 MB, free: 280 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.2501, allocations: 47.12 kB / 327.4 MB, free: 252 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.2504, allocations: 173.5 kB / 327.6 MB, free: 152 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2504, allocations: 0 / 327.6 MB, free: 152 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2504, allocations: 1.062 kB / 327.6 MB, free: 152 kB / 254.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2504, allocations: 0 / 327.6 MB, free: 152 kB / 254.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.0005887/0.251, allocations: 0.5624 MB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.251, allocations: 9.75 kB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.2512, allocations: 24 kB / 328.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.2513, allocations: 184.3 kB / 328.4 MB, free: 15.4 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2514, allocations: 2.531 kB / 328.4 MB, free: 15.4 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.2514, allocations: 5.719 kB / 328.4 MB, free: 15.4 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.2517, allocations: 277.9 kB / 328.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2518, allocations: 192 / 328.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2518, allocations: 6.812 kB / 328.7 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2518, allocations: 0 / 328.7 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.252, allocations: 151 kB / 328.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.2523, allocations: 197.3 kB / 329 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.2528, allocations: 494.2 kB / 329.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.2532, allocations: 472 kB / 329.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.2532, allocations: 4.844 kB / 329.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.2537, allocations: 489.8 kB / 330.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 1.163e-06/0.2537, allocations: 0 / 330.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008664/0.2546, allocations: 0.7128 MB / 331.1 MB, free: 13.65 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.2547, allocations: 157.7 kB / 331.3 MB, free: 13.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/0.2548, allocations: 103.7 kB / 331.4 MB, free: 13.38 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.2548, allocations: 26.86 kB / 331.4 MB, free: 13.35 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.2549, allocations: 86.33 kB / 331.5 MB, free: 13.26 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.2549, allocations: 83.03 kB / 331.6 MB, free: 13.2 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.255, allocations: 42.25 kB / 331.6 MB, free: 13.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2551, allocations: 328.5 kB / 331.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.2552, allocations: 79.78 kB / 332 MB, free: 12.81 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-05/0.2553, allocations: 109.3 kB / 332.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.2557, allocations: 424.4 kB / 332.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2557, allocations: 0 / 332.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003726/0.2561, allocations: 348.7 kB / 332.9 MB, free: 11.96 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.755e-05/0.2561, allocations: 111.3 kB / 333 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2562, allocations: 0 / 333 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2562, allocations: 0 / 333 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.851e-06/0.2562, allocations: 11.92 kB / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2562, allocations: 0 / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.2563, allocations: 19.75 kB / 333 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2563, allocations: 8 kB / 333 MB, free: 11.8 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.0003419/0.2566, allocations: 299.8 kB / 333.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.2567, allocations: 28.08 kB / 333.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.504e-05/0.2567, allocations: 13.55 kB / 333.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2567, allocations: 11.98 kB / 333.4 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2567, allocations: 3.938 kB / 333.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2567, allocations: 0 / 333.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.2569, allocations: 229.3 kB / 333.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2569, allocations: 4 kB / 333.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.2569, allocations: 0 / 333.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2569, allocations: 3.938 kB / 333.6 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.257, allocations: 19.98 kB / 333.6 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.257, allocations: 0 / 333.6 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.257, allocations: 0 / 333.6 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.2581, allocations: 1.236 MB / 334.9 MB, free: 9.863 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.2582, allocations: 100.8 kB / 335 MB, free: 9.746 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/0.2583, allocations: 67.88 kB / 335 MB, free: 9.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.2583, allocations: 12 kB / 335 MB, free: 9.668 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.2584, allocations: 11.98 kB / 335.1 MB, free: 9.656 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.2584, allocations: 19.98 kB / 335.1 MB, free: 9.637 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.221e-05/0.2585, allocations: 75.31 kB / 335.2 MB, free: 9.562 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2585, allocations: 8 kB / 335.2 MB, free: 9.555 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.2588, allocations: 83.98 kB / 335.2 MB, free: 9.473 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.0005086/0.2593, allocations: 299.4 kB / 335.5 MB, free: 9.18 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.2609, allocations: 2.142 MB / 337.7 MB, free: 7.012 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2609, allocations: 0 / 337.7 MB, free: 7.012 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.2625, allocations: 2.186 MB / 339.9 MB, free: 4.801 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.2627, allocations: 25.16 kB / 339.9 MB, free: 4.777 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.2633, allocations: 389.5 kB / 340.3 MB, free: 4.363 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.2636, allocations: 0.7206 MB / 341 MB, free: 3.617 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 1.404e-05/0.2637, allocations: 4 kB / 341 MB, free: 3.613 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.2637, allocations: 7.438 kB / 341 MB, free: 3.605 MB / 270.1 MB Notification: Performance of SimCode: time 2.214e-06/0.2637, allocations: 0 / 341 MB, free: 3.605 MB / 270.1 MB Notification: Performance of Templates: time 0.005925/0.2696, allocations: 3.007 MB / 344 MB, free: 0.5898 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)