Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001274/0.001274, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.001288/0.001288, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.404/1.404, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 71.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2012, allocations: 53.31 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002291/0.2035, allocations: 1.245 MB / 433.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2045, allocations: 469.5 kB / 433.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.2045, allocations: 0 / 433.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.2046, allocations: 3.938 kB / 433.8 MB, free: 5.652 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0004086/0.205, allocations: 75.67 kB / 433.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.2051, allocations: 75.67 kB / 433.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.2052, allocations: 43.97 kB / 433.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.2052, allocations: 7.922 kB / 434 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.2053, allocations: 23.91 kB / 434 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.2053, allocations: 19.91 kB / 434 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2053, allocations: 4 kB / 434 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.2056, allocations: 123.8 kB / 434.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.2056, allocations: 35.91 kB / 434.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.2057, allocations: 51.61 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2059, allocations: 172.9 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2059, allocations: 4 kB / 434.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2059, allocations: 0 / 434.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.2059, allocations: 0 / 434.4 MB, free: 5.027 MB / 334.1 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.0006245/0.2066, allocations: 0.5721 MB / 435 MB, free: 4.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2066, allocations: 8.031 kB / 435 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.2067, allocations: 20.84 kB / 435 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.2069, allocations: 176.2 kB / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.2069, allocations: 8.359 kB / 435.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.2069, allocations: 4.375 kB / 435.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.2072, allocations: 283.7 kB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2073, allocations: 4.188 kB / 435.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2073, allocations: 7.922 kB / 435.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.2073, allocations: 0 / 435.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.2074, allocations: 140 kB / 435.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.2076, allocations: 202.2 kB / 435.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.2078, allocations: 185.1 kB / 436 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.208, allocations: 153.7 kB / 436.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.208, allocations: 0 / 436.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004776/0.2085, allocations: 476.8 kB / 436.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.102e-06/0.2085, allocations: 4 kB / 436.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008986/0.2094, allocations: 0.7389 MB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.2095, allocations: 156.5 kB / 437.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.2096, allocations: 101.8 kB / 437.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2096, allocations: 29.7 kB / 437.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.2096, allocations: 85.14 kB / 437.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.2097, allocations: 95.16 kB / 437.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.2098, allocations: 37.7 kB / 437.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2099, allocations: 330.9 kB / 438.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.21, allocations: 80.36 kB / 438.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.2101, allocations: 114.2 kB / 438.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.2105, allocations: 429.2 kB / 438.8 MB, free: 304 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2105, allocations: 0 / 438.8 MB, free: 304 kB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003953/0.2109, allocations: 340.9 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.729e-05/0.211, allocations: 114.1 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.211, allocations: 8.031 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.211, allocations: 4 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-06/0.211, allocations: 3.938 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.211, allocations: 3.984 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.2111, allocations: 23.84 kB / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2111, allocations: 8.328 kB / 439.3 MB, free: 15.77 MB / 350.1 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.0002837/0.2114, allocations: 295.7 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.2114, allocations: 27.91 kB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.2115, allocations: 9.5 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2115, allocations: 3.984 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2115, allocations: 0 / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.2115, allocations: 96.95 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.2116, allocations: 63.94 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.2117, allocations: 16 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.2117, allocations: 11.98 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001933/0.2137, allocations: 2.032 MB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001458/0.2151, allocations: 1.451 MB / 443.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002568/0.2154, allocations: 207.9 kB / 443.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.2154, allocations: 87.27 kB / 443.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Backend: time 2.2e-07/0.2154, allocations: 0 / 443.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.217, allocations: 1.055 MB / 444.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of SimCode: time 0.001227/0.2183, allocations: 1.396 MB / 446 MB, free: 8.852 MB / 350.1 MB Notification: Performance of Templates: time 0.006611/0.2249, allocations: 3.218 MB / 449.2 MB, free: 5.637 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.27709098206833]