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.001438/0.001438, allocations: 84.25 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001561/0.001561, allocations: 162.1 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.563/1.563, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.713e-06/1.713e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.089e-05, allocations: 2.281 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001992/0.002013, allocations: 1.233 MB / 326.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003077, allocations: 451.5 kB / 326.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.003106, allocations: 5.125 kB / 326.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.003144, allocations: 0.6562 kB / 326.7 MB, free: 15.37 MB / 302.1 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.0005935/0.003737, allocations: 79.66 kB / 326.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.003932, allocations: 72.88 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.004049, allocations: 45.22 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.004096, allocations: 3.109 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.851e-05/0.004154, allocations: 24.91 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.004198, allocations: 15.31 kB / 326.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.004213, allocations: 3.031 kB / 326.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.004551, allocations: 154.9 kB / 327.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.004606, allocations: 29.3 kB / 327.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.004661, allocations: 31.94 kB / 327.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.004964, allocations: 200.4 kB / 327.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004967, allocations: 5.062 kB / 327.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004968, allocations: 0 / 327.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.004972, allocations: 0 / 327.3 MB, free: 15.12 MB / 302.1 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.0006739/0.005646, allocations: 482.7 kB / 327.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.005689, allocations: 13.77 kB / 327.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.005833, allocations: 21.92 kB / 327.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.00598, allocations: 119.9 kB / 328 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.005997, allocations: 2.531 kB / 328 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.006016, allocations: 6.188 kB / 328 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.006545, allocations: 398.8 kB / 328.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.006558, allocations: 5.547 kB / 328.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.006572, allocations: 6.516 kB / 328.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.006578, allocations: 1.812 kB / 328.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.006898, allocations: 266.7 kB / 328.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.007105, allocations: 125.8 kB / 328.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.007463, allocations: 294.9 kB / 329 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.007768, allocations: 273.3 kB / 329.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.007779, allocations: 3.125 kB / 329.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006502/0.008429, allocations: 0.5697 MB / 329.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.062e-06/0.00843, allocations: 1.25 kB / 329.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.001218/0.009649, allocations: 0.9798 MB / 330.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.009776, allocations: 163.1 kB / 331 MB, free: 12.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.009877, allocations: 106 kB / 331.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.009897, allocations: 28.55 kB / 331.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.009952, allocations: 82.27 kB / 331.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/0.01004, allocations: 91.03 kB / 331.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.0101, allocations: 44.02 kB / 331.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.01029, allocations: 329.4 kB / 331.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.01051, allocations: 202.4 kB / 331.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.01078, allocations: 230.6 kB / 332.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.01126, allocations: 476.5 kB / 332.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01127, allocations: 0 / 332.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005679/0.01184, allocations: 491.5 kB / 333.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.01197, allocations: 110.3 kB / 333.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.01198, allocations: 1.406 kB / 333.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.012, allocations: 0 / 333.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-06/0.012, allocations: 5.406 kB / 333.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.01201, allocations: 3.938 kB / 333.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.01208, allocations: 22.31 kB / 333.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.0121, allocations: 7.906 kB / 333.2 MB, free: 11.27 MB / 302.1 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.000335/0.01244, allocations: 285.2 kB / 333.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.0125, allocations: 26 kB / 333.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.01252, allocations: 6.844 kB / 333.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01252, allocations: 0 / 333.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01252, allocations: 5.438 kB / 333.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.01253, allocations: 7.922 kB / 333.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.0127, allocations: 152.1 kB / 333.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.0127, allocations: 0 / 333.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.0127, allocations: 1.531 kB / 333.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.0127, allocations: 336 / 333.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.01274, allocations: 19.55 kB / 333.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.01274, allocations: 1.062 kB / 333.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01274, allocations: 1.062 kB / 333.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.01386, allocations: 0.9139 MB / 334.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.01389, allocations: 22.39 kB / 334.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.014, allocations: 75.75 kB / 334.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.01407, allocations: 8.031 kB / 334.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.01412, allocations: 13.23 kB / 334.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.01415, allocations: 23.61 kB / 334.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.674e-05/0.01419, allocations: 77.97 kB / 334.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01419, allocations: 1.438 kB / 334.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000359/0.01455, allocations: 94.36 kB / 334.9 MB, free: 10.2 MB / 302.1 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.0006746/0.01523, allocations: 315.7 kB / 335.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000997/0.01623, allocations: 0.8648 MB / 336.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01623, allocations: 0 / 336.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005919/0.01682, allocations: 0.537 MB / 336.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.01703, allocations: 20 kB / 336.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007739/0.01781, allocations: 0.4987 MB / 337.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.01795, allocations: 118.3 kB / 337.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.418e-06/0.01796, allocations: 0 / 337.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.01798, allocations: 8.5 kB / 337.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.01798, allocations: 0 / 337.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of Templates: time 0.007284/0.02526, allocations: 3.151 MB / 340.4 MB, free: 5.016 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.409109905362129]