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.001235/0.001235, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001342/0.001342, allocations: 177.3 kB / 15.94 MB, free: 228 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.482/1.482, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.3347/0.3347, allocations: 40 MB / 310.4 MB, free: 10.05 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.0007447/0.0007448, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1198, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0006356/0.1205, allocations: 260.4 kB / 437 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1217, allocations: 0.5423 MB / 437.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.1217, allocations: 0 / 437.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.056e-05/0.1218, allocations: 7.938 kB / 437.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.147e-06/0.1219, allocations: 4 kB / 437.6 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.1228, allocations: 167.5 kB / 437.7 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.1229, allocations: 19.98 kB / 437.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.1229, allocations: 0 / 437.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.1229, allocations: 23.92 kB / 437.8 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.878e-05/0.123, allocations: 11.98 kB / 437.8 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.123, allocations: 0 / 437.8 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.1234, allocations: 127.8 kB / 437.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.1235, allocations: 63.83 kB / 438 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.1235, allocations: 45.64 kB / 438 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1238, allocations: 139.8 kB / 438.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.1238, allocations: 0 / 438.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1238, allocations: 4 kB / 438.2 MB, free: 1.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1238, allocations: 0 / 438.2 MB, free: 1.148 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.0005018/0.1243, allocations: 472.4 kB / 438.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1243, allocations: 12.03 kB / 438.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.1244, allocations: 19.77 kB / 438.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.1245, allocations: 178.9 kB / 438.8 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.1245, allocations: 12 kB / 438.8 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1246, allocations: 20 kB / 438.9 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.1248, allocations: 140.2 kB / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1248, allocations: 0 / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1248, allocations: 0 / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1248, allocations: 0 / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.996e-05/0.1249, allocations: 100.4 kB / 439.1 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.1252, allocations: 222.2 kB / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1253, allocations: 163 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.1253, allocations: 4.031 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.1256, allocations: 165.9 kB / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=54): time 1.292e-06/0.1256, allocations: 0 / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.001299/0.1269, allocations: 0.8646 MB / 440.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/0.127, allocations: 107.8 kB / 440.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.1271, allocations: 121.7 kB / 440.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.088e-05/0.1272, allocations: 69.67 kB / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.1273, allocations: 89.45 kB / 440.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.1274, allocations: 138.5 kB / 441 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.1274, allocations: 20 kB / 441 MB, free: 14.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1276, allocations: 354.7 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.1279, allocations: 181.9 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.1285, allocations: 0.5291 MB / 442.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.1289, allocations: 267.7 kB / 442.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.1289, allocations: 8 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001064/0.13, allocations: 0.7316 MB / 443.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.1301, allocations: 8 kB / 443.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.1301, allocations: 12 kB / 443.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/0.1301, allocations: 20 kB / 443.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.1305, allocations: 119.7 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/0.1305, allocations: 27.86 kB / 443.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.1307, allocations: 67.33 kB / 443.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.1308, allocations: 40.34 kB / 443.4 MB, free: 11.53 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.0002285/0.131, allocations: 249.4 kB / 443.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.131, allocations: 11.81 kB / 443.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.1311, allocations: 9.875 kB / 443.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1311, allocations: 0 / 443.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1311, allocations: 0 / 443.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1311, allocations: 7.984 kB / 443.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1313, allocations: 201.7 kB / 443.9 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1313, allocations: 0 / 443.9 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-06/0.1313, allocations: 0 / 443.9 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1313, allocations: 0 / 443.9 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1314, allocations: 4 kB / 443.9 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1314, allocations: 0 / 443.9 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1314, allocations: 4 kB / 443.9 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.1322, allocations: 0.6147 MB / 444.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1322, allocations: 96.8 kB / 444.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.1322, allocations: 0 / 444.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.267e-05/0.1323, allocations: 4 kB / 444.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.1323, allocations: 0 / 444.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1323, allocations: 0 / 444.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.664e-05/0.1323, allocations: 83.3 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1323, allocations: 4.031 kB / 444.7 MB, free: 10.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004782/0.1328, allocations: 92 kB / 444.7 MB, free: 10.07 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.0005542/0.1334, allocations: 267.3 kB / 445 MB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.134, allocations: 461.5 kB / 445.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.134, allocations: 64 / 445.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.1342, allocations: 164.4 kB / 445.6 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.1343, allocations: 7.953 kB / 445.6 MB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.1349, allocations: 454.8 kB / 446.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1351, allocations: 0.7375 MB / 446.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.578e-05/0.1352, allocations: 43.58 kB / 446.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.1353, allocations: 23.44 kB / 446.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1353, allocations: 0 / 446.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of Templates: time 0.005778/0.1411, allocations: 2.777 MB / 449.7 MB, free: 5.105 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: