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.001409/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0018/0.0018, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.633/1.633, allocations: 205.1 MB / 222 MB, free: 4.727 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.001932/0.001932, allocations: 47.94 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3197, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.00255/0.3223, allocations: 1.283 MB / 326 MB, free: 0.9023 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.3231, allocations: 483 kB / 326.4 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.3232, allocations: 0 / 326.4 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.019e-05/0.3233, allocations: 0 / 326.4 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.3237, allocations: 58.38 kB / 326.5 MB, free: 0.5195 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.3238, allocations: 58.52 kB / 326.5 MB, free: 492 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.3239, allocations: 39.67 kB / 326.6 MB, free: 472 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.324, allocations: 0 / 326.6 MB, free: 472 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.324, allocations: 22.83 kB / 326.6 MB, free: 460 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.324, allocations: 27 kB / 326.6 MB, free: 440 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.324, allocations: 0 / 326.6 MB, free: 440 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.3242, allocations: 112.6 kB / 326.7 MB, free: 380 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.3243, allocations: 30.48 kB / 326.8 MB, free: 368 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.3244, allocations: 59.25 kB / 326.8 MB, free: 328 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.3246, allocations: 164.8 kB / 327 MB, free: 236 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3246, allocations: 3.984 kB / 327 MB, free: 232 kB / 254.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3246, allocations: 0 / 327 MB, free: 232 kB / 254.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.3246, allocations: 1.094 kB / 327 MB, free: 232 kB / 254.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.0005797/0.3252, allocations: 0.567 MB / 327.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3252, allocations: 17.03 kB / 327.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.3254, allocations: 18.94 kB / 327.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.3256, allocations: 180.4 kB / 327.8 MB, free: 15.47 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3256, allocations: 3.188 kB / 327.8 MB, free: 15.47 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3256, allocations: 5.531 kB / 327.8 MB, free: 15.47 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.3259, allocations: 277.6 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.326, allocations: 192 / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.326, allocations: 6.25 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.326, allocations: 5.062 kB / 328.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3262, allocations: 150.3 kB / 328.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.3264, allocations: 197.2 kB / 328.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.3268, allocations: 490.8 kB / 328.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.3271, allocations: 476.4 kB / 329.3 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.3271, allocations: 4 kB / 329.4 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004572/0.3276, allocations: 482.1 kB / 329.8 MB, free: 14.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 1.062e-06/0.3276, allocations: 3.938 kB / 329.8 MB, free: 14.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008786/0.3285, allocations: 0.7124 MB / 330.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.3286, allocations: 162 kB / 330.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.3287, allocations: 100.1 kB / 330.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3287, allocations: 31.7 kB / 330.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.3287, allocations: 81.14 kB / 330.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/0.3288, allocations: 87.58 kB / 331 MB, free: 13.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.3289, allocations: 38.2 kB / 331 MB, free: 13.24 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.329, allocations: 327.3 kB / 331.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3291, allocations: 85.62 kB / 331.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3292, allocations: 112.5 kB / 331.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.3296, allocations: 420.1 kB / 332 MB, free: 12.52 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3296, allocations: 0 / 332 MB, free: 12.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000347/0.3299, allocations: 348.7 kB / 332.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.189e-05/0.33, allocations: 115.3 kB / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3301, allocations: 0 / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3301, allocations: 0 / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-06/0.3301, allocations: 4 kB / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3301, allocations: 0 / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.3302, allocations: 19.75 kB / 332.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3302, allocations: 8.062 kB / 332.4 MB, free: 12.01 MB / 270.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.0002494/0.3304, allocations: 295.7 kB / 332.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.3305, allocations: 31.73 kB / 332.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.354e-05/0.3305, allocations: 13.56 kB / 332.8 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3305, allocations: 4 kB / 332.8 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3305, allocations: 0 / 332.8 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3305, allocations: 0 / 332.8 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.3307, allocations: 237.2 kB / 333 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3307, allocations: 4.328 kB / 333 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.3307, allocations: 0 / 333 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.3308, allocations: 3.938 kB / 333 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.3308, allocations: 19.98 kB / 333 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3308, allocations: 3.938 kB / 333 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3308, allocations: 4 kB / 333 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.332, allocations: 1.232 MB / 334.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.332, allocations: 96.86 kB / 334.4 MB, free: 9.953 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.934e-05/0.3322, allocations: 71.88 kB / 334.4 MB, free: 9.883 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.3322, allocations: 12 kB / 334.4 MB, free: 9.871 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3323, allocations: 4 kB / 334.5 MB, free: 9.867 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.3323, allocations: 19.98 kB / 334.5 MB, free: 9.848 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.851e-05/0.3323, allocations: 87.3 kB / 334.6 MB, free: 9.762 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3323, allocations: 4 kB / 334.6 MB, free: 9.758 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.3327, allocations: 80 kB / 334.6 MB, free: 9.68 MB / 270.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.0006141/0.3333, allocations: 309.5 kB / 334.9 MB, free: 9.375 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.3351, allocations: 2.127 MB / 337.1 MB, free: 7.223 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3351, allocations: 0 / 337.1 MB, free: 7.223 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.3367, allocations: 2.186 MB / 339.3 MB, free: 5.012 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.3369, allocations: 24 kB / 339.3 MB, free: 4.988 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/0.3376, allocations: 422 kB / 339.7 MB, free: 4.543 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.338, allocations: 0.7208 MB / 340.4 MB, free: 3.797 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 1.083e-05/0.338, allocations: 0 / 340.4 MB, free: 3.797 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.338, allocations: 11.44 kB / 340.4 MB, free: 3.785 MB / 270.1 MB Notification: Performance of SimCode: time 5.01e-07/0.338, allocations: 0 / 340.4 MB, free: 3.785 MB / 270.1 MB Notification: Performance of Templates: time 0.006165/0.3442, allocations: 2.813 MB / 343.2 MB, free: 0.9688 MB / 270.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)