Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001058, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007927/0.0007928, allocations: 96.41 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1938/0.1938, allocations: 45.15 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.395e-05/1.397e-05, allocations: 7.938 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.0976, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3845/0.4821, allocations: 86.86 MB / 0.5892 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4824, allocations: 63.81 kB / 0.5892 GB, free: 15.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0125/0.4949, allocations: 5.802 MB / 0.5949 GB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.495, allocations: 4 kB / 0.5949 GB, free: 10.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.495, allocations: 0 / 0.5949 GB, free: 10.79 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.0004767/0.4955, allocations: 470 kB / 0.5954 GB, free: 10.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4955, allocations: 8.031 kB / 0.5954 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.4956, allocations: 15.81 kB / 0.5954 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.4957, allocations: 183.6 kB / 0.5956 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4957, allocations: 4 kB / 0.5956 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.4957, allocations: 12 kB / 0.5956 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001138/0.4959, allocations: 101.8 kB / 0.5957 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.496, allocations: 131.2 kB / 0.5958 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.496, allocations: 0 / 0.5958 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.496, allocations: 0 / 0.5958 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.496, allocations: 0 / 0.5958 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.4962, allocations: 173.8 kB / 0.596 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.4963, allocations: 166.9 kB / 0.5961 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.485e-05/0.4964, allocations: 150.9 kB / 0.5963 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.4964, allocations: 4 kB / 0.5963 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.4966, allocations: 161.1 kB / 0.5964 GB, free: 9.363 MB / 394.7 MB Notification: Performance of pre-optimization done (n=54): time 2.966e-06/0.4966, allocations: 0 / 0.5964 GB, free: 9.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.0008131/0.4974, allocations: 0.5799 MB / 0.597 GB, free: 8.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.4975, allocations: 106 kB / 0.5971 GB, free: 8.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.052e-05/0.4976, allocations: 114 kB / 0.5972 GB, free: 8.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.4976, allocations: 52.8 kB / 0.5973 GB, free: 8.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.4977, allocations: 88.89 kB / 0.5973 GB, free: 8.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4978, allocations: 122.5 kB / 0.5975 GB, free: 8.441 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.4978, allocations: 0 / 0.5975 GB, free: 8.441 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4979, allocations: 347.3 kB / 0.5978 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.4981, allocations: 158.4 kB / 0.5979 GB, free: 7.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.4985, allocations: 0.5074 MB / 0.5984 GB, free: 7.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.4989, allocations: 248.2 kB / 0.5987 GB, free: 7.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4989, allocations: 4 kB / 0.5987 GB, free: 7.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0007748/0.4996, allocations: 0.625 MB / 0.5993 GB, free: 6.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4997, allocations: 8 kB / 0.5993 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.4997, allocations: 16.78 kB / 0.5993 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/0.4997, allocations: 23.98 kB / 0.5993 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.5001, allocations: 118.3 kB / 0.5994 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.5001, allocations: 27.88 kB / 0.5995 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.5003, allocations: 43.44 kB / 0.5995 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.5003, allocations: 39 kB / 0.5996 GB, free: 6.359 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.0001639/0.5005, allocations: 203.3 kB / 0.5997 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.5005, allocations: 11.77 kB / 0.5998 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.5005, allocations: 5.969 kB / 0.5998 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.5005, allocations: 7.938 kB / 0.5998 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5006, allocations: 0 / 0.5998 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.5006, allocations: 0 / 0.5998 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.5007, allocations: 153.8 kB / 0.5999 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5007, allocations: 0 / 0.5999 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-06/0.5007, allocations: 4 kB / 0.5999 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5007, allocations: 0 / 0.5999 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.5007, allocations: 3.953 kB / 0.5999 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.5007, allocations: 4 kB / 0.5999 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5007, allocations: 0 / 0.5999 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007748/0.5015, allocations: 0.6103 MB / 0.6005 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.5016, allocations: 92.86 kB / 0.6006 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.5016, allocations: 8.859 kB / 0.6006 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.447e-05/0.5016, allocations: 11.92 kB / 0.6006 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.5016, allocations: 0 / 0.6006 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.5016, allocations: 0 / 0.6006 GB, free: 5.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.547e-05/0.5017, allocations: 75.28 kB / 0.6007 GB, free: 5.238 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5017, allocations: 0 / 0.6007 GB, free: 5.238 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004639/0.5021, allocations: 99.3 kB / 0.6008 GB, free: 5.145 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.0005046/0.5026, allocations: 273.7 kB / 0.6011 GB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004515/0.5031, allocations: 428.9 kB / 0.6015 GB, free: 4.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5031, allocations: 0 / 0.6015 GB, free: 4.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.5032, allocations: 159.4 kB / 0.6016 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.858e-05/0.5033, allocations: 7.938 kB / 0.6016 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.5038, allocations: 340.4 kB / 0.602 GB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.5041, allocations: 0.7377 MB / 0.6027 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.96e-05/0.5042, allocations: 43.31 kB / 0.6027 GB, free: 3.348 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.5042, allocations: 23.44 kB / 0.6027 GB, free: 3.324 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5042, allocations: 0 / 0.6027 GB, free: 3.324 MB / 394.7 MB Notification: Performance of Templates: time 0.005436/0.5097, allocations: 3.083 MB / 0.6057 GB, free: 252 kB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches