Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 221.4 MB / 235.5 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009065/0.0009066, allocations: 90 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.697e-05, allocations: 4 kB / 343.8 MB, free: 4.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 50.41 MB / 394.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3198/0.4341, allocations: 76.24 MB / 470.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.4343, allocations: 75.78 kB / 470.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007972/0.4423, allocations: 2.962 MB / 473.5 MB, free: 8.301 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4423, allocations: 0 / 473.5 MB, free: 8.301 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4423, allocations: 4 kB / 473.5 MB, free: 8.297 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006125/0.443, allocations: 0.5563 MB / 474.1 MB, free: 7.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.443, allocations: 12.03 kB / 474.1 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.4432, allocations: 23.77 kB / 474.1 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.4433, allocations: 171 kB / 474.3 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4434, allocations: 4 kB / 474.3 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.4434, allocations: 11.94 kB / 474.3 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.4438, allocations: 271.2 kB / 474.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4438, allocations: 3.75 kB / 474.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.4438, allocations: 4 kB / 474.6 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4438, allocations: 3.953 kB / 474.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.444, allocations: 151.9 kB / 474.7 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.4442, allocations: 206.3 kB / 474.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.4446, allocations: 0.4894 MB / 475.4 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.4449, allocations: 469.7 kB / 475.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.4449, allocations: 3.984 kB / 475.9 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/0.4453, allocations: 468.9 kB / 476.3 MB, free: 5.258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.402e-06/0.4454, allocations: 0 / 476.3 MB, free: 5.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006428/0.446, allocations: 0.5123 MB / 476.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/0.4461, allocations: 164.4 kB / 477 MB, free: 4.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.4462, allocations: 97 kB / 477.1 MB, free: 4.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.4462, allocations: 29.64 kB / 477.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.4463, allocations: 80.92 kB / 477.2 MB, free: 4.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.4463, allocations: 86.75 kB / 477.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.4464, allocations: 4 kB / 477.3 MB, free: 4.227 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4465, allocations: 334.9 kB / 477.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.4466, allocations: 76.36 kB / 477.7 MB, free: 3.816 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.4467, allocations: 118.1 kB / 477.8 MB, free: 3.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.4469, allocations: 199.3 kB / 478 MB, free: 3.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4469, allocations: 0 / 478 MB, free: 3.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003464/0.4472, allocations: 340.8 kB / 478.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/0.4473, allocations: 108.7 kB / 478.4 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4473, allocations: 4 kB / 478.4 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4474, allocations: 8.031 kB / 478.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.4474, allocations: 0 / 478.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4474, allocations: 0 / 478.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.4474, allocations: 27.7 kB / 478.5 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.4475, allocations: 8 kB / 478.5 MB, free: 2.973 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0002058/0.4477, allocations: 275.4 kB / 478.8 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.4477, allocations: 23.81 kB / 478.8 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.4477, allocations: 5.344 kB / 478.8 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4478, allocations: 0 / 478.8 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4478, allocations: 4 kB / 478.8 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4478, allocations: 3.984 kB / 478.8 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.448, allocations: 261.2 kB / 479 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.448, allocations: 0 / 479 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.448, allocations: 4 kB / 479.1 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.448, allocations: 0 / 479.1 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.448, allocations: 27.92 kB / 479.1 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.448, allocations: 0 / 479.1 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.448, allocations: 0 / 479.1 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.4492, allocations: 1.23 MB / 480.3 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.4493, allocations: 100.9 kB / 480.4 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.4494, allocations: 71.92 kB / 480.5 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.4495, allocations: 8 kB / 480.5 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.4495, allocations: 11.98 kB / 480.5 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.4496, allocations: 31.98 kB / 480.5 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.4496, allocations: 83.23 kB / 480.6 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4496, allocations: 0 / 480.6 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.45, allocations: 115.9 kB / 480.7 MB, free: 0.6055 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0005559/0.4506, allocations: 304.5 kB / 481 MB, free: 340 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.4522, allocations: 2.119 MB / 483.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4522, allocations: 0 / 483.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.4538, allocations: 2.186 MB / 485.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.4539, allocations: 8 kB / 485.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.4544, allocations: 311.6 kB / 485.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.4547, allocations: 0.7286 MB / 486.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.064e-05/0.4548, allocations: 0 / 486.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.4548, allocations: 7.438 kB / 486.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.4548, allocations: 0 / 486.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of Templates: time 0.006473/0.4613, allocations: 3.302 MB / 489.7 MB, free: 7.574 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","../files/Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches