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.001308/0.001308, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001422/0.001422, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0006648/0.000665, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2703, allocations: 47.59 MB / 326.4 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001201/0.2716, allocations: 0.947 MB / 327.4 MB, free: 0.6641 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.2724, allocations: 428.7 kB / 327.8 MB, free: 364 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.2724, allocations: 4.844 kB / 327.8 MB, free: 360 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.2725, allocations: 0 / 327.8 MB, free: 360 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.2729, allocations: 56.86 kB / 327.9 MB, free: 320 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.273, allocations: 56.08 kB / 327.9 MB, free: 280 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.726e-05/0.2731, allocations: 27.05 kB / 328 MB, free: 264 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.2731, allocations: 2.531 kB / 328 MB, free: 264 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.2732, allocations: 17.39 kB / 328 MB, free: 256 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.2732, allocations: 21.34 kB / 328 MB, free: 240 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.2732, allocations: 2.312 kB / 328 MB, free: 240 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.2734, allocations: 83.42 kB / 328.1 MB, free: 200 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.2735, allocations: 37.94 kB / 328.1 MB, free: 180 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.2735, allocations: 43.89 kB / 328.2 MB, free: 140 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.2737, allocations: 118.5 kB / 328.3 MB, free: 72 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2737, allocations: 4 kB / 328.3 MB, free: 68 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2737, allocations: 0 / 328.3 MB, free: 68 kB / 254.1 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.2737, allocations: 0 / 328.3 MB, free: 68 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.000574/0.2743, allocations: 0.5544 MB / 328.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2744, allocations: 10.53 kB / 328.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.2745, allocations: 17.22 kB / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2747, allocations: 179.9 kB / 329 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2747, allocations: 1.844 kB / 329 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.2747, allocations: 4.812 kB / 329 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.2751, allocations: 284.7 kB / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2751, allocations: 1.219 kB / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.2751, allocations: 2.25 kB / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2751, allocations: 0 / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.2753, allocations: 143.4 kB / 329.5 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.2755, allocations: 196.8 kB / 329.7 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.2759, allocations: 497.8 kB / 330.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.2759, allocations: 0 / 330.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004687/0.2764, allocations: 485.9 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 3.065e-06/0.2764, allocations: 0 / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.001004/0.2774, allocations: 0.8756 MB / 331.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.2775, allocations: 165.2 kB / 331.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.691e-05/0.2776, allocations: 99.73 kB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2776, allocations: 28.33 kB / 331.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.2777, allocations: 85.12 kB / 331.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/0.2777, allocations: 90.16 kB / 331.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.2777, allocations: 1.125 kB / 331.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2779, allocations: 324.2 kB / 332.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.278, allocations: 85.03 kB / 332.3 MB, free: 12.9 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.781e-05/0.2781, allocations: 108.2 kB / 332.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.2783, allocations: 203.1 kB / 332.7 MB, free: 12.71 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2783, allocations: 1.125 kB / 332.7 MB, free: 12.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003513/0.2786, allocations: 347.1 kB / 333 MB, free: 12.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.2787, allocations: 106.3 kB / 333.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2788, allocations: 11.94 kB / 333.1 MB, free: 12.42 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2788, allocations: 0.8438 kB / 333.1 MB, free: 12.42 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-06/0.2788, allocations: 4.922 kB / 333.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2788, allocations: 0.9688 kB / 333.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.2789, allocations: 26.31 kB / 333.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.2789, allocations: 8 kB / 333.1 MB, free: 12.39 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 ($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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002365/0.2791, allocations: 295.7 kB / 333.4 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.2792, allocations: 23.81 kB / 333.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.27e-05/0.2792, allocations: 17.48 kB / 333.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2792, allocations: 7.953 kB / 333.5 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2792, allocations: 0 / 333.5 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2792, allocations: 0 / 333.5 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.2794, allocations: 233.3 kB / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2794, allocations: 0 / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-07/0.2794, allocations: 0 / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.2794, allocations: 0 / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.2795, allocations: 23.98 kB / 333.7 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2795, allocations: 7.875 kB / 333.7 MB, free: 11.72 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2795, allocations: 3.953 kB / 333.7 MB, free: 11.72 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.2807, allocations: 1.234 MB / 335 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.2807, allocations: 96.86 kB / 335.1 MB, free: 10.33 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-05/0.2808, allocations: 67.94 kB / 335.1 MB, free: 10.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.2809, allocations: 15.98 kB / 335.2 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2809, allocations: 8 kB / 335.2 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.281, allocations: 19.98 kB / 335.2 MB, free: 10.22 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.722e-05/0.281, allocations: 83.27 kB / 335.3 MB, free: 10.14 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.281, allocations: 0 / 335.3 MB, free: 10.14 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.2813, allocations: 88 kB / 335.4 MB, free: 10.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005183/0.2819, allocations: 297 kB / 335.6 MB, free: 9.758 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.2835, allocations: 2.123 MB / 337.8 MB, free: 7.609 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2835, allocations: 0 / 337.8 MB, free: 7.609 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.2851, allocations: 2.186 MB / 340 MB, free: 5.398 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.2853, allocations: 8.625 kB / 340 MB, free: 5.391 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.2858, allocations: 415.5 kB / 340.4 MB, free: 4.953 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.2861, allocations: 0.7325 MB / 341.1 MB, free: 4.188 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.536e-06/0.2861, allocations: 0 / 341.1 MB, free: 4.188 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.2862, allocations: 7.438 kB / 341.1 MB, free: 4.18 MB / 270.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2862, allocations: 4 kB / 341.1 MB, free: 4.176 MB / 270.1 MB Notification: Performance of Templates: time 0.005248/0.2914, allocations: 2.753 MB / 343.9 MB, free: 1.418 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: