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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002641/0.002641, allocations: 187.2 kB / 7.46 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.401/1.401, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001757/0.001757, allocations: 121.5 kB / 247.1 MB, free: 6.324 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.1886/0.1886, allocations: 39.93 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.682e-06/6.712e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.0961, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2996/0.3958, allocations: 79.67 MB / 0.515 GB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.396, allocations: 59.45 kB / 0.515 GB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01267/0.4087, allocations: 4.704 MB / 0.5196 GB, free: 9.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4088, allocations: 2.594 kB / 0.5196 GB, free: 9.227 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.0005438/0.4093, allocations: 475.8 kB / 0.5201 GB, free: 8.789 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4094, allocations: 8.125 kB / 0.5201 GB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.4095, allocations: 20.44 kB / 0.5201 GB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.4095, allocations: 170.8 kB / 0.5203 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.4096, allocations: 12.14 kB / 0.5203 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.4096, allocations: 12.34 kB / 0.5203 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001449/0.4098, allocations: 91.67 kB / 0.5204 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.4099, allocations: 131.2 kB / 0.5205 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.4099, allocations: 3.906 kB / 0.5205 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.41, allocations: 0 / 0.5205 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.41, allocations: 1 kB / 0.5205 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.4102, allocations: 171.4 kB / 0.5207 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.4103, allocations: 165.6 kB / 0.5208 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.4105, allocations: 156.6 kB / 0.521 GB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.4105, allocations: 0 / 0.521 GB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.4107, allocations: 159.3 kB / 0.5211 GB, free: 8.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=54): time 9.02e-07/0.4107, allocations: 0 / 0.5211 GB, free: 8.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.0007984/0.4115, allocations: 0.5399 MB / 0.5216 GB, free: 8.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.4116, allocations: 107.1 kB / 0.5217 GB, free: 8.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.815e-05/0.4117, allocations: 119.4 kB / 0.5219 GB, free: 7.953 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.4117, allocations: 53.25 kB / 0.5219 GB, free: 7.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.4118, allocations: 84.52 kB / 0.522 GB, free: 7.832 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.4119, allocations: 132.8 kB / 0.5221 GB, free: 7.754 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.4119, allocations: 0 / 0.5221 GB, free: 7.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4121, allocations: 345.2 kB / 0.5225 GB, free: 7.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.4124, allocations: 165.2 kB / 0.5226 GB, free: 7.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.4128, allocations: 0.5086 MB / 0.5231 GB, free: 6.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.4132, allocations: 262 kB / 0.5234 GB, free: 6.859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.4132, allocations: 2.594 kB / 0.5234 GB, free: 6.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009112/0.4141, allocations: 0.6389 MB / 0.524 GB, free: 6.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4141, allocations: 5 kB / 0.524 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.4141, allocations: 11.44 kB / 0.524 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.535e-05/0.4142, allocations: 19.97 kB / 0.524 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.4146, allocations: 112.8 kB / 0.5241 GB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.4146, allocations: 29.23 kB / 0.5242 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.4148, allocations: 48.84 kB / 0.5242 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.4149, allocations: 40.12 kB / 0.5242 GB, free: 6.594 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.0001997/0.4151, allocations: 193.7 kB / 0.5244 GB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.4151, allocations: 17.91 kB / 0.5244 GB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.4152, allocations: 9.578 kB / 0.5244 GB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4152, allocations: 1.281 kB / 0.5244 GB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4152, allocations: 3.984 kB / 0.5245 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4152, allocations: 0 / 0.5245 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.4153, allocations: 146.5 kB / 0.5246 GB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4153, allocations: 3.938 kB / 0.5246 GB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-06/0.4153, allocations: 13.25 kB / 0.5246 GB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4153, allocations: 0 / 0.5246 GB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.4154, allocations: 1.281 kB / 0.5246 GB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4154, allocations: 0 / 0.5246 GB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4154, allocations: 1.281 kB / 0.5246 GB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007276/0.4161, allocations: 0.5676 MB / 0.5252 GB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.4162, allocations: 105.5 kB / 0.5253 GB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.4162, allocations: 1.281 kB / 0.5253 GB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.327e-05/0.4162, allocations: 4.031 kB / 0.5253 GB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.4162, allocations: 1.344 kB / 0.5253 GB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.4162, allocations: 1.344 kB / 0.5253 GB, free: 6.008 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.006e-05/0.4163, allocations: 75.72 kB / 0.5253 GB, free: 5.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006687/0.4169, allocations: 93.55 kB / 0.5254 GB, free: 5.914 MB / 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.000551/0.4175, allocations: 269 kB / 0.5257 GB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.4181, allocations: 438.3 kB / 0.5261 GB, free: 5.695 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4181, allocations: 0 / 0.5261 GB, free: 5.695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.4183, allocations: 164.4 kB / 0.5263 GB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.4184, allocations: 2.438 kB / 0.5263 GB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/0.4189, allocations: 346.8 kB / 0.5266 GB, free: 5.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.4192, allocations: 0.7547 MB / 0.5273 GB, free: 4.801 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4192, allocations: 0 / 0.5273 GB, free: 4.801 MB / 346.7 MB Notification: Performance of Templates: time 0.007032/0.4262, allocations: 3.825 MB / 0.5311 GB, free: 2.664 MB / 346.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)