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.001176/0.001176, allocations: 112.5 kB / 15.73 MB, free: 76 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.001822/0.001822, allocations: 190.3 kB / 16.66 MB, free: 6.582 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.576/1.576, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001277/0.001277, allocations: 58.59 kB / 326.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.1002, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002101/0.1023, allocations: 1.218 MB / 374.4 MB, free: 88 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.1032, allocations: 458.8 kB / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.1033, allocations: 0 / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.1033, allocations: 3.938 kB / 374.8 MB, free: 15.63 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.0004486/0.1038, allocations: 75.73 kB / 374.9 MB, free: 15.55 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.0001603/0.1039, allocations: 67.73 kB / 375 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.104, allocations: 47.89 kB / 375 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.1041, allocations: 3.938 kB / 375 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.042e-05/0.1041, allocations: 27.91 kB / 375.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.157e-05/0.1042, allocations: 19.86 kB / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1042, allocations: 0 / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.1044, allocations: 127.9 kB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.1045, allocations: 35.86 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.1045, allocations: 47.67 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.1048, allocations: 175.2 kB / 375.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1048, allocations: 4 kB / 375.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1048, allocations: 0 / 375.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1048, allocations: 0 / 375.5 MB, free: 15.01 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.0006238/0.1054, allocations: 0.5604 MB / 376 MB, free: 14.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1055, allocations: 11.97 kB / 376 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.1056, allocations: 32.83 kB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1058, allocations: 184.1 kB / 376.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1058, allocations: 4.375 kB / 376.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.1058, allocations: 4.375 kB / 376.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1061, allocations: 275.8 kB / 376.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1062, allocations: 192 / 376.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1062, allocations: 7.938 kB / 376.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1062, allocations: 0 / 376.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1063, allocations: 147.9 kB / 376.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.1066, allocations: 198.4 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.107, allocations: 493.1 kB / 377.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.1074, allocations: 469.7 kB / 377.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.1074, allocations: 0 / 377.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004834/0.1079, allocations: 488.6 kB / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.253e-06/0.1079, allocations: 0 / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008495/0.1087, allocations: 0.7154 MB / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.1089, allocations: 160.5 kB / 379.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.538e-05/0.109, allocations: 97.86 kB / 379.3 MB, free: 10.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.109, allocations: 33.69 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.109, allocations: 89.2 kB / 379.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.1091, allocations: 87.28 kB / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.1092, allocations: 37.7 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1093, allocations: 322.8 kB / 379.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.1094, allocations: 88.28 kB / 379.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.306e-05/0.1095, allocations: 106.4 kB / 380 MB, free: 10.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.1099, allocations: 425.4 kB / 380.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1099, allocations: 4 kB / 380.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003691/0.1103, allocations: 344.9 kB / 380.8 MB, free: 9.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/0.1104, allocations: 115.3 kB / 380.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1104, allocations: 7.938 kB / 380.9 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1105, allocations: 0 / 380.9 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.494e-06/0.1105, allocations: 0 / 380.9 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1105, allocations: 3.938 kB / 380.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.1105, allocations: 23.84 kB / 380.9 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.1106, allocations: 8 kB / 380.9 MB, free: 9.168 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.0002721/0.1108, allocations: 295.8 kB / 381.2 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.1109, allocations: 31.84 kB / 381.2 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.447e-05/0.1109, allocations: 5.562 kB / 381.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1109, allocations: 4.328 kB / 381.2 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1109, allocations: 0 / 381.2 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1109, allocations: 0 / 381.2 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1111, allocations: 241.3 kB / 381.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1111, allocations: 0 / 381.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1112, allocations: 0 / 381.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1112, allocations: 7.922 kB / 381.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1112, allocations: 16 kB / 381.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1112, allocations: 4 kB / 381.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1112, allocations: 0 / 381.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.1125, allocations: 1.24 MB / 382.7 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.1126, allocations: 92.95 kB / 382.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.785e-05/0.1127, allocations: 75.81 kB / 382.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.306e-05/0.1127, allocations: 8 kB / 382.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.1128, allocations: 11.98 kB / 382.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.1128, allocations: 16 kB / 382.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.813e-05/0.1128, allocations: 83.27 kB / 383 MB, free: 6.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1128, allocations: 4.031 kB / 383 MB, free: 6.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.1132, allocations: 87.94 kB / 383.1 MB, free: 6.836 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.0005142/0.1137, allocations: 303.8 kB / 383.4 MB, free: 6.527 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.1154, allocations: 2.131 MB / 385.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1154, allocations: 0 / 385.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.1169, allocations: 2.182 MB / 387.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.1171, allocations: 28 kB / 387.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.1178, allocations: 391.9 kB / 388.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1182, allocations: 0.7206 MB / 388.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.75e-05/0.1182, allocations: 4 kB / 388.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.1182, allocations: 11.44 kB / 388.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1182, allocations: 4 kB / 388.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of Templates: time 0.006983/0.1252, allocations: 3.015 MB / 391.9 MB, free: 13.93 MB / 334.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)