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/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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002632/0.002632, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 222 MB, free: 4.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3862/0.3862, allocations: 39.93 MB / 309.3 MB, free: 9.379 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 71.91 kB / 376.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1419, allocations: 56.88 MB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002224/0.1442, allocations: 0.5947 MB / 434.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1455, allocations: 0.6106 MB / 435 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.1456, allocations: 3.938 kB / 435 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.79e-05/0.1457, allocations: 0 / 435 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.767e-06/0.1457, allocations: 7.938 kB / 435 MB, free: 2.891 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:820:5-907:22:writable] Warning: Pure function ‘ModelicaTest.Math.Random.randomNumbers‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.1464, allocations: 167.6 kB / 435.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.1465, allocations: 23.97 kB / 435.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.915e-05/0.1466, allocations: 4 kB / 435.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.1466, allocations: 19.91 kB / 435.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.1467, allocations: 16.5 kB / 435.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1467, allocations: 4 kB / 435.3 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.147, allocations: 159.8 kB / 435.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.927e-05/0.1471, allocations: 56.44 kB / 435.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.1472, allocations: 59.55 kB / 435.5 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.1475, allocations: 199.4 kB / 435.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1475, allocations: 0 / 435.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1475, allocations: 0 / 435.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1475, allocations: 0 / 435.7 MB, free: 2.195 MB / 366.1 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.0005737/0.1481, allocations: 492.7 kB / 436.2 MB, free: 1.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1482, allocations: 12.03 kB / 436.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.1482, allocations: 20.75 kB / 436.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1483, allocations: 184.1 kB / 436.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1484, allocations: 12.38 kB / 436.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1484, allocations: 20.38 kB / 436.4 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1486, allocations: 132.4 kB / 436.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1486, allocations: 0 / 436.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1486, allocations: 0 / 436.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1486, allocations: 0 / 436.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.1487, allocations: 96.34 kB / 436.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.149, allocations: 234.2 kB / 436.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1491, allocations: 174.9 kB / 437.1 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1493, allocations: 153.7 kB / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-06/0.1493, allocations: 0 / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.1495, allocations: 161.9 kB / 437.4 MB, free: 380 kB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 1.082e-06/0.1495, allocations: 0 / 437.4 MB, free: 380 kB / 366.1 MB Notification: Performance of matching and sorting (n=54): time 0.001071/0.1506, allocations: 0.785 MB / 438.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.1507, allocations: 99.8 kB / 438.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.1508, allocations: 125.6 kB / 438.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/0.1508, allocations: 65.69 kB / 438.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.1509, allocations: 93.45 kB / 438.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.151, allocations: 134.5 kB / 438.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.1512, allocations: 158.7 kB / 438.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1513, allocations: 342.8 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.1516, allocations: 189.9 kB / 439.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.152, allocations: 0.5292 MB / 439.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.1528, allocations: 0.7827 MB / 440.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1528, allocations: 4 kB / 440.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009572/0.1538, allocations: 0.7434 MB / 441.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.1538, allocations: 12.19 kB / 441.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.1539, allocations: 19.98 kB / 441.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.1539, allocations: 16 kB / 441.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.1543, allocations: 119.7 kB / 441.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/0.1543, allocations: 19.94 kB / 441.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.1545, allocations: 67.34 kB / 441.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.1546, allocations: 36 kB / 441.7 MB, free: 11.67 MB / 382.1 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 (state33[33],$PRE.state33[33],state33[32],$PRE.state33[32],state33[31],$PRE.state33[31],state33[30],$PRE.state33[30],state33[29],$PRE.state33[29],state33[28],$PRE.state33[28],state33[27],$PRE.state33[27],state33[26],$PRE.state33[26],state33[25],$PRE.state33[25],state33[24],$PRE.state33[24],state33[23],$PRE.state33[23],state33[22],$PRE.state33[22],state33[21],$PRE.state33[21],state33[20],$PRE.state33[20],state33[19],$PRE.state33[19],state33[18],$PRE.state33[18],state33[17],$PRE.state33[17],state33[16],$PRE.state33[16],state33[15],$PRE.state33[15],state33[14],$PRE.state33[14],state33[13],$PRE.state33[13],state33[12],$PRE.state33[12],state33[11],$PRE.state33[11],state33[10],$PRE.state33[10],state33[9],$PRE.state33[9],state33[8],$PRE.state33[8],state33[7],$PRE.state33[7],state33[6],$PRE.state33[6],state33[5],$PRE.state33[5],state33[4],$PRE.state33[4],state33[3],$PRE.state33[3],state33[2],$PRE.state33[2],state33[1],$PRE.state33[1],state4c[4],$PRE.state4c[4],state4c[3],$PRE.state4c[3],state4c[2],$PRE.state4c[2],state4c[1],$PRE.state4c[1],state4b[4],$PRE.state4b[4],state4b[3],$PRE.state4b[3],state4b[2],$PRE.state4b[2],state4b[1],$PRE.state4b[1],state4a[4],$PRE.state4a[4],state4a[3],$PRE.state4a[3],state4a[2],$PRE.state4a[2],state4a[1],$PRE.state4a[1],state2[2],$PRE.state2[2],state2[1],$PRE.state2[1],r33,$PRE.r33,r4c,$PRE.r4c,r4b,$PRE.r4b,r4a,$PRE.r4a,r2,$PRE.r2,result,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.1549, allocations: 245.4 kB / 441.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.1549, allocations: 23.73 kB / 441.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.155, allocations: 5.875 kB / 442 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.155, allocations: 0 / 442 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.155, allocations: 0 / 442 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.155, allocations: 8 kB / 442 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.1552, allocations: 189.8 kB / 442.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1552, allocations: 0 / 442.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-06/0.1552, allocations: 3.938 kB / 442.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1552, allocations: 3.938 kB / 442.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1552, allocations: 8 kB / 442.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1552, allocations: 0 / 442.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1552, allocations: 0 / 442.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/0.1561, allocations: 0.6148 MB / 442.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.1561, allocations: 104.8 kB / 442.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1562, allocations: 0 / 442.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.1562, allocations: 3.984 kB / 442.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.1562, allocations: 7.938 kB / 442.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1562, allocations: 0 / 442.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.587e-05/0.1563, allocations: 79.28 kB / 443 MB, free: 10.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1563, allocations: 0 / 443 MB, free: 10.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005284/0.1568, allocations: 95.98 kB / 443.1 MB, free: 10.19 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005888/0.1574, allocations: 255.9 kB / 443.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005536/0.158, allocations: 469.5 kB / 443.8 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.158, allocations: 0 / 443.8 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1581, allocations: 160.3 kB / 443.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.1583, allocations: 11.94 kB / 443.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.1589, allocations: 478.9 kB / 444.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1592, allocations: 0.7258 MB / 445.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.639e-05/0.1593, allocations: 47.58 kB / 445.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.1594, allocations: 23.44 kB / 445.2 MB, free: 8.008 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1594, allocations: 0 / 445.2 MB, free: 8.008 MB / 382.1 MB Notification: Performance of Templates: time 0.005818/0.1652, allocations: 2.833 MB / 448 MB, free: 5.172 MB / 382.1 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)