Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001228/0.001228, allocations: 107.1 kB / 17.06 MB, free: 6.125 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.001269/0.001269, allocations: 199 kB / 18 MB, free: 5.199 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.432/1.432, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001197/0.001197, allocations: 51.94 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1061, allocations: 46.61 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002229/0.1083, allocations: 1.237 MB / 375.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.1092, allocations: 462.4 kB / 376.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.1093, allocations: 7.938 kB / 376.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.1093, allocations: 0 / 376.2 MB, free: 2.852 MB / 318.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.0004705/0.1098, allocations: 71.67 kB / 376.2 MB, free: 2.781 MB / 318.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.0001565/0.11, allocations: 67.75 kB / 376.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.693e-05/0.1101, allocations: 43.89 kB / 376.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.992e-05/0.1101, allocations: 4 kB / 376.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.1102, allocations: 19.92 kB / 376.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.003e-05/0.1102, allocations: 19.92 kB / 376.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.1102, allocations: 4 kB / 376.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.1104, allocations: 119.8 kB / 376.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.1105, allocations: 35.91 kB / 376.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.1105, allocations: 51.62 kB / 376.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1108, allocations: 171.5 kB / 376.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1108, allocations: 0 / 376.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1108, allocations: 4 kB / 376.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1108, allocations: 0 / 376.8 MB, free: 2.25 MB / 318.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.0005632/0.1114, allocations: 0.5683 MB / 377.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1114, allocations: 12.03 kB / 377.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1115, allocations: 20.75 kB / 377.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1117, allocations: 176.2 kB / 377.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1117, allocations: 4.312 kB / 377.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1117, allocations: 4.375 kB / 377.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.112, allocations: 283.8 kB / 377.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.112, allocations: 192 / 377.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.112, allocations: 7.938 kB / 377.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.112, allocations: 0 / 377.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.1122, allocations: 140 kB / 378 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.1124, allocations: 202.2 kB / 378.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.1128, allocations: 497.1 kB / 378.7 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2142/0.327, allocations: 469.1 kB / 379.1 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3271, allocations: 0.7031 kB / 379.1 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005986/0.3277, allocations: 484.3 kB / 379.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 2.675e-06/0.3277, allocations: 0 / 379.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009214/0.3286, allocations: 0.709 MB / 380.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/0.3287, allocations: 164.1 kB / 380.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.3288, allocations: 107.3 kB / 380.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.3288, allocations: 27.45 kB / 380.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.3288, allocations: 82.59 kB / 380.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.3289, allocations: 91.08 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.329, allocations: 43.86 kB / 380.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.3291, allocations: 326.2 kB / 381.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3292, allocations: 82.83 kB / 381.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3293, allocations: 105.6 kB / 381.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.3298, allocations: 419.8 kB / 381.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3298, allocations: 0 / 381.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003555/0.3301, allocations: 348.4 kB / 382.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.3303, allocations: 116.6 kB / 382.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3303, allocations: 0 / 382.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3303, allocations: 1.219 kB / 382.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/0.3303, allocations: 1.188 kB / 382.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3303, allocations: 3.656 kB / 382.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.3304, allocations: 26.14 kB / 382.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.3304, allocations: 7.312 kB / 382.2 MB, free: 11.93 MB / 318.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.0002359/0.3306, allocations: 297.8 kB / 382.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.3307, allocations: 28.69 kB / 382.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.3307, allocations: 13.62 kB / 382.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3307, allocations: 1.031 kB / 382.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3307, allocations: 1.156 kB / 382.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3307, allocations: 0.6562 kB / 382.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.3309, allocations: 240.4 kB / 382.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3309, allocations: 0.875 kB / 382.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-07/0.3309, allocations: 0 / 382.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3309, allocations: 2.578 kB / 382.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.331, allocations: 17.39 kB / 382.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.331, allocations: 5.844 kB / 382.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.331, allocations: 3.516 kB / 382.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.3323, allocations: 1.233 MB / 384 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.3324, allocations: 92.45 kB / 384.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.3325, allocations: 66.78 kB / 384.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.3326, allocations: 9.172 kB / 384.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.3326, allocations: 15.27 kB / 384.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.3327, allocations: 18.91 kB / 384.2 MB, free: 11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.783e-05/0.3327, allocations: 79.78 kB / 384.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3327, allocations: 0 / 384.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003496/0.3331, allocations: 88.88 kB / 384.4 MB, free: 10.93 MB / 318.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.0005266/0.3336, allocations: 302.5 kB / 384.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.3353, allocations: 2.131 MB / 386.8 MB, free: 9.594 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3353, allocations: 4.312 kB / 386.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.3369, allocations: 2.184 MB / 389 MB, free: 8.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.3371, allocations: 31.52 kB / 389.1 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.3377, allocations: 395.2 kB / 389.4 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.3379, allocations: 0.7268 MB / 390.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.083e-05/0.3379, allocations: 1.344 kB / 390.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.3379, allocations: 7.438 kB / 390.2 MB, free: 7.359 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3379, allocations: 0 / 390.2 MB, free: 7.359 MB / 318.1 MB Notification: Performance of Templates: time 0.007126/0.3451, allocations: 3.132 MB / 393.3 MB, free: 6.969 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1)