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.009263/0.009263, allocations: 101.9 kB / 15.73 MB, free: 6.012 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.001846/0.001846, allocations: 187.7 kB / 16.67 MB, free: 5.949 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.542/1.542, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001121/0.001121, allocations: 49.95 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1058, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002192/0.108, allocations: 1.234 MB / 374.4 MB, free: 76 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.109, allocations: 454.7 kB / 374.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.109, allocations: 4 kB / 374.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.1091, allocations: 3.938 kB / 374.9 MB, free: 15.62 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.0004798/0.1095, allocations: 67.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.0001481/0.1097, allocations: 67.81 kB / 375 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.1098, allocations: 43.84 kB / 375 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.1099, allocations: 7.984 kB / 375 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.1099, allocations: 23.91 kB / 375.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.101e-05/0.1099, allocations: 19.94 kB / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1099, allocations: 4 kB / 375.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.1102, allocations: 119.8 kB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1102, allocations: 31.91 kB / 375.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.1103, allocations: 43.69 kB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1106, allocations: 183.4 kB / 375.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1106, allocations: 0 / 375.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1106, allocations: 0 / 375.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1106, 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.0006353/0.1112, allocations: 0.5686 MB / 376 MB, free: 14.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1113, allocations: 12.03 kB / 376 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1114, allocations: 20.75 kB / 376.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1117, allocations: 184.1 kB / 376.2 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1117, allocations: 384 / 376.2 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1118, allocations: 4.375 kB / 376.2 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.1121, allocations: 275.8 kB / 376.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1122, allocations: 4.125 kB / 376.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.1122, allocations: 11.92 kB / 376.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1122, allocations: 7.938 kB / 376.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1124, allocations: 140 kB / 376.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.1126, allocations: 194.4 kB / 376.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.113, allocations: 497.1 kB / 377.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.1134, allocations: 465.7 kB / 377.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.1134, allocations: 4 kB / 377.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.1139, allocations: 484.5 kB / 378.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.192e-06/0.1139, allocations: 0 / 378.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009418/0.1149, allocations: 0.7192 MB / 379 MB, free: 11.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.115, allocations: 156.5 kB / 379.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.1151, allocations: 105.8 kB / 379.3 MB, free: 10.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.1151, allocations: 33.7 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.1152, allocations: 81.14 kB / 379.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.1152, allocations: 86.75 kB / 379.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.1153, allocations: 45.69 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1155, allocations: 326.8 kB / 379.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.1156, allocations: 80.34 kB / 379.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.57e-05/0.1157, allocations: 110.4 kB / 380 MB, free: 10.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.116, allocations: 421.4 kB / 380.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.116, allocations: 4 kB / 380.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003554/0.1164, allocations: 348.7 kB / 380.8 MB, free: 9.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.1165, allocations: 111.3 kB / 380.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1165, allocations: 0 / 380.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1165, allocations: 0 / 380.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-06/0.1165, allocations: 4 kB / 380.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1166, allocations: 0 / 380.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.1166, allocations: 23.73 kB / 380.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.1167, allocations: 8.062 kB / 380.9 MB, free: 9.184 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.0002755/0.1169, allocations: 295.7 kB / 381.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.117, allocations: 27.75 kB / 381.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.117, allocations: 13.56 kB / 381.2 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.117, allocations: 7.938 kB / 381.2 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.117, allocations: 3.984 kB / 381.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1171, allocations: 0 / 381.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1173, allocations: 225.4 kB / 381.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1173, allocations: 0 / 381.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.1173, allocations: 0 / 381.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1173, allocations: 3.938 kB / 381.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.1173, allocations: 19.98 kB / 381.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1173, allocations: 0 / 381.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1173, allocations: 7.938 kB / 381.5 MB, free: 8.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.1187, allocations: 1.225 MB / 382.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.1188, allocations: 100.8 kB / 382.8 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.1189, allocations: 67.88 kB / 382.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.1189, allocations: 12 kB / 382.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.119, allocations: 19.86 kB / 382.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.119, allocations: 19.98 kB / 382.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.1191, allocations: 87.31 kB / 383 MB, free: 6.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1191, allocations: 0 / 383 MB, free: 6.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003611/0.1194, allocations: 83.98 kB / 383.1 MB, free: 6.855 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.0006466/0.1201, allocations: 307.9 kB / 383.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.1219, allocations: 2.131 MB / 385.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1219, allocations: 0 / 385.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.1234, allocations: 2.186 MB / 387.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1237, allocations: 24 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.000651/0.1243, allocations: 392.1 kB / 388.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1247, allocations: 0.7206 MB / 388.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.246e-05/0.1247, allocations: 8.125 kB / 388.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.1247, allocations: 7.438 kB / 388.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1247, allocations: 0 / 388.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of Templates: time 0.006597/0.1313, allocations: 3.015 MB / 391.9 MB, free: 13.95 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)