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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 109.2 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 184.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009546/0.0009546, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2127, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.00194/0.2147, allocations: 1.231 MB / 402.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008424/0.2155, allocations: 476.6 kB / 403.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.2156, allocations: 0 / 403.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.2156, allocations: 3.938 kB / 403.1 MB, free: 7.164 MB / 318.1 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.0004028/0.216, allocations: 71.73 kB / 403.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.2162, allocations: 63.77 kB / 403.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.724e-05/0.2163, allocations: 47.89 kB / 403.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.2163, allocations: 4 kB / 403.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.2164, allocations: 23.91 kB / 403.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.236e-05/0.2164, allocations: 23.86 kB / 403.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2164, allocations: 4 kB / 403.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.2166, allocations: 115.8 kB / 403.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.2167, allocations: 39.89 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.2168, allocations: 43.69 kB / 403.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.217, allocations: 179.4 kB / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.217, allocations: 0 / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.217, allocations: 0 / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.217, allocations: 0 / 403.7 MB, free: 6.559 MB / 318.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.00052/0.2176, allocations: 0.5608 MB / 404.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2176, allocations: 12.03 kB / 404.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.2177, allocations: 16.75 kB / 404.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2179, allocations: 181.4 kB / 404.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2179, allocations: 4.375 kB / 404.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2179, allocations: 4.375 kB / 404.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.2182, allocations: 275.8 kB / 404.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.2182, allocations: 192 / 404.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.2182, allocations: 11.92 kB / 404.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2182, allocations: 0 / 404.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.2184, allocations: 143.9 kB / 404.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.2186, allocations: 202.1 kB / 405.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.2189, allocations: 497.1 kB / 405.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.2192, allocations: 465.7 kB / 406 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.2193, allocations: 7.984 kB / 406.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.2197, allocations: 480.7 kB / 406.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.372e-06/0.2197, allocations: 0 / 406.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0007632/0.2205, allocations: 0.727 MB / 407.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.2205, allocations: 156.5 kB / 407.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.2206, allocations: 105.9 kB / 407.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2206, allocations: 29.7 kB / 407.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.2207, allocations: 85.14 kB / 407.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.2207, allocations: 82.81 kB / 407.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.2208, allocations: 37.7 kB / 407.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2209, allocations: 330.8 kB / 408.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.221, allocations: 84.34 kB / 408.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.625e-05/0.2211, allocations: 110.2 kB / 408.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.2214, allocations: 421.4 kB / 408.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2214, allocations: 0 / 408.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003435/0.2218, allocations: 348.7 kB / 409 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/0.2219, allocations: 111.3 kB / 409.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.2219, allocations: 3.938 kB / 409.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2219, allocations: 0 / 409.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.365e-06/0.2219, allocations: 3.938 kB / 409.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2219, allocations: 0 / 409.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.222, allocations: 23.84 kB / 409.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.222, allocations: 12 kB / 409.2 MB, free: 0.7305 MB / 318.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.0002344/0.2222, allocations: 291.7 kB / 409.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.2223, allocations: 31.81 kB / 409.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.2223, allocations: 9.5 kB / 409.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2223, allocations: 0 / 409.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2223, allocations: 0 / 409.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.2224, allocations: 100.8 kB / 409.6 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.59e-05/0.2225, allocations: 63.95 kB / 409.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.2226, allocations: 8 kB / 409.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.2226, allocations: 11.98 kB / 409.7 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001611/0.2242, allocations: 2.013 MB / 411.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001193/0.2254, allocations: 1.428 MB / 413.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009779/0.2264, allocations: 1.5 MB / 414.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.2264, allocations: 79.28 kB / 414.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of Backend: time 3.51e-07/0.2265, allocations: 0 / 414.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.2284, allocations: 2.121 MB / 416.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of SimCode: time 0.001023/0.2295, allocations: 1.385 MB / 418.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of Templates: time 0.005902/0.2354, allocations: 3.159 MB / 421.3 MB, free: 4.352 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches