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.0009416/0.0009416, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002209, allocations: 449.7 kB / 10.37 MB, free: 324 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.0009001/0.0009001, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.002043, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9263/0.9263, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0763/1.003, allocations: 53.87 MB / 243.8 MB, free: 14.92 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.453e-06/1.453e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.287e-06/1.074e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001367/0.001378, allocations: 1.316 MB / 246.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004865/0.001865, allocations: 478.8 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.001888, allocations: 3.938 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.001904, allocations: 0 / 246.8 MB, free: 11.88 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.0002549/0.002159, allocations: 75.66 kB / 246.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.597e-05/0.002255, allocations: 59.75 kB / 246.9 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.197e-05/0.002347, allocations: 47.83 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.949e-05/0.002377, allocations: 0 / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.002433, allocations: 35.89 kB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.099e-05/0.002464, allocations: 15.98 kB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.002474, allocations: 0 / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.002693, allocations: 155.6 kB / 247.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.002732, allocations: 39.86 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.002763, allocations: 27.94 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.002943, allocations: 183.3 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.002957, allocations: 0 / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.002958, allocations: 0 / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.002971, allocations: 0 / 247.4 MB, free: 11.25 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.0004123/0.003383, allocations: 473.8 kB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.584e-05/0.003409, allocations: 8.625 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.003532, allocations: 102 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.272e-05/0.003614, allocations: 125.5 kB / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003625, allocations: 4.375 kB / 248.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.003633, allocations: 4.375 kB / 248.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.003808, allocations: 282.2 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.003814, allocations: 4.188 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.003821, allocations: 4.375 kB / 248.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.003825, allocations: 384 / 248.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.003927, allocations: 198.1 kB / 248.6 MB, free: 9.945 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.015e-05/0.003998, allocations: 84.41 kB / 248.7 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.004117, allocations: 220.6 kB / 248.9 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.004221, allocations: 201.1 kB / 249.1 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-06/0.004224, allocations: 0 / 249.1 MB, free: 9.383 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.004471, allocations: 482 kB / 249.6 MB, free: 8.855 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 7.42e-07/0.004471, allocations: 4 kB / 249.6 MB, free: 8.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.0004452/0.004917, allocations: 0.7602 MB / 250.3 MB, free: 8.047 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.004969, allocations: 156.5 kB / 250.5 MB, free: 7.863 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.005024, allocations: 110.6 kB / 250.6 MB, free: 7.742 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.005034, allocations: 29.7 kB / 250.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.797e-05/0.005052, allocations: 81.14 kB / 250.7 MB, free: 7.625 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.005096, allocations: 91.19 kB / 250.8 MB, free: 7.535 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.005389, allocations: 37.67 kB / 250.8 MB, free: 7.492 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.005457, allocations: 334.7 kB / 251.2 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.005531, allocations: 158.6 kB / 251.3 MB, free: 6.988 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.005613, allocations: 189.6 kB / 251.5 MB, free: 6.785 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.005786, allocations: 375 kB / 251.9 MB, free: 6.387 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005789, allocations: 4 kB / 251.9 MB, free: 6.383 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002368/0.006025, allocations: 439.2 kB / 252.3 MB, free: 5.922 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.006085, allocations: 107.3 kB / 252.4 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.006092, allocations: 11.98 kB / 252.4 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.0061, allocations: 0 / 252.4 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-06/0.006104, allocations: 0 / 252.4 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.006107, allocations: 0 / 252.4 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.006148, allocations: 23.84 kB / 252.4 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.00616, allocations: 11.94 kB / 252.4 MB, free: 5.758 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.0001373/0.006298, allocations: 266.6 kB / 252.7 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.006329, allocations: 39.97 kB / 252.7 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.201e-05/0.006341, allocations: 9.984 kB / 252.8 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.006342, allocations: 4 kB / 252.8 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.006343, allocations: 0 / 252.8 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006347, allocations: 3.984 kB / 252.8 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.371e-05/0.006421, allocations: 109.6 kB / 252.9 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006422, allocations: 4 kB / 252.9 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.006423, allocations: 3.984 kB / 252.9 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.006435, allocations: 19.84 kB / 252.9 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006436, allocations: 3.938 kB / 252.9 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.006451, allocations: 16 kB / 252.9 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.006452, allocations: 3.984 kB / 252.9 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006453, allocations: 4 kB / 252.9 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.006853, allocations: 0.717 MB / 253.6 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.006915, allocations: 59.94 kB / 253.7 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.006945, allocations: 8 kB / 253.7 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.006969, allocations: 11.98 kB / 253.7 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.006983, allocations: 12 kB / 253.7 MB, free: 4.383 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.173e-05/0.006995, allocations: 12.84 kB / 253.7 MB, free: 4.367 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006995, allocations: 0 / 253.7 MB, free: 4.367 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001941/0.007189, allocations: 87.94 kB / 253.8 MB, free: 4.281 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.0004711/0.00766, allocations: 337.9 kB / 254.2 MB, free: 4 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.00805, allocations: 0.6701 MB / 254.8 MB, free: 3.277 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.008057, allocations: 7.938 kB / 254.8 MB, free: 3.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.008268, allocations: 463 kB / 255.3 MB, free: 2.777 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.008373, allocations: 63 kB / 255.3 MB, free: 2.719 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.008835, allocations: 419.7 kB / 255.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.008873, allocations: 76.33 kB / 255.8 MB, free: 2.164 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.752e-06/0.008879, allocations: 0 / 255.8 MB, free: 2.164 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.00901, allocations: 131.3 kB / 256 MB, free: 2.035 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009011, allocations: 0 / 256 MB, free: 2.035 MB / 250.7 MB Notification: Performance of Templates: time 0.004673/0.01368, allocations: 3.381 MB / 259.3 MB, free: 14.68 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4321642760187387]