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.001182/0.001183, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001613/0.001613, allocations: 168.7 kB / 15.95 MB, free: 204 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.628/1.628, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.0005391/0.0005394, allocations: 10.81 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2479, allocations: 47.6 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001073/0.249, allocations: 0.9457 MB / 327.4 MB, free: 0.6133 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007063/0.2497, allocations: 425.8 kB / 327.8 MB, free: 312 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.2498, allocations: 0 / 327.8 MB, free: 312 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.2498, allocations: 5.094 kB / 327.8 MB, free: 308 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.2502, allocations: 55.72 kB / 327.9 MB, free: 272 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.2503, allocations: 52.53 kB / 328 MB, free: 236 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.2504, allocations: 37.78 kB / 328 MB, free: 216 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.2504, allocations: 0 / 328 MB, free: 216 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.2505, allocations: 26.41 kB / 328 MB, free: 200 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.534e-05/0.2505, allocations: 20.48 kB / 328 MB, free: 184 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2505, allocations: 2.125 kB / 328 MB, free: 184 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.2507, allocations: 107.8 kB / 328.1 MB, free: 128 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.2508, allocations: 30.08 kB / 328.2 MB, free: 116 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.2508, allocations: 43.98 kB / 328.2 MB, free: 76 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.251, allocations: 121.3 kB / 328.3 MB, free: 8 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.251, allocations: 0 / 328.3 MB, free: 8 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.251, allocations: 0 / 328.3 MB, free: 8 kB / 254.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.251, allocations: 0 / 328.3 MB, free: 8 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.0006123/0.2516, allocations: 0.5547 MB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2517, allocations: 10.19 kB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.2518, allocations: 18.25 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.252, allocations: 182.7 kB / 329.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.252, allocations: 2.844 kB / 329.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.252, allocations: 5.562 kB / 329.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.2523, allocations: 278 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2524, allocations: 0 / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.2524, allocations: 10.59 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2524, allocations: 0 / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.2526, allocations: 148.9 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.2528, allocations: 193.4 kB / 329.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.2532, allocations: 490.1 kB / 330.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.2535, allocations: 467.7 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.2536, allocations: 9.156 kB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004726/0.254, allocations: 485.5 kB / 331.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 1.262e-06/0.254, allocations: 0 / 331.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009182/0.255, allocations: 0.7076 MB / 331.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.962e-05/0.2551, allocations: 162.8 kB / 332 MB, free: 13.36 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.2552, allocations: 107.5 kB / 332.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2552, allocations: 31.86 kB / 332.1 MB, free: 13.21 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.2552, allocations: 85.12 kB / 332.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.007e-05/0.2553, allocations: 82.22 kB / 332.3 MB, free: 13.06 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.2553, allocations: 3.156 kB / 332.3 MB, free: 13.06 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2555, allocations: 326.2 kB / 332.6 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2556, allocations: 81.28 kB / 332.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.2557, allocations: 112.9 kB / 332.8 MB, free: 12.64 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.2559, allocations: 206.9 kB / 333 MB, free: 12.51 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2559, allocations: 0 / 333 MB, free: 12.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003677/0.2563, allocations: 342.8 kB / 333.4 MB, free: 12.32 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.2564, allocations: 110.6 kB / 333.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2564, allocations: 4 kB / 333.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2564, allocations: 0 / 333.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-06/0.2564, allocations: 7.922 kB / 333.5 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2564, allocations: 0 / 333.5 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.714e-05/0.2565, allocations: 23.75 kB / 333.5 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.2565, allocations: 8 kB / 333.5 MB, free: 12.16 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.0002554/0.2568, allocations: 291.8 kB / 333.8 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.2568, allocations: 27.81 kB / 333.8 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.2568, allocations: 17.5 kB / 333.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2569, allocations: 0 / 333.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2569, allocations: 0 / 333.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2569, allocations: 0 / 333.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.2571, allocations: 233.4 kB / 334.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2571, allocations: 3.938 kB / 334.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.2571, allocations: 0 / 334.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2571, allocations: 4 kB / 334.1 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.2571, allocations: 15.98 kB / 334.1 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2571, allocations: 7.953 kB / 334.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2571, allocations: 4 kB / 334.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.2583, allocations: 1.228 MB / 335.3 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.2583, allocations: 96.84 kB / 335.4 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-05/0.2584, allocations: 67.94 kB / 335.5 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.2585, allocations: 8 kB / 335.5 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.2585, allocations: 11.95 kB / 335.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.2586, allocations: 19.98 kB / 335.5 MB, free: 10.02 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.301e-05/0.2586, allocations: 83.31 kB / 335.6 MB, free: 9.934 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2586, allocations: 0 / 335.6 MB, free: 9.934 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000331/0.2589, allocations: 95.98 kB / 335.7 MB, free: 9.84 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.0005018/0.2595, allocations: 297.8 kB / 336 MB, free: 9.543 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.2612, allocations: 2.123 MB / 338.1 MB, free: 7.395 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2612, allocations: 0 / 338.1 MB, free: 7.395 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.2627, allocations: 2.186 MB / 340.3 MB, free: 5.184 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.2629, allocations: 20.62 kB / 340.3 MB, free: 5.164 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.2636, allocations: 411.4 kB / 340.7 MB, free: 4.73 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.264, allocations: 0.7208 MB / 341.4 MB, free: 3.977 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 1.118e-05/0.264, allocations: 0 / 341.4 MB, free: 3.977 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.2641, allocations: 11.44 kB / 341.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2641, allocations: 0 / 341.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of Templates: time 0.005804/0.2699, allocations: 2.765 MB / 344.2 MB, free: 1.195 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)