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.001099/0.001099, allocations: 181.8 kB / 7.651 MB, free: 1.402 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.853/1.853, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001704/0.001704, allocations: 114 kB / 247.4 MB, free: 6.219 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.2021/0.2021, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.459e-05/1.463e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.5034, allocations: 79.74 MB / 0.5156 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.5036, allocations: 64.8 kB / 0.5156 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009697/0.5133, allocations: 5.012 MB / 0.5205 GB, free: 9.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5134, allocations: 0 / 0.5205 GB, free: 9.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.5134, allocations: 4.594 kB / 0.5205 GB, free: 9.281 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.0003841/0.5138, allocations: 475.2 kB / 0.521 GB, free: 8.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.5138, allocations: 7.719 kB / 0.521 GB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.5139, allocations: 23.27 kB / 0.521 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.385e-05/0.514, allocations: 181.1 kB / 0.5212 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.514, allocations: 0 / 0.5212 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.514, allocations: 11.62 kB / 0.5212 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001068/0.5141, allocations: 95.09 kB / 0.5213 GB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.5142, allocations: 133.6 kB / 0.5214 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5142, allocations: 4 kB / 0.5214 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.5143, allocations: 3.984 kB / 0.5214 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.5143, allocations: 3.953 kB / 0.5214 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.5144, allocations: 160.9 kB / 0.5216 GB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.5145, allocations: 166.8 kB / 0.5217 GB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.435e-05/0.5146, allocations: 155 kB / 0.5219 GB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.5146, allocations: 0 / 0.5219 GB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.5148, allocations: 165.3 kB / 0.522 GB, free: 8.262 MB / 346.7 MB Notification: Performance of pre-optimization done (n=54): time 1.202e-06/0.5148, allocations: 0 / 0.522 GB, free: 8.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.0006899/0.5155, allocations: 0.5737 MB / 0.5226 GB, free: 8.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5155, allocations: 105 kB / 0.5227 GB, free: 8.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.895e-05/0.5156, allocations: 118.6 kB / 0.5228 GB, free: 8.008 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.5156, allocations: 56.64 kB / 0.5229 GB, free: 7.969 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.949e-05/0.5156, allocations: 85.3 kB / 0.5229 GB, free: 7.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.5157, allocations: 122.2 kB / 0.5231 GB, free: 7.816 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.5157, allocations: 0 / 0.5231 GB, free: 7.816 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.5158, allocations: 345 kB / 0.5234 GB, free: 7.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.516, allocations: 163.5 kB / 0.5235 GB, free: 7.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.5163, allocations: 0.5027 MB / 0.524 GB, free: 6.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.5166, allocations: 246.1 kB / 0.5243 GB, free: 6.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5166, allocations: 3.844 kB / 0.5243 GB, free: 6.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007306/0.5173, allocations: 0.6221 MB / 0.5249 GB, free: 6.723 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5174, allocations: 7.594 kB / 0.5249 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5174, allocations: 16.34 kB / 0.5249 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.5174, allocations: 19.22 kB / 0.5249 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.5178, allocations: 122.5 kB / 0.525 GB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/0.5178, allocations: 27.23 kB / 0.5251 GB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.518, allocations: 50.41 kB / 0.5251 GB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.518, allocations: 37.5 kB / 0.5251 GB, free: 6.645 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.0001468/0.5182, allocations: 209.7 kB / 0.5253 GB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.5182, allocations: 15.64 kB / 0.5254 GB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.5182, allocations: 5.969 kB / 0.5254 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5182, allocations: 0 / 0.5254 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5182, allocations: 0 / 0.5254 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5182, allocations: 0 / 0.5254 GB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.231e-05/0.5183, allocations: 154 kB / 0.5255 GB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5183, allocations: 0 / 0.5255 GB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-06/0.5183, allocations: 7.781 kB / 0.5255 GB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5183, allocations: 0 / 0.5255 GB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.5183, allocations: 0 / 0.5255 GB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5184, allocations: 0 / 0.5255 GB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5184, allocations: 3.938 kB / 0.5255 GB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.519, allocations: 0.6105 MB / 0.5261 GB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.5191, allocations: 100.3 kB / 0.5262 GB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.5191, allocations: 0 / 0.5262 GB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.183e-05/0.5191, allocations: 4.031 kB / 0.5262 GB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.5191, allocations: 3.984 kB / 0.5262 GB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.5191, allocations: 7.75 kB / 0.5262 GB, free: 6.047 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.477e-05/0.5192, allocations: 75.28 kB / 0.5263 GB, free: 5.973 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5192, allocations: 0 / 0.5263 GB, free: 5.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000435/0.5196, allocations: 91.98 kB / 0.5264 GB, free: 5.957 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.0005232/0.5201, allocations: 273.2 kB / 0.5266 GB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.5206, allocations: 429.3 kB / 0.5271 GB, free: 5.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5206, allocations: 0 / 0.5271 GB, free: 5.723 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.827e-05/0.5207, allocations: 158.7 kB / 0.5272 GB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.493e-05/0.5208, allocations: 3.969 kB / 0.5272 GB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.5212, allocations: 339.1 kB / 0.5275 GB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.5213, allocations: 0.7398 MB / 0.5283 GB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.69e-05/0.5214, allocations: 42.27 kB / 0.5283 GB, free: 4.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.5214, allocations: 22.94 kB / 0.5283 GB, free: 4.809 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5215, allocations: 0 / 0.5283 GB, free: 4.809 MB / 346.7 MB Notification: Performance of Templates: time 0.004972/0.5264, allocations: 3.026 MB / 0.5313 GB, free: 3.102 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)