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.001002/0.001002, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.713/1.713, allocations: 194.3 MB / 207.5 MB, free: 3.387 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.001616/0.001616, allocations: 123.3 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2412/0.2412, allocations: 39.93 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.412e-05/4.414e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5714, allocations: 80.41 MB / 0.523 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.5716, allocations: 63.84 kB / 0.5231 GB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01028/0.5819, allocations: 5.008 MB / 0.528 GB, free: 6.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.582, allocations: 0 / 0.528 GB, free: 6.195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.582, allocations: 4 kB / 0.528 GB, free: 6.191 MB / 346.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.0005819/0.5826, allocations: 476.1 kB / 0.5284 GB, free: 5.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.723e-05/0.5827, allocations: 8.031 kB / 0.5284 GB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.5827, allocations: 19.77 kB / 0.5284 GB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.5829, allocations: 182.9 kB / 0.5286 GB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.5829, allocations: 15.5 kB / 0.5286 GB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.583, allocations: 23.12 kB / 0.5286 GB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.5832, allocations: 121.5 kB / 0.5288 GB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.5832, allocations: 0 / 0.5288 GB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.5832, allocations: 0 / 0.5288 GB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5832, allocations: 0 / 0.5288 GB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.5833, allocations: 100.7 kB / 0.5289 GB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.5836, allocations: 227.9 kB / 0.5291 GB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.5837, allocations: 170.7 kB / 0.5292 GB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.5839, allocations: 149.9 kB / 0.5294 GB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.5839, allocations: 3.984 kB / 0.5294 GB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.5841, allocations: 163.2 kB / 0.5295 GB, free: 4.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=54): time 1.493e-06/0.5841, allocations: 0 / 0.5295 GB, free: 4.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.0007925/0.5849, allocations: 0.5798 MB / 0.5301 GB, free: 4.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.585, allocations: 103.5 kB / 0.5302 GB, free: 4.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.473e-05/0.585, allocations: 116.2 kB / 0.5303 GB, free: 4.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.5851, allocations: 68.81 kB / 0.5304 GB, free: 3.969 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.5851, allocations: 93.08 kB / 0.5305 GB, free: 3.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-05/0.5852, allocations: 129.2 kB / 0.5306 GB, free: 3.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.5852, allocations: 19.31 kB / 0.5306 GB, free: 3.781 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.5853, allocations: 350.4 kB / 0.5309 GB, free: 3.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.5856, allocations: 171.7 kB / 0.5311 GB, free: 3.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.5859, allocations: 0.5267 MB / 0.5316 GB, free: 2.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.5862, allocations: 265.9 kB / 0.5319 GB, free: 2.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5862, allocations: 0 / 0.5319 GB, free: 2.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007734/0.587, allocations: 0.7218 MB / 0.5326 GB, free: 1.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.587, allocations: 12 kB / 0.5326 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.587, allocations: 15.94 kB / 0.5326 GB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.5871, allocations: 20.75 kB / 0.5326 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.5874, allocations: 115.5 kB / 0.5327 GB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.5874, allocations: 27.92 kB / 0.5328 GB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.5876, allocations: 66.78 kB / 0.5328 GB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.5877, allocations: 43.44 kB / 0.5329 GB, free: 1.578 MB / 346.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 () * 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.000175/0.5878, allocations: 227.8 kB / 0.5331 GB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.5879, allocations: 11.81 kB / 0.5331 GB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.5879, allocations: 5.656 kB / 0.5331 GB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5879, allocations: 0 / 0.5331 GB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5879, allocations: 0 / 0.5331 GB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5879, allocations: 0 / 0.5331 GB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.588, allocations: 200.5 kB / 0.5333 GB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.588, allocations: 0 / 0.5333 GB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-06/0.588, allocations: 0 / 0.5333 GB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.588, allocations: 4 kB / 0.5333 GB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.5881, allocations: 0 / 0.5333 GB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.5881, allocations: 3.984 kB / 0.5333 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5881, allocations: 0 / 0.5333 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.5888, allocations: 0.6136 MB / 0.5339 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.5888, allocations: 96.8 kB / 0.534 GB, free: 496 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.5888, allocations: 7.984 kB / 0.534 GB, free: 488 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.5888, allocations: 0 / 0.534 GB, free: 488 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.5889, allocations: 11.84 kB / 0.534 GB, free: 480 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.5889, allocations: 0 / 0.534 GB, free: 480 kB / 346.7 MB Notification: Performance of sorting global known variables: time 1.707e-05/0.5889, allocations: 75.28 kB / 0.5341 GB, free: 404 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5889, allocations: 0 / 0.5341 GB, free: 404 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004743/0.5894, allocations: 105.8 kB / 0.5342 GB, free: 312 kB / 346.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 () * 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.0005626/0.59, allocations: 272 kB / 0.5344 GB, free: 68 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.5905, allocations: 459.7 kB / 0.5349 GB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5906, allocations: 0 / 0.5349 GB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.5907, allocations: 159 kB / 0.535 GB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.523e-05/0.5908, allocations: 3.953 kB / 0.535 GB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.5913, allocations: 349.8 kB / 0.5354 GB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.5916, allocations: 0.7415 MB / 0.5361 GB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.644e-05/0.5917, allocations: 39.38 kB / 0.5361 GB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.5918, allocations: 23.44 kB / 0.5362 GB, free: 14.47 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5918, allocations: 0 / 0.5362 GB, free: 14.47 MB / 362.7 MB Notification: Performance of Templates: time 0.006341/0.5981, allocations: 3.049 MB / 0.5391 GB, free: 11.45 MB / 362.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)