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.006246/0.006246, allocations: 107.1 kB / 15.74 MB, free: 5.996 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.001249/0.001249, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 4.461 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.001179/0.00118, allocations: 55.52 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1053, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002562/0.1079, allocations: 1.218 MB / 374.4 MB, free: 72 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1091, allocations: 454.7 kB / 374.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.1092, allocations: 0 / 374.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.1092, allocations: 7.938 kB / 374.9 MB, free: 15.61 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.0006365/0.1099, allocations: 71.78 kB / 374.9 MB, free: 15.54 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.0001832/0.1101, allocations: 67.75 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1102, allocations: 51.83 kB / 375 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.1103, allocations: 0 / 375 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.1104, allocations: 23.92 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.1104, allocations: 19.91 kB / 375.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1104, allocations: 0 / 375.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.1107, allocations: 119.8 kB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.1108, allocations: 31.92 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.1109, allocations: 55.66 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.1112, allocations: 175.4 kB / 375.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.1112, allocations: 3.984 kB / 375.5 MB, free: 15 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1112, allocations: 0 / 375.5 MB, free: 15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1112, allocations: 0 / 375.5 MB, free: 15 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.0007436/0.112, allocations: 0.5608 MB / 376 MB, free: 14.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.112, allocations: 8.031 kB / 376 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1122, allocations: 24.75 kB / 376.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.1124, allocations: 188.1 kB / 376.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1124, allocations: 8.375 kB / 376.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1125, allocations: 4.375 kB / 376.2 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.1128, allocations: 271.8 kB / 376.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1128, allocations: 192 / 376.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1128, allocations: 7.938 kB / 376.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1128, allocations: 4 kB / 376.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.1131, allocations: 147.9 kB / 376.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.1133, allocations: 194.4 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.1137, allocations: 497.1 kB / 377.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.1141, allocations: 469.7 kB / 377.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.1141, allocations: 0 / 377.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000486/0.1146, allocations: 492.5 kB / 378.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.002e-06/0.1146, allocations: 0 / 378.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008739/0.1155, allocations: 0.7076 MB / 379 MB, free: 11.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.1156, allocations: 164.5 kB / 379.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1157, allocations: 97.86 kB / 379.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1157, allocations: 33.64 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.1158, allocations: 81.14 kB / 379.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.49e-05/0.1159, allocations: 94.73 kB / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.1159, allocations: 41.77 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1161, allocations: 322.8 kB / 379.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1162, allocations: 84.34 kB / 379.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1163, allocations: 106.4 kB / 380 MB, free: 10.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.1167, allocations: 421.3 kB / 380.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1167, allocations: 0 / 380.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003835/0.1171, allocations: 348.7 kB / 380.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.1173, allocations: 119.4 kB / 380.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.1173, allocations: 4 kB / 380.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1173, allocations: 0 / 380.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1173, allocations: 0 / 380.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1173, allocations: 0 / 380.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.1174, allocations: 23.75 kB / 380.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1174, allocations: 8 kB / 380.9 MB, free: 9.176 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.0003272/0.1178, allocations: 291.7 kB / 381.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.1178, allocations: 35.73 kB / 381.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.1178, allocations: 5.891 kB / 381.2 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1179, allocations: 0 / 381.2 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1179, allocations: 0 / 381.2 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1179, allocations: 7.984 kB / 381.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.1181, allocations: 233.4 kB / 381.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1181, allocations: 0 / 381.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1181, allocations: 0 / 381.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.1181, allocations: 7.938 kB / 381.5 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.1182, allocations: 19.97 kB / 381.5 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1182, allocations: 4 kB / 381.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1182, allocations: 0 / 381.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.1196, allocations: 1.232 MB / 382.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1197, allocations: 92.86 kB / 382.8 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.1198, allocations: 71.88 kB / 382.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.1198, allocations: 8 kB / 382.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.1199, allocations: 15.94 kB / 382.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.1199, allocations: 19.98 kB / 382.9 MB, free: 7.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.643e-05/0.12, allocations: 87.2 kB / 383 MB, free: 6.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.12, allocations: 3.938 kB / 383 MB, free: 6.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004203/0.1204, allocations: 88 kB / 383.1 MB, free: 6.844 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.0006865/0.1211, allocations: 303.8 kB / 383.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.1233, allocations: 2.127 MB / 385.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1233, allocations: 0 / 385.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.1248, allocations: 2.186 MB / 387.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1251, allocations: 20 kB / 387.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008248/0.1259, allocations: 396.3 kB / 388.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.1264, allocations: 0.7245 MB / 388.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.401e-05/0.1264, allocations: 0 / 388.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.1264, allocations: 7.438 kB / 388.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1264, allocations: 0 / 388.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of Templates: time 0.006745/0.1332, allocations: 3.026 MB / 391.9 MB, free: 13.94 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)