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.001659/0.001659, allocations: 183.8 kB / 15.76 MB, free: 6.363 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.779/1.779, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009381/0.0009381, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2427/0.2427, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004243, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 58.85 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4546, allocations: 85.35 MB / 0.5621 GB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4549, allocations: 62.22 kB / 0.5622 GB, free: 14.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01195/0.4668, allocations: 5.035 MB / 0.5671 GB, free: 10.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4669, allocations: 0 / 0.5671 GB, free: 10.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.4669, allocations: 8 kB / 0.5671 GB, free: 10.14 MB / 378.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.0005207/0.4674, allocations: 482.1 kB / 0.5675 GB, free: 9.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4675, allocations: 8.031 kB / 0.5676 GB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.4675, allocations: 19.81 kB / 0.5676 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.4677, allocations: 170.9 kB / 0.5677 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.4677, allocations: 18.94 kB / 0.5678 GB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.4677, allocations: 23.06 kB / 0.5678 GB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.4679, allocations: 129.2 kB / 0.5679 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4679, allocations: 4 kB / 0.5679 GB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.468, allocations: 0 / 0.5679 GB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.468, allocations: 0 / 0.5679 GB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.4681, allocations: 97.03 kB / 0.568 GB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.4683, allocations: 225.7 kB / 0.5682 GB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4684, allocations: 161.9 kB / 0.5684 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.4684, allocations: 0 / 0.5684 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.4686, allocations: 170 kB / 0.5685 GB, free: 8.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 1.182e-06/0.4686, allocations: 0 / 0.5685 GB, free: 8.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.001186/0.4698, allocations: 0.8669 MB / 0.5694 GB, free: 7.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/0.4699, allocations: 106.5 kB / 0.5695 GB, free: 7.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.47, allocations: 111.2 kB / 0.5696 GB, free: 7.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/0.4701, allocations: 74.8 kB / 0.5697 GB, free: 7.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.4702, allocations: 95.62 kB / 0.5697 GB, free: 7.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4703, allocations: 128.7 kB / 0.5699 GB, free: 7.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.4703, allocations: 20.28 kB / 0.5699 GB, free: 7.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.4705, allocations: 349 kB / 0.5702 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.4709, allocations: 179 kB / 0.5704 GB, free: 7.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/0.4715, allocations: 0.5307 MB / 0.5709 GB, free: 6.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.472, allocations: 265 kB / 0.5712 GB, free: 6.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.472, allocations: 7.953 kB / 0.5712 GB, free: 6.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00101/0.473, allocations: 0.7372 MB / 0.5719 GB, free: 5.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.4731, allocations: 10.66 kB / 0.5719 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.4731, allocations: 12 kB / 0.5719 GB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/0.4731, allocations: 20 kB / 0.5719 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.4735, allocations: 119.2 kB / 0.572 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.4735, allocations: 23.94 kB / 0.5721 GB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.4737, allocations: 66.75 kB / 0.5721 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.4738, allocations: 35.94 kB / 0.5722 GB, free: 5.352 MB / 378.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.000266/0.4741, allocations: 256.2 kB / 0.5724 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.4741, allocations: 19.7 kB / 0.5724 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.4741, allocations: 9.859 kB / 0.5724 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4741, allocations: 4 kB / 0.5724 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4741, allocations: 0 / 0.5724 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4742, allocations: 0 / 0.5724 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.4743, allocations: 189.7 kB / 0.5726 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4743, allocations: 0 / 0.5726 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-06/0.4744, allocations: 7.891 kB / 0.5726 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4744, allocations: 0 / 0.5726 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.4744, allocations: 3.938 kB / 0.5726 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4744, allocations: 0 / 0.5726 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4744, allocations: 0 / 0.5726 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.4752, allocations: 0.6123 MB / 0.5732 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.4753, allocations: 97.48 kB / 0.5733 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.4753, allocations: 3.953 kB / 0.5733 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.173e-05/0.4753, allocations: 0 / 0.5733 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.4754, allocations: 3.984 kB / 0.5733 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.4754, allocations: 4.875 kB / 0.5733 GB, free: 4.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.4754, allocations: 75.72 kB / 0.5734 GB, free: 4.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4754, allocations: 0 / 0.5734 GB, free: 4.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006066/0.476, allocations: 113.8 kB / 0.5735 GB, free: 4.039 MB / 378.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.0007197/0.4768, allocations: 277 kB / 0.5738 GB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006029/0.4774, allocations: 466.5 kB / 0.5742 GB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4774, allocations: 0 / 0.5742 GB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.4775, allocations: 156.9 kB / 0.5744 GB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.4776, allocations: 8.062 kB / 0.5744 GB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.4783, allocations: 453.2 kB / 0.5748 GB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.4786, allocations: 0.7336 MB / 0.5755 GB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.264e-05/0.4787, allocations: 43.59 kB / 0.5756 GB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.4788, allocations: 19.44 kB / 0.5756 GB, free: 2.082 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4788, allocations: 0 / 0.5756 GB, free: 2.082 MB / 378.7 MB Notification: Performance of Templates: time 0.006663/0.4855, allocations: 3.046 MB / 0.5786 GB, free: 15.04 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