Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009509/0.000951, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.2 MB / 218.9 MB, free: 9.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007723/0.0007721, allocations: 86.59 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3196/0.3196, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.201e-05, allocations: 4 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 58.84 MB / 484.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3488/0.4584, allocations: 85.27 MB / 0.5561 GB, free: 3.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.4586, allocations: 59.98 kB / 0.5561 GB, free: 3.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009963/0.4686, allocations: 4.995 MB / 0.561 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4686, allocations: 3.938 kB / 0.561 GB, free: 14.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4687, allocations: 4 kB / 0.561 GB, free: 14.7 MB / 394.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.0004409/0.4691, allocations: 481.1 kB / 0.5615 GB, free: 14.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4692, allocations: 8.031 kB / 0.5615 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.4692, allocations: 23.25 kB / 0.5615 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.4693, allocations: 175 kB / 0.5617 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.4694, allocations: 15.94 kB / 0.5617 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.4694, allocations: 20 kB / 0.5617 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4696, allocations: 132.2 kB / 0.5618 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4696, allocations: 0.5625 kB / 0.5618 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4696, allocations: 4 kB / 0.5618 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4696, allocations: 1.375 kB / 0.5618 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.4697, allocations: 100.4 kB / 0.5619 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.4699, allocations: 222.2 kB / 0.5621 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.47, allocations: 167 kB / 0.5623 GB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.4702, allocations: 153.7 kB / 0.5624 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.4702, allocations: 0 / 0.5624 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.4703, allocations: 170.8 kB / 0.5626 GB, free: 12.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=54): time 1.082e-06/0.4704, allocations: 0 / 0.5626 GB, free: 12.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.0008124/0.4712, allocations: 0.5716 MB / 0.5632 GB, free: 12.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.4712, allocations: 107.8 kB / 0.5633 GB, free: 12.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.051e-05/0.4713, allocations: 116.8 kB / 0.5634 GB, free: 12.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.4714, allocations: 69.67 kB / 0.5635 GB, free: 12.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.4714, allocations: 93.45 kB / 0.5635 GB, free: 11.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.4715, allocations: 130.5 kB / 0.5637 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.4715, allocations: 16 kB / 0.5637 GB, free: 11.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4717, allocations: 346.8 kB / 0.564 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.4719, allocations: 177.9 kB / 0.5642 GB, free: 11.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.4724, allocations: 0.5214 MB / 0.5647 GB, free: 10.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.4727, allocations: 271.6 kB / 0.5649 GB, free: 10.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4727, allocations: 4 kB / 0.565 GB, free: 10.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008591/0.4736, allocations: 0.7155 MB / 0.5657 GB, free: 9.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4736, allocations: 16.59 kB / 0.5657 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.4736, allocations: 12.84 kB / 0.5657 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.4737, allocations: 20 kB / 0.5657 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.474, allocations: 115.8 kB / 0.5658 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/0.474, allocations: 31.86 kB / 0.5658 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.4742, allocations: 67.28 kB / 0.5659 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.4743, allocations: 40.7 kB / 0.5659 GB, free: 9.297 MB / 394.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.0001854/0.4745, allocations: 226.6 kB / 0.5662 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.4745, allocations: 11.81 kB / 0.5662 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.4745, allocations: 5.656 kB / 0.5662 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4745, allocations: 3.984 kB / 0.5662 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.4745, allocations: 0 / 0.5662 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4745, allocations: 0 / 0.5662 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.4747, allocations: 189.8 kB / 0.5664 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4747, allocations: 3.953 kB / 0.5664 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-06/0.4747, allocations: 4 kB / 0.5664 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4747, allocations: 3.938 kB / 0.5664 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.4747, allocations: 0 / 0.5664 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4747, allocations: 0 / 0.5664 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4747, allocations: 4 kB / 0.5664 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.4755, allocations: 0.6074 MB / 0.567 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.4755, allocations: 96.81 kB / 0.5671 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.4755, allocations: 0 / 0.5671 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.245e-05/0.4756, allocations: 7.969 kB / 0.5671 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.4756, allocations: 7.984 kB / 0.5671 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4756, allocations: 0 / 0.5671 GB, free: 8.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.4756, allocations: 75.28 kB / 0.5671 GB, free: 7.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4756, allocations: 0 / 0.5671 GB, free: 7.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004347/0.4761, allocations: 107.9 kB / 0.5673 GB, free: 7.863 MB / 394.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.0005002/0.4766, allocations: 287 kB / 0.5675 GB, free: 7.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005259/0.4771, allocations: 460.7 kB / 0.568 GB, free: 7.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4771, allocations: 0 / 0.568 GB, free: 7.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.4773, allocations: 156.4 kB / 0.5681 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.639e-05/0.4774, allocations: 4 kB / 0.5681 GB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.4778, allocations: 345.9 kB / 0.5684 GB, free: 6.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4781, allocations: 0.7377 MB / 0.5692 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.601e-05/0.4782, allocations: 39.38 kB / 0.5692 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.4782, allocations: 27.38 kB / 0.5692 GB, free: 5.836 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4782, allocations: 0 / 0.5692 GB, free: 5.836 MB / 394.7 MB Notification: Performance of Templates: time 0.005693/0.4839, allocations: 3.049 MB / 0.5722 GB, free: 2.785 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches