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.01001/0.01001, allocations: 108.4 kB / 15.74 MB, free: 6.453 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.002051/0.002051, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.714/1.714, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.001326/0.001326, allocations: 50.5 kB / 326.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, 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.002989/0.1125, allocations: 1.226 MB / 374.4 MB, free: 92 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1135, allocations: 458.8 kB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.1136, allocations: 0 / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.1136, allocations: 11.86 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.0004995/0.1141, allocations: 67.75 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.000196/0.1143, allocations: 67.81 kB / 375 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1145, allocations: 51.83 kB / 375 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.1145, allocations: 4 kB / 375 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.1146, allocations: 19.92 kB / 375.1 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.698e-05/0.1146, allocations: 19.91 kB / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1146, allocations: 0 / 375.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.1149, allocations: 119.8 kB / 375.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.1149, allocations: 39.89 kB / 375.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.115, allocations: 43.69 kB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.1153, allocations: 179.4 kB / 375.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1153, allocations: 4 kB / 375.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1153, allocations: 0 / 375.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.1153, 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.0006273/0.116, allocations: 0.5608 MB / 376 MB, free: 14.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.116, allocations: 8.031 kB / 376 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.1162, allocations: 28.73 kB / 376.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1164, allocations: 180.1 kB / 376.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1164, allocations: 4.375 kB / 376.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1164, allocations: 4.375 kB / 376.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.1168, allocations: 279.8 kB / 376.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1168, allocations: 4.188 kB / 376.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1168, allocations: 3.938 kB / 376.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1168, allocations: 0 / 376.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.117, allocations: 147.9 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.1172, allocations: 194.4 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.1176, allocations: 0.4893 MB / 377.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.1179, allocations: 465.7 kB / 377.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.1179, allocations: 0 / 377.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004788/0.1184, allocations: 488.5 kB / 378.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.343e-06/0.1184, allocations: 4 kB / 378.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.000807/0.1193, allocations: 0.7153 MB / 379 MB, free: 11.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.1194, allocations: 164.4 kB / 379.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.1194, allocations: 101.8 kB / 379.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1195, allocations: 29.7 kB / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.1195, allocations: 81.14 kB / 379.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.1196, allocations: 90.75 kB / 379.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.1196, allocations: 37.7 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1198, allocations: 330.9 kB / 379.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.1199, allocations: 84.34 kB / 379.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.12, allocations: 106.4 kB / 380 MB, free: 10.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.1203, allocations: 421.3 kB / 380.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1203, allocations: 3.938 kB / 380.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003582/0.1207, allocations: 340.8 kB / 380.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.109e-05/0.1208, allocations: 119.3 kB / 380.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.1208, allocations: 4.094 kB / 380.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1208, allocations: 4 kB / 380.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1208, allocations: 0 / 380.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1209, allocations: 0 / 380.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.1209, allocations: 23.75 kB / 380.9 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.121, allocations: 8 kB / 380.9 MB, free: 9.188 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.0002614/0.1212, allocations: 299.7 kB / 381.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.1213, allocations: 31.75 kB / 381.2 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.1213, allocations: 5.562 kB / 381.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1213, allocations: 0 / 381.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1213, allocations: 0 / 381.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1213, allocations: 0 / 381.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.1215, allocations: 233.4 kB / 381.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1215, allocations: 4 kB / 381.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.1215, allocations: 0 / 381.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1215, allocations: 7.938 kB / 381.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.1216, allocations: 15.98 kB / 381.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1216, allocations: 4 kB / 381.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1216, allocations: 0 / 381.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.1228, allocations: 1.224 MB / 382.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.1228, allocations: 101.2 kB / 382.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.123, allocations: 71.88 kB / 382.9 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.729e-05/0.123, allocations: 8 kB / 382.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1231, allocations: 15.92 kB / 382.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.1231, allocations: 19.98 kB / 382.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.07e-05/0.1232, allocations: 83.27 kB / 383 MB, free: 6.953 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1232, allocations: 0 / 383 MB, free: 6.953 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.1235, allocations: 91.98 kB / 383.1 MB, free: 6.863 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.0005629/0.1241, allocations: 311.8 kB / 383.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.1258, allocations: 2.131 MB / 385.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.1259, allocations: 4 kB / 385.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.1274, allocations: 2.178 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.0002138/0.1276, allocations: 23.98 kB / 387.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.1282, allocations: 396.3 kB / 388.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1286, allocations: 0.7206 MB / 388.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.049e-05/0.1286, allocations: 0 / 388.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.1286, allocations: 7.438 kB / 388.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1287, allocations: 0 / 388.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of Templates: time 0.00689/0.1356, allocations: 3.022 MB / 391.9 MB, free: 13.96 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)