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.001127/0.001127, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001782/0.001783, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.3875/0.3875, allocations: 40 MB / 310.4 MB, free: 10.19 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.0005964/0.0005964, allocations: 16 kB / 378.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1468, allocations: 57.96 MB / 436.8 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0007828/0.1476, allocations: 262 kB / 437.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1487, allocations: 0.5563 MB / 437.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.1487, allocations: 4 kB / 437.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.587e-05/0.1488, allocations: 3.938 kB / 437.6 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.526e-06/0.1488, allocations: 0 / 437.6 MB, free: 2.043 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.0006077/0.1494, allocations: 167.7 kB / 437.8 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.873e-05/0.1495, allocations: 27.91 kB / 437.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.1496, allocations: 0 / 437.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.894e-05/0.1496, allocations: 19.97 kB / 437.8 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.014e-05/0.1496, allocations: 15.94 kB / 437.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1496, allocations: 4 kB / 437.9 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.1499, allocations: 151.7 kB / 438 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.15, allocations: 67.88 kB / 438.1 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.15, allocations: 45.64 kB / 438.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1502, allocations: 139.8 kB / 438.2 MB, free: 1.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1502, allocations: 0 / 438.2 MB, free: 1.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1502, allocations: 0 / 438.2 MB, free: 1.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1503, allocations: 0 / 438.2 MB, free: 1.41 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.0005028/0.1508, allocations: 468.4 kB / 438.7 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1508, allocations: 12.03 kB / 438.7 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1509, allocations: 19.77 kB / 438.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.151, allocations: 186.8 kB / 438.9 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.151, allocations: 16 kB / 438.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1511, allocations: 19.94 kB / 439 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1512, allocations: 132.3 kB / 439.1 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.1513, allocations: 0 / 439.1 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1513, allocations: 0 / 439.1 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1513, allocations: 0 / 439.1 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1514, allocations: 100.4 kB / 439.2 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.1516, allocations: 218.2 kB / 439.4 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1518, allocations: 175 kB / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.1519, allocations: 157.7 kB / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.1519, allocations: 0 / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.1522, allocations: 162 kB / 439.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=54): time 1.132e-06/0.1522, allocations: 0 / 439.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.00106/0.1533, allocations: 0.7694 MB / 440.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.1533, allocations: 111.7 kB / 440.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.1534, allocations: 117.6 kB / 440.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.1535, allocations: 69.67 kB / 440.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.1535, allocations: 93.45 kB / 441 MB, free: 14.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.1536, allocations: 138.5 kB / 441.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.1537, allocations: 16 kB / 441.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1538, allocations: 342.8 kB / 441.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.1541, allocations: 181.8 kB / 441.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.1548, allocations: 0.5331 MB / 442.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.1552, allocations: 271.7 kB / 442.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.587e-06/0.1552, allocations: 4 kB / 442.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001028/0.1562, allocations: 0.7311 MB / 443.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1563, allocations: 8.938 kB / 443.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.1563, allocations: 12 kB / 443.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.1563, allocations: 20 kB / 443.3 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.1569, allocations: 123.7 kB / 443.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.1569, allocations: 23.92 kB / 443.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.1571, allocations: 63.34 kB / 443.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.1572, allocations: 47.95 kB / 443.5 MB, free: 11.75 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 ($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.0003165/0.1575, allocations: 249.4 kB / 443.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.1575, allocations: 7.812 kB / 443.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.1576, allocations: 5.875 kB / 443.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1576, allocations: 0 / 443.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1576, allocations: 0 / 443.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1576, allocations: 4 kB / 443.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.1578, allocations: 197.7 kB / 444 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1578, allocations: 4 kB / 444 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-06/0.1579, allocations: 0 / 444 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1579, allocations: 0 / 444 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1579, allocations: 7.938 kB / 444 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1579, allocations: 0 / 444 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1579, allocations: 4 kB / 444 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.1588, allocations: 0.6186 MB / 444.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.1589, allocations: 96.8 kB / 444.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1589, allocations: 4 kB / 444.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.1589, allocations: 4.031 kB / 444.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.1589, allocations: 0 / 444.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1589, allocations: 0 / 444.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.299e-05/0.159, allocations: 75.31 kB / 444.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.159, allocations: 0 / 444.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.1595, allocations: 95.98 kB / 444.9 MB, free: 10.29 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 (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.0006608/0.1602, allocations: 271.6 kB / 445.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.1608, allocations: 460.2 kB / 445.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1608, allocations: 0 / 445.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.161, allocations: 164.3 kB / 445.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.1611, allocations: 9.453 kB / 445.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/0.1618, allocations: 458.7 kB / 446.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.1622, allocations: 0.7337 MB / 446.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.93e-05/0.1623, allocations: 47.58 kB / 447 MB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.1624, allocations: 19.44 kB / 447 MB, free: 8.113 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1624, allocations: 0 / 447 MB, free: 8.113 MB / 382.1 MB Notification: Performance of Templates: time 0.006468/0.1688, allocations: 2.77 MB / 449.8 MB, free: 5.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: