Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007725/0.007725, allocations: 175.3 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.537/1.537, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00184/0.00184, allocations: 116.6 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.181/0.181, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005563/0.0005565, allocations: 12.53 kB / 406.2 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1465, allocations: 54.87 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.2733, allocations: 80.5 MB / 0.5288 GB, free: 2.688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.2736, allocations: 63.92 kB / 0.5289 GB, free: 2.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2609/0.5345, allocations: 5.017 MB / 0.5338 GB, free: 82.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5346, allocations: 0 / 0.5338 GB, free: 82.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.5346, allocations: 5.844 kB / 0.5338 GB, free: 82.31 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005126/0.5351, allocations: 478 kB / 0.5343 GB, free: 81.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5352, allocations: 11.72 kB / 0.5343 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.5352, allocations: 19.86 kB / 0.5343 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/0.5353, allocations: 178.6 kB / 0.5345 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.5353, allocations: 16.5 kB / 0.5345 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.5354, allocations: 22.92 kB / 0.5345 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.5356, allocations: 129 kB / 0.5346 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.5356, allocations: 0 / 0.5346 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.5356, allocations: 0.5625 kB / 0.5346 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.5356, allocations: 0 / 0.5346 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.5358, allocations: 102.7 kB / 0.5347 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.536, allocations: 227.8 kB / 0.5349 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.5362, allocations: 167.5 kB / 0.5351 GB, free: 81.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.5362, allocations: 0 / 0.5351 GB, free: 81.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.5364, allocations: 161.9 kB / 0.5353 GB, free: 81.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 1.032e-06/0.5364, allocations: 7.938 kB / 0.5353 GB, free: 81.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.001529/0.5379, allocations: 0.866 MB / 0.5361 GB, free: 81.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.5381, allocations: 107.4 kB / 0.5362 GB, free: 81.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.5382, allocations: 112.5 kB / 0.5363 GB, free: 81.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.5383, allocations: 70.19 kB / 0.5364 GB, free: 81.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.5383, allocations: 94.41 kB / 0.5365 GB, free: 80.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.5385, allocations: 128.6 kB / 0.5366 GB, free: 80.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.5385, allocations: 18.72 kB / 0.5366 GB, free: 80.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5386, allocations: 351.7 kB / 0.5369 GB, free: 80.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.539, allocations: 181.2 kB / 0.5371 GB, free: 80.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.5396, allocations: 0.5275 MB / 0.5376 GB, free: 80.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.5402, allocations: 268.9 kB / 0.5379 GB, free: 80.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.5402, allocations: 2.812 kB / 0.5379 GB, free: 80.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001435/0.5416, allocations: 0.7296 MB / 0.5386 GB, free: 79.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.5417, allocations: 15.72 kB / 0.5386 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.5417, allocations: 12.25 kB / 0.5386 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.034e-05/0.5417, allocations: 22.94 kB / 0.5387 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.5421, allocations: 118.1 kB / 0.5388 GB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.973e-05/0.5422, allocations: 27.38 kB / 0.5388 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.5425, allocations: 60.97 kB / 0.5389 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.5425, allocations: 41.44 kB / 0.5389 GB, free: 79.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 ($PRE.state33[33],state33[33],$PRE.state33[32],state33[32],$PRE.state33[31],state33[31],$PRE.state33[30],state33[30],$PRE.state33[29],state33[29],$PRE.state33[28],state33[28],$PRE.state33[27],state33[27],$PRE.state33[26],state33[26],$PRE.state33[25],state33[25],$PRE.state33[24],state33[24],$PRE.state33[23],state33[23],$PRE.state33[22],state33[22],$PRE.state33[21],state33[21],$PRE.state33[20],state33[20],$PRE.state33[19],state33[19],$PRE.state33[18],state33[18],$PRE.state33[17],state33[17],$PRE.state33[16],state33[16],$PRE.state33[15],state33[15],$PRE.state33[14],state33[14],$PRE.state33[13],state33[13],$PRE.state33[12],state33[12],$PRE.state33[11],state33[11],$PRE.state33[10],state33[10],$PRE.state33[9],state33[9],$PRE.state33[8],state33[8],$PRE.state33[7],state33[7],$PRE.state33[6],state33[6],$PRE.state33[5],state33[5],$PRE.state33[4],state33[4],$PRE.state33[3],state33[3],$PRE.state33[2],state33[2],$PRE.state33[1],state33[1],$PRE.state4c[4],state4c[4],$PRE.state4c[3],state4c[3],$PRE.state4c[2],state4c[2],$PRE.state4c[1],state4c[1],$PRE.state4b[4],state4b[4],$PRE.state4b[3],state4b[3],$PRE.state4b[2],state4b[2],$PRE.state4b[1],state4b[1],$PRE.state4a[4],state4a[4],$PRE.state4a[3],state4a[3],$PRE.state4a[2],state4a[2],$PRE.state4a[1],state4a[1],$PRE.state2[2],state2[2],$PRE.state2[1],state2[1],$PRE.r33,r33,$PRE.r4c,r4c,$PRE.r4b,r4b,$PRE.r4a,r4a,$PRE.r2,r2,$PRE.result,result,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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.0003297/0.5429, allocations: 246 kB / 0.5391 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.5429, allocations: 10.88 kB / 0.5391 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.5429, allocations: 7.188 kB / 0.5391 GB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5429, allocations: 4.5 kB / 0.5391 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.543, allocations: 5.219 kB / 0.5392 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.543, allocations: 0.6094 kB / 0.5392 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.5431, allocations: 202.3 kB / 0.5393 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5432, allocations: 0 / 0.5393 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-06/0.5432, allocations: 1.859 kB / 0.5393 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5432, allocations: 0.9375 kB / 0.5393 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.5432, allocations: 1.812 kB / 0.5394 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5432, allocations: 4.594 kB / 0.5394 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5432, allocations: 1.281 kB / 0.5394 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.5443, allocations: 0.6142 MB / 0.54 GB, free: 79.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.5444, allocations: 94.91 kB / 0.54 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.5444, allocations: 2.016 kB / 0.54 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.449e-05/0.5444, allocations: 0.5625 kB / 0.54 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.5444, allocations: 6.656 kB / 0.5401 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.5445, allocations: 1.625 kB / 0.5401 GB, free: 79.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.494e-05/0.5445, allocations: 75.28 kB / 0.5401 GB, free: 79.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.5445, allocations: 0 / 0.5401 GB, free: 79.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006679/0.5451, allocations: 112 kB / 0.5402 GB, free: 79.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000617/0.5458, allocations: 293.8 kB / 0.5405 GB, free: 79.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007071/0.5465, allocations: 463.8 kB / 0.541 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5465, allocations: 1.281 kB / 0.541 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.5467, allocations: 162.2 kB / 0.5411 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.5468, allocations: 10.45 kB / 0.5411 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.5473, allocations: 442.3 kB / 0.5415 GB, free: 78.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.5475, allocations: 0.7359 MB / 0.5423 GB, free: 78.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.5477, allocations: 43.95 kB / 0.5423 GB, free: 78.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.5477, allocations: 21.89 kB / 0.5423 GB, free: 78.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5477, allocations: 0 / 0.5423 GB, free: 78.11 MB / 378.7 MB Notification: Performance of Templates: time 0.006612/0.5543, allocations: 3.034 MB / 0.5453 GB, free: 77.74 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1)