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.0009341/0.0009341, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.0009866/0.0009866, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 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.9585/0.9585, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.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.463e-06/1.463e-06, allocations: 0 / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.618e-05, allocations: 6.312 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001487/0.001503, allocations: 1.268 MB / 274.3 MB, free: 484 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000676/0.002179, allocations: 466.2 kB / 274.7 MB, free: 16 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.002214, allocations: 3.938 kB / 274.7 MB, free: 12 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.002249, allocations: 0 / 274.7 MB, free: 12 kB / 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.0004236/0.002673, allocations: 83.64 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.002782, allocations: 71.62 kB / 274.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.048e-05/0.002862, allocations: 43.89 kB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.002895, allocations: 4 kB / 274.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/0.002935, allocations: 27.91 kB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.596e-05/0.002961, allocations: 7.984 kB / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.002972, allocations: 4 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.003179, allocations: 155.6 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.003218, allocations: 31.92 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.003255, allocations: 31.88 kB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.003459, allocations: 207.2 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.00346, allocations: 0 / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003461, allocations: 0 / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.003465, allocations: 0 / 275.4 MB, free: 15.36 MB / 266.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.000381/0.003846, allocations: 0.5499 MB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.003878, allocations: 15.98 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.00399, allocations: 24.84 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.792e-05/0.004078, allocations: 124.4 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.00409, allocations: 8.375 kB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.004101, allocations: 4.375 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.004309, allocations: 279.9 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.004314, allocations: 192 / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.004326, allocations: 4.375 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.004333, allocations: 384 / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.946e-05/0.004433, allocations: 179.2 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.004547, allocations: 144.2 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.004686, allocations: 225.5 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.004783, allocations: 190.8 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-06/0.004787, allocations: 0 / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.005054, allocations: 478.4 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 9.81e-07/0.005055, allocations: 0 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.0005502/0.005605, allocations: 0.7545 MB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.005661, allocations: 152.5 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.00574, allocations: 165.9 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.005749, allocations: 33.64 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.005789, allocations: 131.9 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.005842, allocations: 91.22 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.005885, allocations: 51.36 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.006005, allocations: 0.504 MB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.00608, allocations: 131.8 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.006165, allocations: 175.5 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.006335, allocations: 326 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006338, allocations: 4 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002667/0.006604, allocations: 424.5 kB / 280.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/0.006665, allocations: 114.1 kB / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.00667, allocations: 0 / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.006683, allocations: 4 kB / 280.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.006684, allocations: 3.984 kB / 280.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.006691, allocations: 3.938 kB / 280.6 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.006727, allocations: 23.84 kB / 280.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.00674, allocations: 12.09 kB / 280.6 MB, free: 9.594 MB / 266.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.0001585/0.006899, allocations: 302.4 kB / 280.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.006951, allocations: 43.89 kB / 281 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.185e-05/0.006963, allocations: 13.66 kB / 281 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006965, allocations: 0 / 281 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.006969, allocations: 4 kB / 281 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.006973, allocations: 3.938 kB / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.788e-05/0.007071, allocations: 160.4 kB / 281.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.007073, allocations: 4 kB / 281.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.007075, allocations: 0 / 281.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.007076, allocations: 0 / 281.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.007095, allocations: 19.98 kB / 281.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007097, allocations: 0 / 281.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007097, allocations: 0 / 281.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.007615, allocations: 0.7693 MB / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.007628, allocations: 23.78 kB / 282 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.007696, allocations: 63.94 kB / 282 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.985e-05/0.007726, allocations: 8 kB / 282 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.007752, allocations: 11.98 kB / 282 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.007769, allocations: 23.92 kB / 282.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.879e-05/0.007798, allocations: 127.1 kB / 282.2 MB, free: 7.922 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007798, allocations: 0 / 282.2 MB, free: 7.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.00802, allocations: 95.86 kB / 282.3 MB, free: 7.828 MB / 266.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.0003973/0.008418, allocations: 311.9 kB / 282.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.008835, allocations: 0.661 MB / 283.2 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.00884, allocations: 0 / 283.2 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.009073, allocations: 457.7 kB / 283.7 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.009213, allocations: 32.84 kB / 283.7 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.009611, allocations: 414.5 kB / 284.1 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.009652, allocations: 80.27 kB / 284.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.452e-06/0.009659, allocations: 0 / 284.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.00967, allocations: 8.5 kB / 284.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009671, allocations: 0 / 284.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of Templates: time 0.004286/0.01396, allocations: 3.168 MB / 287.4 MB, free: 2.594 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.652086835121736]