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.009096/0.009096, allocations: 103.1 kB / 15.73 MB, free: 6.035 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.002597/0.002597, allocations: 199 kB / 16.67 MB, free: 5.969 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.692/1.692, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001159/0.001159, allocations: 50.67 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09375, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002459/0.09626, allocations: 1.226 MB / 374.4 MB, free: 92 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.09734, allocations: 462.7 kB / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.09739, allocations: 0 / 374.8 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.09745, allocations: 0 / 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.0005322/0.09799, allocations: 71.73 kB / 374.9 MB, free: 15.56 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.0001643/0.09816, allocations: 67.75 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.09829, allocations: 47.84 kB / 375 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.09834, allocations: 3.984 kB / 375 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.09839, allocations: 19.92 kB / 375.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.09843, allocations: 23.91 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.09845, allocations: 4 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.09872, allocations: 119.8 kB / 375.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.09879, allocations: 31.91 kB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.09887, allocations: 47.69 kB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.09919, allocations: 179.4 kB / 375.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.0992, allocations: 3.938 kB / 375.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09921, allocations: 0 / 375.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.09922, allocations: 0 / 375.5 MB, free: 15.02 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.0007091/0.09994, allocations: 0.5647 MB / 376 MB, free: 14.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.09999, allocations: 8.031 kB / 376 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1002, allocations: 20.75 kB / 376 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1003, allocations: 188.1 kB / 376.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1004, allocations: 384 / 376.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1004, allocations: 8.375 kB / 376.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.1008, allocations: 275.8 kB / 376.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1008, allocations: 192 / 376.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.1008, allocations: 7.938 kB / 376.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1008, allocations: 0 / 376.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.101, allocations: 143.9 kB / 376.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.1012, allocations: 210.3 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.1017, allocations: 497.1 kB / 377.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.1021, allocations: 465.7 kB / 377.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1021, allocations: 4 kB / 377.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005644/0.1027, allocations: 484.5 kB / 378.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.362e-06/0.1027, allocations: 0 / 378.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009613/0.1036, allocations: 0.7153 MB / 379 MB, free: 11.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.1038, allocations: 156.5 kB / 379.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.1039, allocations: 105.8 kB / 379.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1039, allocations: 25.7 kB / 379.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.1039, allocations: 89.2 kB / 379.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.485e-05/0.104, allocations: 82.75 kB / 379.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.1041, allocations: 49.62 kB / 379.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1043, allocations: 326.8 kB / 379.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.1044, allocations: 80.34 kB / 379.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1046, allocations: 110.4 kB / 380 MB, free: 10.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.1049, allocations: 417.3 kB / 380.4 MB, free: 9.715 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1049, allocations: 4.031 kB / 380.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003581/0.1053, allocations: 348.7 kB / 380.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.1054, allocations: 111.3 kB / 380.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1054, allocations: 0 / 380.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1054, allocations: 0 / 380.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-06/0.1054, allocations: 4 kB / 380.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1055, allocations: 0 / 380.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.1055, allocations: 19.75 kB / 380.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1055, allocations: 11.98 kB / 380.9 MB, free: 9.195 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.0002515/0.1058, allocations: 299.8 kB / 381.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.1059, allocations: 27.75 kB / 381.2 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.244e-05/0.1059, allocations: 5.562 kB / 381.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1059, allocations: 4 kB / 381.2 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1059, allocations: 4 kB / 381.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1059, allocations: 3.984 kB / 381.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1061, allocations: 225.4 kB / 381.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1061, allocations: 336 / 381.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-06/0.1061, allocations: 3.938 kB / 381.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1061, allocations: 3.938 kB / 381.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.1061, allocations: 19.98 kB / 381.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1061, allocations: 0 / 381.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1061, allocations: 0 / 381.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1075, allocations: 1.236 MB / 382.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.1075, allocations: 96.86 kB / 382.8 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.1076, allocations: 67.88 kB / 382.9 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.1077, allocations: 15.94 kB / 382.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.1078, allocations: 19.91 kB / 382.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.1078, allocations: 19.98 kB / 382.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.1079, allocations: 83.28 kB / 383 MB, free: 6.949 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.314e-06/0.1079, allocations: 4.031 kB / 383 MB, free: 6.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000339/0.1082, allocations: 87.92 kB / 383.1 MB, free: 6.859 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.0006467/0.1089, allocations: 303.8 kB / 383.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.1113, allocations: 2.131 MB / 385.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1113, allocations: 0 / 385.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002029/0.1133, allocations: 2.186 MB / 387.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.1135, allocations: 20.25 kB / 387.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.1144, allocations: 396.1 kB / 388.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.1148, allocations: 0.7206 MB / 388.8 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.088e-05/0.1148, allocations: 4 kB / 388.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.1149, allocations: 7.438 kB / 388.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1149, allocations: 4 kB / 388.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of Templates: time 0.006943/0.1218, allocations: 3.015 MB / 391.9 MB, free: 13.96 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)