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.0007056/0.0007056, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009846/0.00169, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007095/0.0007095, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009141/0.001624, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9489/0.9489, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08304/1.032, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.543e-06/1.543e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.984e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001673/0.001692, allocations: 1.321 MB / 246 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005782/0.002271, allocations: 482.7 kB / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.002301, allocations: 0 / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.00232, allocations: 0 / 246.5 MB, free: 12.42 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.000309/0.002629, allocations: 71.66 kB / 246.6 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.002756, allocations: 63.67 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.771e-05/0.002844, allocations: 47.86 kB / 246.7 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.045e-05/0.002874, allocations: 0 / 246.7 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.002934, allocations: 31.95 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.47e-05/0.002969, allocations: 19.91 kB / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.002981, allocations: 0 / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.003411, allocations: 163.5 kB / 246.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.003457, allocations: 31.94 kB / 246.9 MB, free: 12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.003493, allocations: 31.88 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.0037, allocations: 179.4 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.003711, allocations: 0 / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003712, allocations: 0 / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.003719, allocations: 4 kB / 247.1 MB, free: 11.79 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.0003963/0.004115, allocations: 469.8 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.004149, allocations: 8.031 kB / 247.6 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.004301, allocations: 98.03 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.934e-05/0.00439, allocations: 129.5 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.0044, allocations: 8.312 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.004411, allocations: 4.375 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.004594, allocations: 286.2 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.0046, allocations: 192 / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.004608, allocations: 8.359 kB / 248.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.004611, allocations: 4.375 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.004706, allocations: 190.1 kB / 248.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.283e-05/0.004779, allocations: 80.41 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.004902, allocations: 228.5 kB / 248.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.133e-05/0.004994, allocations: 197.1 kB / 248.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.466e-06/0.004997, allocations: 0 / 248.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.005262, allocations: 485.7 kB / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 1.192e-06/0.005263, allocations: 0 / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.0004632/0.005726, allocations: 0.7613 MB / 250 MB, free: 8.582 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.00585, allocations: 374.7 kB / 250.4 MB, free: 8.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/0.005912, allocations: 102.7 kB / 250.5 MB, free: 8.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.005925, allocations: 29.7 kB / 250.5 MB, free: 8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.142e-05/0.005947, allocations: 85.12 kB / 250.6 MB, free: 7.914 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.005999, allocations: 87.27 kB / 250.7 MB, free: 7.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.006039, allocations: 45.64 kB / 250.7 MB, free: 7.777 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.006125, allocations: 330.7 kB / 251.1 MB, free: 7.445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.00621, allocations: 162.5 kB / 251.2 MB, free: 7.273 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-05/0.006298, allocations: 177.8 kB / 251.4 MB, free: 7.082 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.006485, allocations: 385.9 kB / 251.8 MB, free: 6.672 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006487, allocations: 4.031 kB / 251.8 MB, free: 6.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002694/0.006756, allocations: 443.2 kB / 252.2 MB, free: 6.203 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.006827, allocations: 107.3 kB / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.006832, allocations: 0 / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.006841, allocations: 0 / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.006842, allocations: 0 / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006847, allocations: 3.938 kB / 252.3 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.006884, allocations: 23.84 kB / 252.3 MB, free: 6.059 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.006898, allocations: 11.94 kB / 252.4 MB, free: 6.047 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.0001419/0.00704, allocations: 262.6 kB / 252.6 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.007081, allocations: 39.97 kB / 252.7 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.062e-05/0.007091, allocations: 9.641 kB / 252.7 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007093, allocations: 336 / 252.7 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.007094, allocations: 0 / 252.7 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007098, allocations: 8 kB / 252.7 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.84e-05/0.007186, allocations: 117.6 kB / 252.8 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.007188, allocations: 0 / 252.8 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-06/0.007189, allocations: 0 / 252.8 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.0072, allocations: 15.84 kB / 252.8 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.007203, allocations: 4 kB / 252.8 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.00722, allocations: 15.98 kB / 252.8 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.007221, allocations: 0 / 252.8 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007222, allocations: 0 / 252.8 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.007656, allocations: 0.7223 MB / 253.5 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/0.007721, allocations: 63.88 kB / 253.6 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.247e-05/0.007753, allocations: 12.03 kB / 253.6 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.007776, allocations: 8 kB / 253.6 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.007795, allocations: 15.98 kB / 253.6 MB, free: 4.676 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.375e-05/0.007809, allocations: 8.859 kB / 253.6 MB, free: 4.664 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007809, allocations: 0 / 253.6 MB, free: 4.664 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.008018, allocations: 91.92 kB / 253.7 MB, free: 4.574 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.0004975/0.008515, allocations: 346.8 kB / 254.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.008915, allocations: 0.6854 MB / 254.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.00892, allocations: 4 kB / 254.8 MB, free: 3.562 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.009145, allocations: 462.9 kB / 255.2 MB, free: 3.07 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.009254, allocations: 59.84 kB / 255.3 MB, free: 3.012 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.009732, allocations: 423.4 kB / 255.7 MB, free: 2.551 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.009771, allocations: 76.7 kB / 255.8 MB, free: 2.453 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.945e-06/0.009779, allocations: 4 kB / 255.8 MB, free: 2.449 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.009915, allocations: 123.3 kB / 255.9 MB, free: 2.328 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.009916, allocations: 0 / 255.9 MB, free: 2.328 MB / 250.7 MB Notification: Performance of Templates: time 0.004309/0.01422, allocations: 3.381 MB / 259.3 MB, free: 14.98 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5116071281954646]