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.001003/0.001003, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.004326/0.004326, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.033/1.033, allocations: 177 MB / 205.2 MB, free: 5.047 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.192e-06/1.192e-06, allocations: 3.938 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.057e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001745/0.001766, allocations: 1.317 MB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.00258, allocations: 466.1 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.002614, allocations: 0 / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.47e-05/0.002649, allocations: 3.938 kB / 275.2 MB, free: 15.25 MB / 266.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.0004474/0.003096, allocations: 75.66 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.003234, allocations: 67.62 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.003315, allocations: 51.83 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.003347, allocations: 0 / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.368e-05/0.003391, allocations: 27.95 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.728e-05/0.003418, allocations: 11.98 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.003429, allocations: 0 / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.003678, allocations: 167.6 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.003718, allocations: 35.88 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.003749, allocations: 23.94 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.003958, allocations: 203.3 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00396, allocations: 0 / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.003962, allocations: 0 / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.003968, allocations: 0 / 275.8 MB, free: 14.6 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.0003733/0.004341, allocations: 446.1 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.004372, allocations: 15.98 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.004482, allocations: 16.92 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.574e-05/0.004568, allocations: 129.6 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.004577, allocations: 384 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.004587, allocations: 8.375 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.004754, allocations: 254.2 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.00476, allocations: 192 / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.004772, allocations: 4.375 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.004778, allocations: 384 / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.004861, allocations: 166.1 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.223e-05/0.004943, allocations: 92.39 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.005053, allocations: 192.5 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.005132, allocations: 173.1 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-06/0.005135, allocations: 0 / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.005375, allocations: 453.8 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 8.01e-07/0.005375, allocations: 0 / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.0004161/0.005791, allocations: 0.6831 MB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.005848, allocations: 152.5 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.005909, allocations: 114.7 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.005918, allocations: 25.7 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.005939, allocations: 81.14 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.005985, allocations: 91.19 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.006022, allocations: 45.66 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.006097, allocations: 330.7 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.184e-05/0.006159, allocations: 130.6 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.006229, allocations: 157.9 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.006385, allocations: 317.9 kB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.006387, allocations: 0 / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002222/0.006609, allocations: 383.2 kB / 280.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.00667, allocations: 115.3 kB / 280.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.006675, allocations: 0 / 280.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.006685, allocations: 4 kB / 280.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.006687, allocations: 0 / 280.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006689, allocations: 0 / 280.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.006732, allocations: 23.84 kB / 280.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.006745, allocations: 12.03 kB / 280.4 MB, free: 9.621 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.0001456/0.006891, allocations: 254.5 kB / 280.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.006924, allocations: 39.97 kB / 280.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.121e-05/0.006935, allocations: 13.98 kB / 280.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.006938, allocations: 3.984 kB / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.00694, allocations: 0 / 280.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.006943, allocations: 3.984 kB / 280.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.952e-05/0.007022, allocations: 113.5 kB / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007024, allocations: 0 / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.007025, allocations: 4 kB / 280.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.007026, allocations: 0 / 280.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.007042, allocations: 15.98 kB / 280.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.007043, allocations: 0 / 280.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.007046, allocations: 4 kB / 280.8 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.007424, allocations: 0.6627 MB / 281.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.007437, allocations: 15.84 kB / 281.5 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.0075, allocations: 59.94 kB / 281.5 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.007528, allocations: 8 kB / 281.6 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.007553, allocations: 11.98 kB / 281.6 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.00757, allocations: 16 kB / 281.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.348e-05/0.007583, allocations: 12.84 kB / 281.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007583, allocations: 0 / 281.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.007797, allocations: 91.88 kB / 281.7 MB, free: 8.211 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.0004693/0.008266, allocations: 317.4 kB / 282 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003721/0.008639, allocations: 0.6194 MB / 282.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.008642, allocations: 0 / 282.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.008837, allocations: 430.9 kB / 283 MB, free: 6.809 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.754e-05/0.008934, allocations: 31.88 kB / 283.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.009292, allocations: 419.6 kB / 283.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.009333, allocations: 80.31 kB / 283.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.863e-06/0.00934, allocations: 0 / 283.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.009474, allocations: 127.3 kB / 283.7 MB, free: 6.094 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.009475, allocations: 0 / 283.7 MB, free: 6.094 MB / 266.7 MB Notification: Performance of Templates: time 0.004486/0.01396, allocations: 3.358 MB / 287 MB, free: 2.758 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 -s gbode -gbm=radauIIA3 -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.7016238579526544]