Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009803/0.0009803, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002317, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.002186, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9622/0.9622, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08269/1.045, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.301e-05, allocations: 5.125 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001786/0.001799, allocations: 1.325 MB / 245.8 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000636/0.002435, allocations: 462.9 kB / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.002455, allocations: 3.938 kB / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.002467, allocations: 0 / 246.3 MB, free: 12.54 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.003256/0.005722, allocations: 71.67 kB / 246.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.005853, allocations: 67.67 kB / 246.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.005924, allocations: 43.91 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.088e-05/0.005945, allocations: 4 kB / 246.5 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.005996, allocations: 35.89 kB / 246.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.836e-05/0.006025, allocations: 15.97 kB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.006035, allocations: 4 kB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.006314, allocations: 159.6 kB / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.006353, allocations: 35.86 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.006388, allocations: 27.94 kB / 246.8 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.00659, allocations: 171.3 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.006599, allocations: 3.984 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006599, allocations: 0 / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.006608, allocations: 4 kB / 246.9 MB, free: 11.9 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.0003729/0.006981, allocations: 473.8 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.167e-05/0.007002, allocations: 8.031 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.007201, allocations: 98.03 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.007281, allocations: 133.5 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.007288, allocations: 384 / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.007297, allocations: 4.375 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.007508, allocations: 278.2 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.007513, allocations: 192 / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.007522, allocations: 4.375 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-06/0.007524, allocations: 4.375 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.007658, allocations: 198.1 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.666e-05/0.007735, allocations: 92.39 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.007892, allocations: 224.5 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.008023, allocations: 193.1 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-06/0.008028, allocations: 4 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.008339, allocations: 481.8 kB / 249.1 MB, free: 9.508 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 7.12e-07/0.00834, allocations: 0 / 249.1 MB, free: 9.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.003618/0.01196, allocations: 0.7535 MB / 249.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.01203, allocations: 164.5 kB / 250 MB, free: 8.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.01208, allocations: 110.7 kB / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.01209, allocations: 29.7 kB / 250.1 MB, free: 8.363 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.121e-05/0.01211, allocations: 81.14 kB / 250.2 MB, free: 8.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.01217, allocations: 91.19 kB / 250.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.01222, allocations: 41.67 kB / 250.3 MB, free: 8.145 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.0123, allocations: 334.7 kB / 250.7 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.01241, allocations: 158.6 kB / 250.8 MB, free: 7.641 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.01252, allocations: 181.8 kB / 251 MB, free: 7.445 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.01275, allocations: 370.3 kB / 251.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01275, allocations: 4.031 kB / 251.4 MB, free: 7.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003017/0.01305, allocations: 451.1 kB / 251.8 MB, free: 6.574 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.01312, allocations: 107.3 kB / 251.9 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.01312, allocations: 0 / 251.9 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.01313, allocations: 0 / 251.9 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.807e-06/0.01313, allocations: 4 kB / 251.9 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-06/0.01313, allocations: 4 kB / 251.9 MB, free: 6.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.01318, allocations: 23.83 kB / 251.9 MB, free: 6.426 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.01319, allocations: 11.94 kB / 251.9 MB, free: 6.414 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.0001681/0.01336, allocations: 266.5 kB / 252.2 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.01341, allocations: 39.97 kB / 252.2 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.059e-05/0.01342, allocations: 5.656 kB / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01342, allocations: 4 kB / 252.3 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.01342, allocations: 0 / 252.3 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.01342, allocations: 4 kB / 252.3 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.652e-05/0.01352, allocations: 109.6 kB / 252.4 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.01352, allocations: 0 / 252.4 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.01352, allocations: 0 / 252.4 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.01354, allocations: 27.78 kB / 252.4 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.01354, allocations: 0 / 252.4 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.01356, allocations: 15.98 kB / 252.4 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01356, allocations: 0 / 252.4 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01356, allocations: 4 kB / 252.4 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/0.01734, allocations: 0.7212 MB / 253.1 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.01742, allocations: 59.94 kB / 253.2 MB, free: 5.078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.157e-05/0.01746, allocations: 12.03 kB / 253.2 MB, free: 5.066 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.01749, allocations: 11.98 kB / 253.2 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.01751, allocations: 15.98 kB / 253.2 MB, free: 5.039 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.17e-05/0.01753, allocations: 8.859 kB / 253.2 MB, free: 5.027 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01753, allocations: 0 / 253.2 MB, free: 5.027 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.01778, allocations: 91.92 kB / 253.3 MB, free: 4.938 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.0005518/0.01833, allocations: 336.9 kB / 253.7 MB, free: 4.672 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.01882, allocations: 0.6854 MB / 254.3 MB, free: 3.934 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.01883, allocations: 0 / 254.3 MB, free: 3.934 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.01911, allocations: 462.9 kB / 254.8 MB, free: 3.441 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.01922, allocations: 57.48 kB / 254.9 MB, free: 3.391 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.01977, allocations: 419.4 kB / 255.3 MB, free: 2.934 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.01981, allocations: 76.33 kB / 255.3 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.32e-06/0.01982, allocations: 4.25 kB / 255.3 MB, free: 2.832 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.01998, allocations: 123.3 kB / 255.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01998, allocations: 0 / 255.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of Templates: time 0.01095/0.03094, allocations: 3.375 MB / 258.8 MB, free: 15.37 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.4872916862368584]