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.001882/0.001882, allocations: 108.6 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.003196/0.003195, allocations: 187.3 kB / 16.66 MB, free: 6.59 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.604/1.604, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.001179, allocations: 49.86 kB / 326.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1009, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002063/0.103, allocations: 1.222 MB / 374.4 MB, free: 100 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008593/0.1039, allocations: 450.8 kB / 374.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.1039, allocations: 7.938 kB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.104, allocations: 3.938 kB / 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.0004387/0.1044, 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.0001495/0.1046, allocations: 71.8 kB / 375 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.884e-05/0.1047, allocations: 47.83 kB / 375 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.1047, allocations: 4 kB / 375 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.1048, allocations: 19.92 kB / 375 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.1048, allocations: 23.91 kB / 375.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1048, allocations: 4 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.1051, allocations: 115.8 kB / 375.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.1051, allocations: 35.91 kB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.1052, allocations: 47.67 kB / 375.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1055, allocations: 175.2 kB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1055, allocations: 4 kB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1055, allocations: 0 / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1055, allocations: 3.984 kB / 375.4 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.0006151/0.1061, allocations: 0.5682 MB / 376 MB, free: 14.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1062, allocations: 12.03 kB / 376 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.1063, allocations: 16.84 kB / 376 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1065, allocations: 192.1 kB / 376.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1065, allocations: 384 / 376.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.1065, allocations: 4.375 kB / 376.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1068, allocations: 279.8 kB / 376.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1068, allocations: 192 / 376.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.1069, allocations: 11.92 kB / 376.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1069, allocations: 3.938 kB / 376.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.107, allocations: 139.9 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.1072, allocations: 198.4 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.1076, allocations: 0.4893 MB / 377.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.1079, allocations: 469.7 kB / 377.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.1079, allocations: 0 / 377.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000474/0.1084, allocations: 484.6 kB / 378.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.213e-06/0.1084, allocations: 7.938 kB / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0007947/0.1092, allocations: 0.7115 MB / 379 MB, free: 11.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.909e-05/0.1093, allocations: 160.5 kB / 379.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.1094, allocations: 101.8 kB / 379.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.1095, allocations: 29.7 kB / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.1095, allocations: 81.14 kB / 379.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.1096, allocations: 91.27 kB / 379.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.1097, allocations: 41.7 kB / 379.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1098, allocations: 330.9 kB / 379.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.1099, allocations: 80.34 kB / 379.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.942e-05/0.11, allocations: 106.4 kB / 380 MB, free: 10.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.1103, allocations: 421.3 kB / 380.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1103, allocations: 0 / 380.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003354/0.1106, allocations: 348.8 kB / 380.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.651e-05/0.1107, allocations: 116.4 kB / 380.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1107, allocations: 4.094 kB / 380.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1107, allocations: 0 / 380.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1108, allocations: 0 / 380.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1108, allocations: 4 kB / 380.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.1108, allocations: 19.84 kB / 380.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.1109, allocations: 8 kB / 380.9 MB, free: 9.191 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.0002349/0.1111, allocations: 295.7 kB / 381.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.1112, allocations: 31.83 kB / 381.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.1112, allocations: 9.562 kB / 381.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1112, allocations: 3.938 kB / 381.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1112, allocations: 4 kB / 381.2 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1112, allocations: 0 / 381.2 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.1114, allocations: 233.3 kB / 381.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1114, allocations: 8 kB / 381.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.1114, allocations: 0 / 381.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1114, allocations: 3.938 kB / 381.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.1115, allocations: 19.98 kB / 381.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1115, allocations: 0 / 381.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1115, allocations: 336 / 381.5 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.1127, allocations: 1.232 MB / 382.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.1128, allocations: 101 kB / 382.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.1129, allocations: 71.88 kB / 382.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.522e-05/0.113, allocations: 8 kB / 382.9 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.113, allocations: 19.88 kB / 382.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.1131, allocations: 23.98 kB / 382.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.1131, allocations: 83.27 kB / 383 MB, free: 6.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1131, allocations: 0 / 383 MB, free: 6.934 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.1134, allocations: 87.88 kB / 383.1 MB, free: 6.848 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.0005884/0.114, allocations: 303.8 kB / 383.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.1156, allocations: 2.131 MB / 385.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1156, allocations: 0 / 385.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.1171, 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.0001924/0.1173, 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.0006084/0.1179, allocations: 396.1 kB / 388.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1183, allocations: 0.7245 MB / 388.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.238e-06/0.1183, allocations: 0 / 388.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.1183, allocations: 7.438 kB / 388.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1183, allocations: 0 / 388.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of Templates: time 0.005963/0.1243, allocations: 3.019 MB / 391.9 MB, free: 13.95 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)