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.001224/0.001224, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001599/0.0016, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.661/1.661, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.00122/0.00122, allocations: 47.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.285, allocations: 46.62 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002157/0.2872, allocations: 1.285 MB / 326.1 MB, free: 0.9219 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.288, allocations: 464 kB / 326.6 MB, free: 0.582 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.2881, allocations: 1.188 kB / 326.6 MB, free: 0.582 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.2881, allocations: 0 / 326.6 MB, free: 0.582 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.2886, allocations: 67.5 kB / 326.7 MB, free: 0.5391 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.2887, allocations: 57.92 kB / 326.7 MB, free: 0.5 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 8.79e-05/0.2888, allocations: 41.08 kB / 326.7 MB, free: 496 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.2888, allocations: 0 / 326.7 MB, free: 496 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.2889, allocations: 24.97 kB / 326.8 MB, free: 480 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.873e-05/0.2889, allocations: 21.64 kB / 326.8 MB, free: 468 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2889, allocations: 0 / 326.8 MB, free: 468 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.2891, allocations: 127.7 kB / 326.9 MB, free: 396 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 3.885e-05/0.2892, allocations: 38.56 kB / 327 MB, free: 376 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.2892, allocations: 46.78 kB / 327 MB, free: 348 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2894, allocations: 173.2 kB / 327.2 MB, free: 248 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2894, allocations: 1.562 kB / 327.2 MB, free: 248 kB / 254.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2894, allocations: 0 / 327.2 MB, free: 248 kB / 254.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2895, allocations: 0 / 327.2 MB, free: 248 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.0005626/0.29, allocations: 0.5584 MB / 327.7 MB, free: 15.72 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2901, allocations: 14.36 kB / 327.7 MB, free: 15.72 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.2902, allocations: 22.75 kB / 327.8 MB, free: 15.71 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.2904, allocations: 176.9 kB / 327.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2904, allocations: 7.25 kB / 327.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2904, allocations: 5.25 kB / 328 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.2908, allocations: 273.1 kB / 328.2 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2908, allocations: 192 / 328.2 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2908, allocations: 6.375 kB / 328.2 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2908, allocations: 1.094 kB / 328.2 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.291, allocations: 151.3 kB / 328.4 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.2912, allocations: 204.4 kB / 328.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.2916, allocations: 498.5 kB / 329.1 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.2921, allocations: 464.8 kB / 329.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.2921, allocations: 0 / 329.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005848/0.2927, allocations: 493.5 kB / 330 MB, free: 14.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 1.002e-06/0.2927, allocations: 0 / 330 MB, free: 14.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.001037/0.2937, allocations: 0.7215 MB / 330.7 MB, free: 13.74 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.2938, allocations: 157.6 kB / 330.9 MB, free: 13.57 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.294, allocations: 103.6 kB / 331 MB, free: 13.47 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.294, allocations: 27.14 kB / 331 MB, free: 13.44 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.294, allocations: 86.64 kB / 331.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.2941, allocations: 81.38 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.2942, allocations: 39.73 kB / 331.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2944, allocations: 331.7 kB / 331.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2945, allocations: 79.88 kB / 331.6 MB, free: 12.9 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.2947, allocations: 109.3 kB / 331.7 MB, free: 12.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.2951, allocations: 424.5 kB / 332.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2951, allocations: 0 / 332.1 MB, free: 12.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003803/0.2955, allocations: 348.7 kB / 332.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.2956, allocations: 111.3 kB / 332.6 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2956, allocations: 0 / 332.6 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2956, allocations: 0 / 332.6 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.2956, allocations: 0 / 332.6 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2956, allocations: 4 kB / 332.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.2957, allocations: 19.75 kB / 332.6 MB, free: 11.97 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.2957, allocations: 12 kB / 332.6 MB, free: 11.96 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.0003004/0.296, allocations: 299.8 kB / 332.9 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.2961, allocations: 31.75 kB / 332.9 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.57e-05/0.2961, allocations: 5.562 kB / 332.9 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2961, allocations: 8 kB / 332.9 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2961, allocations: 0 / 332.9 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2961, allocations: 3.938 kB / 333 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.2964, allocations: 233.2 kB / 333.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2964, allocations: 4 kB / 333.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-07/0.2964, allocations: 0 / 333.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2964, allocations: 3.938 kB / 333.2 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.2964, allocations: 19.98 kB / 333.2 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2964, allocations: 0 / 333.2 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2964, allocations: 0 / 333.2 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.2977, allocations: 1.232 MB / 334.4 MB, free: 10.03 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.2977, allocations: 96.86 kB / 334.5 MB, free: 9.914 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.2978, allocations: 71.88 kB / 334.6 MB, free: 9.844 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.427e-05/0.2979, allocations: 12.33 kB / 334.6 MB, free: 9.832 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2979, allocations: 15.92 kB / 334.6 MB, free: 9.816 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.298, allocations: 15.98 kB / 334.6 MB, free: 9.801 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.298, allocations: 83.27 kB / 334.7 MB, free: 9.719 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.298, allocations: 4.031 kB / 334.7 MB, free: 9.715 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.2984, allocations: 87.98 kB / 334.8 MB, free: 9.629 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.0005938/0.299, allocations: 312.7 kB / 335.1 MB, free: 9.324 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.301, allocations: 2.138 MB / 337.3 MB, free: 7.16 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.301, allocations: 3.938 kB / 337.3 MB, free: 7.156 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.3027, allocations: 2.174 MB / 339.4 MB, free: 4.957 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.3029, allocations: 32.05 kB / 339.5 MB, free: 4.926 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.3035, allocations: 409.4 kB / 339.9 MB, free: 4.492 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3038, allocations: 0.7206 MB / 340.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.696e-06/0.3038, allocations: 0 / 340.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.3039, allocations: 11.42 kB / 340.6 MB, free: 3.734 MB / 270.1 MB Notification: Performance of SimCode: time 3e-07/0.3039, allocations: 0 / 340.6 MB, free: 3.734 MB / 270.1 MB Notification: Performance of Templates: time 0.006217/0.3101, allocations: 2.992 MB / 343.6 MB, free: 0.7383 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)