Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008094/0.0008094, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001815, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006422/0.0006422, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008372/0.001479, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9353/0.9353, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08313/1.018, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.441e-05, allocations: 2.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002203/0.002227, allocations: 1.301 MB / 240.8 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007078/0.002935, allocations: 471.6 kB / 241.3 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.002966, allocations: 0 / 241.3 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.002991, allocations: 3.938 kB / 241.3 MB, free: 1.402 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0003276/0.003318, allocations: 67.72 kB / 241.4 MB, free: 1.336 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.003449, allocations: 75.61 kB / 241.5 MB, free: 1.262 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.003549, allocations: 35.92 kB / 241.5 MB, free: 1.227 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.003587, allocations: 4 kB / 241.5 MB, free: 1.223 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.003655, allocations: 31.89 kB / 241.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.003697, allocations: 19.97 kB / 241.5 MB, free: 1.172 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.003712, allocations: 4 kB / 241.5 MB, free: 1.168 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.003994, allocations: 155.6 kB / 241.7 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.004041, allocations: 35.86 kB / 241.7 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.004081, allocations: 23.94 kB / 241.8 MB, free: 0.957 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.004321, allocations: 175.4 kB / 241.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.82e-05/0.004339, allocations: 0 / 241.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.00434, allocations: 0 / 241.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.004358, allocations: 0 / 241.9 MB, free: 0.7852 MB / 234.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.0005218/0.00488, allocations: 481.7 kB / 242.4 MB, free: 280 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.004911, allocations: 8.031 kB / 242.4 MB, free: 272 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.005067, allocations: 102 kB / 242.5 MB, free: 152 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.005169, allocations: 121.6 kB / 242.6 MB, free: 4 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.005184, allocations: 4.375 kB / 242.6 MB, free: 0 / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.005209, allocations: 4.422 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.005461, allocations: 294 kB / 242.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005468, allocations: 192 / 242.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.005477, allocations: 384 / 242.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005484, allocations: 4.375 kB / 242.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.005624, allocations: 190.1 kB / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.929e-05/0.005724, allocations: 88.56 kB / 243.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.005899, allocations: 228.5 kB / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.006035, allocations: 193.8 kB / 243.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-06/0.006039, allocations: 0 / 243.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003899/0.006429, allocations: 485.8 kB / 244.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 9.72e-07/0.00643, allocations: 0 / 244.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006446/0.007074, allocations: 0.7524 MB / 244.8 MB, free: 13.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.007148, allocations: 156.5 kB / 245 MB, free: 13.4 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.007219, allocations: 114.6 kB / 245.1 MB, free: 13.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.007232, allocations: 25.7 kB / 245.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.007261, allocations: 85.2 kB / 245.2 MB, free: 13.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.007324, allocations: 95.19 kB / 245.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.007373, allocations: 41.66 kB / 245.3 MB, free: 13.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.007472, allocations: 334.7 kB / 245.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.007581, allocations: 158.6 kB / 245.8 MB, free: 12.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.007698, allocations: 177.8 kB / 246 MB, free: 12.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.007963, allocations: 375 kB / 246.4 MB, free: 11.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.007965, allocations: 0 / 246.4 MB, free: 11.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000357/0.008322, allocations: 451.4 kB / 246.8 MB, free: 11.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.367e-05/0.008406, allocations: 103.3 kB / 246.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.008412, allocations: 3.984 kB / 246.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.589e-06/0.008421, allocations: 4.094 kB / 246.9 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-06/0.008428, allocations: 3.984 kB / 246.9 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008431, allocations: 0 / 246.9 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.008481, allocations: 23.89 kB / 246.9 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.008499, allocations: 11.94 kB / 247 MB, free: 11.29 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.000187/0.008686, allocations: 262.5 kB / 247.2 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.008734, allocations: 39.97 kB / 247.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.46e-05/0.008748, allocations: 5.656 kB / 247.3 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.00875, allocations: 0 / 247.3 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.008753, allocations: 4 kB / 247.3 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.008756, allocations: 3.984 kB / 247.3 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.008862, allocations: 105.6 kB / 247.4 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.008863, allocations: 4 kB / 247.4 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.008864, allocations: 0 / 247.4 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.008886, allocations: 39.73 kB / 247.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008887, allocations: 0 / 247.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.008908, allocations: 15.98 kB / 247.4 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.008909, allocations: 0 / 247.4 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.008911, allocations: 3.938 kB / 247.4 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.009512, allocations: 0.7211 MB / 248.1 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.0096, allocations: 59.94 kB / 248.2 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.009648, allocations: 12 kB / 248.2 MB, free: 9.938 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.00968, allocations: 7.984 kB / 248.2 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.009706, allocations: 19.98 kB / 248.2 MB, free: 9.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.22e-05/0.009718, allocations: 12.89 kB / 248.3 MB, free: 9.895 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009718, allocations: 0 / 248.3 MB, free: 9.895 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.009978, allocations: 83.92 kB / 248.3 MB, free: 9.812 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.0006154/0.01059, allocations: 354.5 kB / 248.7 MB, free: 9.527 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.01117, allocations: 0.6778 MB / 249.4 MB, free: 8.797 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.01117, allocations: 0 / 249.4 MB, free: 8.797 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.01151, allocations: 463.1 kB / 249.8 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.01165, allocations: 51.98 kB / 249.9 MB, free: 8.254 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.01231, allocations: 431.2 kB / 250.3 MB, free: 7.789 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.486e-05/0.01237, allocations: 80.31 kB / 250.4 MB, free: 7.688 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.466e-06/0.01237, allocations: 0 / 250.4 MB, free: 7.688 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.01256, allocations: 119.4 kB / 250.5 MB, free: 7.57 MB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01256, allocations: 3.938 kB / 250.5 MB, free: 7.566 MB / 250.7 MB Notification: Performance of Templates: time 0.005599/0.01816, allocations: 3.38 MB / 253.9 MB, free: 4.219 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5297840628772974]