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.001157/0.001157, allocations: 108 kB / 15.6 MB, free: 132 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.001083/0.001083, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.442/1.442, allocations: 205.1 MB / 222.4 MB, free: 4.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.00148/0.00148, allocations: 47.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3186, 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.003323/0.322, allocations: 1.243 MB / 326.5 MB, free: 0.8438 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3231, allocations: 450.5 kB / 327 MB, free: 0.5117 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.3231, allocations: 5 kB / 327 MB, free: 0.5078 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.3232, allocations: 0 / 327 MB, free: 0.5078 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.0006853/0.3239, allocations: 78.95 kB / 327.1 MB, free: 464 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.0002931/0.3242, allocations: 72.83 kB / 327.1 MB, free: 408 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.3244, allocations: 43.91 kB / 327.2 MB, free: 388 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.303e-05/0.3245, allocations: 1.375 kB / 327.2 MB, free: 388 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.3245, allocations: 25.38 kB / 327.2 MB, free: 372 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.3246, allocations: 22.84 kB / 327.2 MB, free: 356 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3246, allocations: 2.625 kB / 327.2 MB, free: 356 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.325, allocations: 118.5 kB / 327.3 MB, free: 292 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.325, allocations: 31.48 kB / 327.4 MB, free: 280 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.3251, allocations: 54.34 kB / 327.4 MB, free: 244 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.3255, allocations: 170 kB / 327.6 MB, free: 148 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.3255, allocations: 5.016 kB / 327.6 MB, free: 144 kB / 254.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3255, allocations: 0 / 327.6 MB, free: 144 kB / 254.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3256, allocations: 0 / 327.6 MB, free: 144 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.0008409/0.3264, allocations: 0.5634 MB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.3265, allocations: 8.5 kB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.3267, allocations: 20.19 kB / 328.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.3268, allocations: 180.8 kB / 328.4 MB, free: 15.4 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.3268, allocations: 6.906 kB / 328.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.3269, allocations: 8.938 kB / 328.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.3273, allocations: 274.3 kB / 328.7 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3273, allocations: 192 / 328.7 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.3273, allocations: 6.594 kB / 328.7 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3273, allocations: 0 / 328.7 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.3275, allocations: 146.4 kB / 328.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.3278, allocations: 206.2 kB / 329 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.3283, allocations: 492.8 kB / 329.5 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.3287, allocations: 469.2 kB / 329.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.3287, allocations: 0.9375 kB / 329.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006088/0.3293, allocations: 488.9 kB / 330.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 3.016e-06/0.3293, allocations: 1.031 kB / 330.4 MB, free: 13.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009805/0.3303, allocations: 0.7162 MB / 331.1 MB, free: 13.64 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.3304, allocations: 157.5 kB / 331.3 MB, free: 13.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3306, allocations: 100.6 kB / 331.4 MB, free: 13.38 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3306, allocations: 27.05 kB / 331.4 MB, free: 13.35 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.3306, allocations: 86.33 kB / 331.5 MB, free: 13.26 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.717e-05/0.3307, allocations: 86.05 kB / 331.6 MB, free: 13.19 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.3308, allocations: 42.64 kB / 331.6 MB, free: 13.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.331, allocations: 328.4 kB / 331.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3311, allocations: 84.66 kB / 332 MB, free: 12.8 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3312, allocations: 108.1 kB / 332.1 MB, free: 12.74 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.3316, allocations: 425.1 kB / 332.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3316, allocations: 0 / 332.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003952/0.332, allocations: 348.7 kB / 332.9 MB, free: 11.96 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.3321, allocations: 119.4 kB / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.3321, allocations: 0 / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3322, allocations: 0 / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.3322, allocations: 0 / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3322, allocations: 4 kB / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/0.3323, allocations: 19.75 kB / 333 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3323, 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.0003062/0.3326, allocations: 295.7 kB / 333.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.3327, allocations: 31.73 kB / 333.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.482e-05/0.3327, allocations: 5.562 kB / 333.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3327, allocations: 0 / 333.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3327, allocations: 4 kB / 333.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3327, allocations: 0 / 333.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3329, allocations: 241.2 kB / 333.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3329, allocations: 4 kB / 333.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-06/0.333, allocations: 4 kB / 333.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.333, allocations: 3.938 kB / 333.6 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.333, allocations: 19.98 kB / 333.6 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.333, allocations: 0 / 333.6 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.333, allocations: 0 / 333.6 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.3342, allocations: 1.236 MB / 334.9 MB, free: 9.863 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.3343, allocations: 92.86 kB / 335 MB, free: 9.754 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-05/0.3344, allocations: 71.88 kB / 335 MB, free: 9.684 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.3345, allocations: 8 kB / 335 MB, free: 9.676 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3345, allocations: 15.98 kB / 335.1 MB, free: 9.66 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.3346, allocations: 19.98 kB / 335.1 MB, free: 9.641 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.3346, allocations: 83.27 kB / 335.2 MB, free: 9.559 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3346, allocations: 0 / 335.2 MB, free: 9.559 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003926/0.335, allocations: 84 kB / 335.2 MB, free: 9.477 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.0006787/0.3357, allocations: 302.8 kB / 335.5 MB, free: 9.18 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.3373, allocations: 2.138 MB / 337.7 MB, free: 7.016 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3374, allocations: 0 / 337.7 MB, free: 7.016 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.3389, allocations: 2.178 MB / 339.8 MB, free: 4.812 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.3391, allocations: 25.03 kB / 339.9 MB, free: 4.789 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.3398, allocations: 401.7 kB / 340.3 MB, free: 4.363 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3401, allocations: 0.7206 MB / 341 MB, free: 3.617 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 1.465e-05/0.3401, allocations: 4 kB / 341 MB, free: 3.613 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.3401, allocations: 7.438 kB / 341 MB, free: 3.605 MB / 270.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3401, allocations: 0 / 341 MB, free: 3.605 MB / 270.1 MB Notification: Performance of Templates: time 0.006853/0.347, allocations: 3.011 MB / 344 MB, free: 0.5859 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)