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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001714/0.002784, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001572/0.002691, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9054/0.9054, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0835/0.9889, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,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=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.487e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001819/0.001834, allocations: 1.321 MB / 246.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003724/0.005558, allocations: 470.8 kB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.005592, allocations: 0 / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.005615, allocations: 7.938 kB / 247 MB, free: 11.75 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.005958, allocations: 75.59 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.00609, allocations: 63.69 kB / 247.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.131e-05/0.006181, allocations: 47.83 kB / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.006213, allocations: 0 / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.006275, allocations: 27.97 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.592e-05/0.006311, allocations: 19.91 kB / 247.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.006323, allocations: 0 / 247.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.006596, allocations: 163.6 kB / 247.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.006642, allocations: 39.94 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.006679, allocations: 27.88 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.006954, allocations: 171.5 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.006964, allocations: 3.938 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006965, allocations: 0 / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.006973, allocations: 0 / 247.6 MB, free: 11.12 MB / 250.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.0004705/0.007444, allocations: 477.8 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.007474, allocations: 8.625 kB / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.007631, allocations: 98.03 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.789e-05/0.007729, allocations: 129.5 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.007741, allocations: 8.375 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.007754, allocations: 4.375 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.007976, allocations: 274.3 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.007982, allocations: 4.188 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.007991, allocations: 384 / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.007996, allocations: 4.312 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.008123, allocations: 202.1 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.618e-05/0.008209, allocations: 84.44 kB / 248.9 MB, free: 9.711 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.01139, allocations: 216.6 kB / 249.1 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.01154, allocations: 205 kB / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-06/0.01155, allocations: 0 / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.01188, allocations: 478 kB / 249.8 MB, free: 8.723 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 1.002e-06/0.01188, allocations: 0 / 249.8 MB, free: 8.723 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006124/0.01249, allocations: 0.7602 MB / 250.5 MB, free: 7.918 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.01265, allocations: 374.7 kB / 250.9 MB, free: 7.484 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.255e-05/0.01271, allocations: 106.7 kB / 251 MB, free: 7.367 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.01272, allocations: 29.7 kB / 251 MB, free: 7.332 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.01274, allocations: 81.14 kB / 251.1 MB, free: 7.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.01281, allocations: 91.25 kB / 251.2 MB, free: 7.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.01286, allocations: 45.72 kB / 251.2 MB, free: 7.109 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.01294, allocations: 330.7 kB / 251.6 MB, free: 6.777 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.01305, allocations: 162.5 kB / 251.7 MB, free: 6.605 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.01315, allocations: 181.5 kB / 251.9 MB, free: 6.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.01339, allocations: 383 kB / 252.3 MB, free: 6.004 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01339, allocations: 0 / 252.3 MB, free: 6.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003312/0.01373, allocations: 447.2 kB / 252.7 MB, free: 5.535 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/0.01382, allocations: 107.3 kB / 252.8 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01382, allocations: 0 / 252.8 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.01383, allocations: 0 / 252.8 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.01384, allocations: 3.938 kB / 252.8 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.01384, allocations: 8.078 kB / 252.8 MB, free: 5.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.01389, allocations: 23.84 kB / 252.8 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.0139, allocations: 11.94 kB / 252.9 MB, free: 5.371 MB / 250.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 (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],r1024,r128,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.01407, allocations: 258.5 kB / 253.1 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.01415, allocations: 39.97 kB / 253.1 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.411e-05/0.01416, allocations: 13.97 kB / 253.2 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01417, allocations: 3.938 kB / 253.2 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01417, allocations: 0 / 253.2 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01417, allocations: 7.984 kB / 253.2 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.0163, allocations: 109.6 kB / 253.3 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.0163, allocations: 0 / 253.3 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-06/0.01631, allocations: 0 / 253.3 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.01632, allocations: 19.83 kB / 253.3 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01633, allocations: 4 kB / 253.3 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.01635, allocations: 19.98 kB / 253.3 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01635, allocations: 0 / 253.3 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01635, allocations: 0 / 253.3 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/0.01698, allocations: 0.7181 MB / 254 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.01706, allocations: 55.95 kB / 254.1 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.257e-05/0.01712, allocations: 11.98 kB / 254.1 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.01715, allocations: 11.94 kB / 254.1 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.01718, allocations: 19.98 kB / 254.1 MB, free: 4 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.457e-05/0.01719, allocations: 4.859 kB / 254.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01719, allocations: 0 / 254.1 MB, free: 3.992 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00028/0.01747, allocations: 91.92 kB / 254.2 MB, free: 3.902 MB / 250.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006076/0.01808, allocations: 345.2 kB / 254.6 MB, free: 3.617 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005812/0.01866, allocations: 0.674 MB / 255.2 MB, free: 2.891 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.01866, allocations: 0 / 255.2 MB, free: 2.891 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.019, allocations: 467 kB / 255.7 MB, free: 2.395 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.01941, allocations: 67.48 kB / 255.8 MB, free: 2.332 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006623/0.02007, allocations: 419.8 kB / 256.2 MB, free: 1.875 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.088e-05/0.02012, allocations: 84.31 kB / 256.3 MB, free: 1.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.875e-06/0.02013, allocations: 0 / 256.3 MB, free: 1.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.02033, allocations: 127.3 kB / 256.4 MB, free: 1.645 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02033, allocations: 0 / 256.4 MB, free: 1.645 MB / 250.7 MB Notification: Performance of Templates: time 0.005835/0.02616, allocations: 3.383 MB / 259.8 MB, free: 14.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4709426015615463]