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.0009484/0.0009483, allocations: 171.2 kB / 16.76 MB, free: 5.051 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.415/1.415, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.00104/0.00104, allocations: 92.67 kB / 271.3 MB, free: 8.238 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.3487/0.3487, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1207, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3096/0.4303, allocations: 85.38 MB / 0.5633 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4306, allocations: 59.97 kB / 0.5634 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.4417, allocations: 4.851 MB / 0.5681 GB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4417, allocations: 0 / 0.5681 GB, free: 11.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.4418, allocations: 4 kB / 0.5681 GB, free: 11.72 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.0005428/0.4423, allocations: 483.9 kB / 0.5686 GB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4424, allocations: 8.031 kB / 0.5686 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.4424, allocations: 24 kB / 0.5686 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.4425, allocations: 176.2 kB / 0.5688 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.4426, allocations: 12.38 kB / 0.5688 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.4426, allocations: 20.38 kB / 0.5688 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.4428, allocations: 132.8 kB / 0.569 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4428, allocations: 192 / 0.569 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4428, allocations: 3.938 kB / 0.569 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4428, allocations: 5.406 kB / 0.569 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.4429, allocations: 92.41 kB / 0.569 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.4432, allocations: 226.2 kB / 0.5693 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.4433, allocations: 167 kB / 0.5694 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.4435, allocations: 153.7 kB / 0.5696 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.4435, allocations: 7.984 kB / 0.5696 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.4437, allocations: 165.9 kB / 0.5697 GB, free: 9.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=54): time 1.242e-06/0.4437, allocations: 0 / 0.5697 GB, free: 9.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.001048/0.4447, allocations: 0.7733 MB / 0.5705 GB, free: 9.145 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.4448, allocations: 103.8 kB / 0.5706 GB, free: 9.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.4449, allocations: 117.6 kB / 0.5707 GB, free: 8.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.4449, allocations: 65.69 kB / 0.5708 GB, free: 8.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.445, allocations: 97.48 kB / 0.5709 GB, free: 8.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.4451, allocations: 130.5 kB / 0.571 GB, free: 8.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.4451, allocations: 16 kB / 0.571 GB, free: 8.594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4453, allocations: 353.5 kB / 0.5713 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.4456, allocations: 185.8 kB / 0.5715 GB, free: 8.062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.4461, allocations: 0.5292 MB / 0.572 GB, free: 7.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008289/0.4469, allocations: 0.771 MB / 0.5728 GB, free: 6.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4469, allocations: 4 kB / 0.5728 GB, free: 6.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001015/0.448, allocations: 0.7315 MB / 0.5735 GB, free: 5.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.448, allocations: 12 kB / 0.5735 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.448, allocations: 15.94 kB / 0.5735 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.4481, allocations: 19.98 kB / 0.5735 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.4484, allocations: 111.8 kB / 0.5737 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.4484, allocations: 27.88 kB / 0.5737 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.4486, allocations: 67.75 kB / 0.5737 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.4487, allocations: 44 kB / 0.5738 GB, free: 5.395 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 () * 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.0002357/0.4489, allocations: 245.4 kB / 0.574 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.4489, allocations: 15.81 kB / 0.574 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.449, allocations: 9.812 kB / 0.574 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.449, allocations: 0 / 0.574 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.449, allocations: 0 / 0.574 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.449, allocations: 0 / 0.574 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.4491, allocations: 193.8 kB / 0.5742 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4491, allocations: 0 / 0.5742 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-06/0.4491, allocations: 0 / 0.5742 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.4492, allocations: 0 / 0.5742 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.4492, allocations: 3.938 kB / 0.5742 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4492, allocations: 15.11 kB / 0.5742 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4492, allocations: 0 / 0.5742 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.45, allocations: 0.607 MB / 0.5748 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.4501, allocations: 96.8 kB / 0.5749 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4501, allocations: 7.922 kB / 0.5749 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.4501, allocations: 0.75 kB / 0.5749 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.4501, allocations: 4 kB / 0.5749 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4501, allocations: 0 / 0.5749 GB, free: 4.113 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.705e-05/0.4502, allocations: 79.75 kB / 0.575 GB, free: 4.035 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4502, allocations: 0 / 0.575 GB, free: 4.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004607/0.4507, allocations: 107.9 kB / 0.5751 GB, free: 3.93 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 () * 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.0005343/0.4512, allocations: 280.3 kB / 0.5754 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005599/0.4518, allocations: 461.6 kB / 0.5758 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4518, allocations: 0 / 0.5758 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.4519, allocations: 156.4 kB / 0.576 GB, free: 3.086 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.4521, allocations: 4 kB / 0.576 GB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.4526, allocations: 457.2 kB / 0.5764 GB, free: 2.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.4529, allocations: 0.7336 MB / 0.5771 GB, free: 1.848 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.768e-05/0.453, allocations: 43.53 kB / 0.5772 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.453, allocations: 27.38 kB / 0.5772 GB, free: 1.781 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.453, allocations: 0 / 0.5772 GB, free: 1.781 MB / 394.7 MB Notification: Performance of Templates: time 0.005932/0.459, allocations: 3.027 MB / 0.5802 GB, free: 14.76 MB / 410.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/jenkins1/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