Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001451/0.001452, 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.001841/0.001841, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.672/1.672, allocations: 205.1 MB / 222 MB, free: 4.73 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.001334/0.001334, allocations: 55.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2667, allocations: 46.62 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002388/0.2691, allocations: 1.285 MB / 326 MB, free: 0.9062 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.27, allocations: 482.1 kB / 326.4 MB, free: 0.5625 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.2701, allocations: 4 kB / 326.4 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.2701, allocations: 0 / 326.4 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.2705, allocations: 65.06 kB / 326.5 MB, free: 0.5156 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.2707, allocations: 54.06 kB / 326.5 MB, free: 488 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 7.224e-05/0.2707, allocations: 39.12 kB / 326.6 MB, free: 468 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.2708, allocations: 2.406 kB / 326.6 MB, free: 468 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.21e-05/0.2708, allocations: 20.41 kB / 326.6 MB, free: 456 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.2709, allocations: 14.81 kB / 326.6 MB, free: 448 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.2709, allocations: 2.125 kB / 326.6 MB, free: 448 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.2711, allocations: 116.7 kB / 326.7 MB, free: 384 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.2712, allocations: 40.02 kB / 326.8 MB, free: 364 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.2712, allocations: 50.22 kB / 326.8 MB, free: 332 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.2715, allocations: 168.1 kB / 327 MB, free: 236 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2715, allocations: 1.094 kB / 327 MB, free: 236 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2715, allocations: 0 / 327 MB, free: 236 kB / 254.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2715, allocations: 0 / 327 MB, free: 236 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.0006381/0.2721, allocations: 0.5713 MB / 327.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2722, allocations: 9.094 kB / 327.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.2723, allocations: 23.58 kB / 327.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.2725, allocations: 189.5 kB / 327.8 MB, free: 15.47 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2725, allocations: 8.312 kB / 327.8 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.2725, allocations: 2.969 kB / 327.8 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.2728, allocations: 269.8 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2729, allocations: 192 / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2729, allocations: 6.094 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2729, allocations: 1.094 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.273, allocations: 146.6 kB / 328.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.2732, allocations: 206.1 kB / 328.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.2736, allocations: 488.8 kB / 328.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.274, allocations: 473.7 kB / 329.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.274, allocations: 0 / 329.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004532/0.2744, allocations: 485.3 kB / 329.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 9.82e-07/0.2745, allocations: 3.938 kB / 329.8 MB, free: 14.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008478/0.2753, allocations: 0.7175 MB / 330.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.2754, allocations: 157 kB / 330.7 MB, free: 13.56 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.2755, allocations: 104.4 kB / 330.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.2756, allocations: 31.14 kB / 330.8 MB, free: 13.42 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.2756, allocations: 86.7 kB / 330.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.402e-05/0.2757, allocations: 81.41 kB / 331 MB, free: 13.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.2758, allocations: 43.16 kB / 331 MB, free: 13.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2759, allocations: 327.6 kB / 331.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.276, allocations: 84.12 kB / 331.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.2761, allocations: 109.8 kB / 331.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.2765, allocations: 424.3 kB / 332 MB, free: 12.52 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2765, allocations: 4.031 kB / 332 MB, free: 12.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003532/0.2769, allocations: 344.7 kB / 332.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.367e-05/0.277, allocations: 111.3 kB / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.277, allocations: 0 / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.277, allocations: 0 / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.277, allocations: 0 / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.277, allocations: 4 kB / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.2771, allocations: 19.75 kB / 332.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2771, allocations: 15.98 kB / 332.4 MB, free: 12 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.0002857/0.2774, allocations: 295.8 kB / 332.7 MB, free: 11.69 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.2775, allocations: 28.08 kB / 332.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.025e-05/0.2775, allocations: 5.562 kB / 332.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2775, allocations: 3.984 kB / 332.8 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2775, allocations: 8 kB / 332.8 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2775, allocations: 3.984 kB / 332.8 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.2777, allocations: 237.2 kB / 333 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2777, allocations: 4 kB / 333 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.2777, allocations: 0 / 333 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2777, allocations: 3.938 kB / 333 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.2777, allocations: 19.98 kB / 333 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2778, allocations: 0 / 333 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2778, allocations: 0 / 333 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.2789, allocations: 1.232 MB / 334.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.279, allocations: 92.86 kB / 334.4 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.2791, allocations: 71.88 kB / 334.4 MB, free: 9.887 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.259e-05/0.2792, allocations: 8 kB / 334.4 MB, free: 9.879 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2792, allocations: 15.98 kB / 334.5 MB, free: 9.863 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.2793, allocations: 19.98 kB / 334.5 MB, free: 9.844 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.695e-05/0.2793, allocations: 75.28 kB / 334.5 MB, free: 9.77 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2793, allocations: 4.031 kB / 334.6 MB, free: 9.766 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.2796, allocations: 91.98 kB / 334.6 MB, free: 9.676 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.0005569/0.2802, allocations: 305.4 kB / 334.9 MB, free: 9.375 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.2819, allocations: 2.135 MB / 337.1 MB, free: 7.215 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.2819, allocations: 0 / 337.1 MB, free: 7.215 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.2834, allocations: 2.186 MB / 339.3 MB, free: 5.004 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.2836, allocations: 21.34 kB / 339.3 MB, free: 4.984 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.2842, allocations: 421.9 kB / 339.7 MB, free: 4.539 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.2845, allocations: 0.7208 MB / 340.4 MB, free: 3.793 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 1.148e-05/0.2845, allocations: 0 / 340.4 MB, free: 3.793 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.2845, allocations: 11.44 kB / 340.4 MB, free: 3.781 MB / 270.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2845, allocations: 0 / 340.4 MB, free: 3.781 MB / 270.1 MB Notification: Performance of Templates: time 0.00566/0.2902, allocations: 2.809 MB / 343.2 MB, free: 0.9688 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1)