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.007189/0.007189, allocations: 100.7 kB / 15.73 MB, free: 6.477 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.001211/0.001211, allocations: 192.4 kB / 16.67 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.001397/0.001397, allocations: 53.95 kB / 326.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1117, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002483/0.1142, allocations: 1.226 MB / 374.4 MB, free: 96 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.1152, allocations: 458.7 kB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.1153, allocations: 0 / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.1154, allocations: 0 / 374.8 MB, free: 15.64 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.0005188/0.1159, allocations: 71.73 kB / 374.9 MB, free: 15.57 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.0001902/0.1161, allocations: 71.73 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.623e-05/0.1162, allocations: 43.84 kB / 375 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.1162, allocations: 11.98 kB / 375 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.1163, allocations: 15.92 kB / 375.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.1163, allocations: 27.91 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1163, allocations: 4 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.1166, allocations: 115.8 kB / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.1166, allocations: 27.92 kB / 375.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.1167, allocations: 55.66 kB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.1169, allocations: 175.4 kB / 375.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.117, allocations: 0 / 375.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.117, allocations: 0 / 375.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.117, allocations: 0 / 375.5 MB, free: 15.03 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.000532/0.1175, allocations: 0.5607 MB / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1175, allocations: 16.03 kB / 376 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1177, allocations: 20.73 kB / 376 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1178, allocations: 184 kB / 376.2 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1178, allocations: 4.375 kB / 376.2 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.1179, allocations: 4.375 kB / 376.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.1181, allocations: 279.8 kB / 376.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.1182, allocations: 192 / 376.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1182, allocations: 3.938 kB / 376.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1182, allocations: 8 kB / 376.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.1183, allocations: 143.9 kB / 376.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1185, allocations: 194.4 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.1189, allocations: 493.1 kB / 377.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.1192, allocations: 477.6 kB / 377.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1192, allocations: 4 kB / 377.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004698/0.1197, allocations: 480.5 kB / 378.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.172e-06/0.1197, allocations: 4 kB / 378.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0007952/0.1205, allocations: 0.7115 MB / 379 MB, free: 11.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/0.1206, allocations: 160.5 kB / 379.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.1207, allocations: 101.9 kB / 379.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1207, allocations: 29.7 kB / 379.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.1208, allocations: 85.12 kB / 379.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.1208, allocations: 86.75 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.1209, allocations: 41.7 kB / 379.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.121, allocations: 326.8 kB / 379.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.1211, allocations: 84.28 kB / 379.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.1212, allocations: 106.4 kB / 380 MB, free: 10.17 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.1215, allocations: 425.4 kB / 380.4 MB, free: 9.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1216, allocations: 0 / 380.4 MB, free: 9.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003405/0.1219, allocations: 348.7 kB / 380.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-05/0.122, allocations: 116.4 kB / 380.9 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.122, allocations: 0 / 380.9 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.122, allocations: 0 / 380.9 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.122, allocations: 0 / 380.9 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.122, allocations: 4 kB / 380.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.1221, allocations: 19.75 kB / 380.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1221, allocations: 8 kB / 380.9 MB, free: 9.207 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.0002402/0.1224, allocations: 299.8 kB / 381.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.1224, allocations: 31.73 kB / 381.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.1225, allocations: 9.562 kB / 381.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1225, allocations: 0 / 381.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1225, allocations: 4 kB / 381.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1225, allocations: 0 / 381.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.1226, allocations: 225.4 kB / 381.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1227, allocations: 0 / 381.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.1227, allocations: 7.938 kB / 381.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1227, allocations: 3.938 kB / 381.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.1227, allocations: 19.98 kB / 381.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1227, allocations: 3.938 kB / 381.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1227, allocations: 4 kB / 381.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.1239, allocations: 1.236 MB / 382.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.124, allocations: 92.86 kB / 382.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/0.1241, allocations: 71.88 kB / 382.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.1241, allocations: 8.328 kB / 382.9 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1242, allocations: 19.92 kB / 382.9 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1242, allocations: 12 kB / 382.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.051e-05/0.1243, allocations: 91.28 kB / 383 MB, free: 6.957 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1243, allocations: 0 / 383 MB, free: 6.957 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.1246, allocations: 88 kB / 383.1 MB, free: 6.871 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.0005239/0.1251, allocations: 303.8 kB / 383.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.1268, allocations: 2.131 MB / 385.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1268, allocations: 0 / 385.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.1285, allocations: 2.186 MB / 387.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.1287, allocations: 16 kB / 387.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.1293, allocations: 400 kB / 388.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1297, allocations: 0.7206 MB / 388.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.14e-05/0.1297, allocations: 4.125 kB / 388.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.1297, allocations: 11.44 kB / 388.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1297, allocations: 0 / 388.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of Templates: time 0.006335/0.1361, allocations: 3.015 MB / 391.9 MB, free: 13.97 MB / 334.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)