Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.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) 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(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, 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.412/1.412, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009635/0.0009635, allocations: 93.22 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.93e-05, allocations: 4 kB / 343.7 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 51.48 MB / 395.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3697/0.4884, allocations: 76.38 MB / 471.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001758/0.4887, allocations: 68.67 kB / 471.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007572/0.4962, allocations: 2.962 MB / 474.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4963, allocations: 0 / 474.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4963, allocations: 0 / 474.6 MB, free: 13.2 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.0003841/0.4967, allocations: 0.5536 MB / 475.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4967, allocations: 8.031 kB / 475.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.4968, allocations: 21.36 kB / 475.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.497, allocations: 176.3 kB / 475.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.497, allocations: 4.859 kB / 475.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.497, allocations: 4 kB / 475.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001295/0.4972, allocations: 139.9 kB / 475.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.4974, allocations: 275.7 kB / 475.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4974, allocations: 0 / 475.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.4974, allocations: 0 / 475.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4974, allocations: 0 / 475.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.4976, allocations: 177.5 kB / 475.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.4979, allocations: 491.1 kB / 476.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.4981, allocations: 472.2 kB / 476.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.4981, allocations: 0 / 476.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.4984, allocations: 472.1 kB / 477.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.783e-06/0.4984, allocations: 0 / 477.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.0005426/0.499, allocations: 409.9 kB / 477.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.499, allocations: 156.5 kB / 477.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.4991, allocations: 95.98 kB / 478 MB, free: 10.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.4991, allocations: 29.7 kB / 478 MB, free: 10.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.4991, allocations: 80.92 kB / 478.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.4992, allocations: 98.39 kB / 478.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4992, allocations: 0 / 478.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.4993, allocations: 326.9 kB / 478.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.4993, allocations: 78.2 kB / 478.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.4995, allocations: 107.9 kB / 478.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.4996, allocations: 111.3 kB / 478.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4996, allocations: 0 / 478.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002524/0.4999, allocations: 248.3 kB / 479 MB, free: 9.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.649e-05/0.4999, allocations: 112.1 kB / 479.1 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5, allocations: 0 / 479.1 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5, allocations: 5.266 kB / 479.1 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.5, allocations: 0 / 479.1 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5, allocations: 0 / 479.1 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.5001, allocations: 19.84 kB / 479.2 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.5001, allocations: 8 kB / 479.2 MB, free: 9.641 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.0001887/0.5003, allocations: 277.6 kB / 479.4 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.5003, allocations: 23.81 kB / 479.5 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.5003, allocations: 7.422 kB / 479.5 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5003, allocations: 4 kB / 479.5 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5004, allocations: 7.891 kB / 479.5 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5004, allocations: 0 / 479.5 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.5005, allocations: 216.1 kB / 479.7 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5005, allocations: 0 / 479.7 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-06/0.5005, allocations: 3.938 kB / 479.7 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5005, allocations: 1.875 kB / 479.7 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.5006, allocations: 25.2 kB / 479.7 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5006, allocations: 1.547 kB / 479.7 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5006, allocations: 0 / 479.7 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.5012, allocations: 0.59 MB / 480.3 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.5013, allocations: 97.73 kB / 480.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5014, allocations: 71.06 kB / 480.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.5014, allocations: 8 kB / 480.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.5015, allocations: 14.22 kB / 480.5 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.5015, allocations: 31.5 kB / 480.5 MB, free: 8.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.229e-05/0.5016, allocations: 79.28 kB / 480.6 MB, free: 8.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5016, allocations: 0 / 480.6 MB, free: 8.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.5019, allocations: 118.5 kB / 480.7 MB, free: 8.324 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.0005118/0.5025, allocations: 306.6 kB / 481 MB, free: 8.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.5037, allocations: 2.093 MB / 483.1 MB, free: 7.188 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5037, allocations: 0 / 483.1 MB, free: 7.188 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.5047, allocations: 2.173 MB / 485.3 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.5049, allocations: 13.75 kB / 485.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.5053, allocations: 295.3 kB / 485.6 MB, free: 6.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.5054, allocations: 0.7278 MB / 486.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.858e-06/0.5055, allocations: 0 / 486.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.12e-05/0.5055, allocations: 7.438 kB / 486.3 MB, free: 5.297 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5055, allocations: 4 kB / 486.3 MB, free: 5.293 MB / 346.7 MB Notification: Performance of Templates: time 0.005143/0.5106, allocations: 3.279 MB / 489.6 MB, free: 2.207 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches