Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 117.8 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 208 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 55.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2085, allocations: 50.55 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001892/0.2104, allocations: 1.235 MB / 411.2 MB, free: 396 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.2113, allocations: 461.2 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.2113, allocations: 0 / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.2113, allocations: 3.938 kB / 411.6 MB, free: 15.93 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0004031/0.2118, allocations: 79.73 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.2119, allocations: 63.73 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.212, allocations: 51.84 kB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.212, allocations: 7.797 kB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.2121, allocations: 19.97 kB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.2121, allocations: 19.92 kB / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.2121, allocations: 0 / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.2123, allocations: 119.8 kB / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.2124, allocations: 35.86 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.2125, allocations: 51.67 kB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.2127, allocations: 182.5 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2127, allocations: 0 / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2127, allocations: 0 / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.2127, allocations: 0 / 412.2 MB, free: 15.32 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.0004922/0.2132, allocations: 0.5604 MB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2132, allocations: 8.031 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2134, allocations: 24.83 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2135, allocations: 176.2 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2135, allocations: 4.375 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.2135, allocations: 8.375 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.2138, allocations: 283.7 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2138, allocations: 4.125 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2139, allocations: 3.938 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2139, allocations: 0 / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.214, allocations: 143.9 kB / 413.4 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.2142, allocations: 206.2 kB / 413.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.2145, allocations: 493.1 kB / 414.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.2148, allocations: 469.7 kB / 414.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-06/0.2148, allocations: 0 / 414.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003824/0.2152, allocations: 488.8 kB / 415.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.213e-06/0.2152, allocations: 0 / 415.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.0007404/0.216, allocations: 0.7232 MB / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.2161, allocations: 156.5 kB / 415.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.2161, allocations: 101.8 kB / 416 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2162, allocations: 29.7 kB / 416.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.2162, allocations: 81.14 kB / 416.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.2163, allocations: 91.22 kB / 416.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.2163, allocations: 41.77 kB / 416.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.2164, allocations: 326.8 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.2165, allocations: 80.34 kB / 416.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-05/0.2166, allocations: 114.2 kB / 416.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.2169, allocations: 417.7 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2169, allocations: 0 / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003182/0.2172, allocations: 352.9 kB / 417.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.2173, allocations: 107.3 kB / 417.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2173, allocations: 12.03 kB / 417.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2174, allocations: 0 / 417.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.2174, allocations: 7.875 kB / 417.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2174, allocations: 0 / 417.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.2174, allocations: 23.84 kB / 417.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.2174, allocations: 8 kB / 417.7 MB, free: 9.473 MB / 334.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.0002214/0.2177, allocations: 295.7 kB / 418 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.2177, allocations: 31.91 kB / 418 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.199e-05/0.2178, allocations: 9.5 kB / 418 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2178, allocations: 0 / 418 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2178, allocations: 0 / 418 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.2178, allocations: 100.9 kB / 418.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.2179, allocations: 71.94 kB / 418.2 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.218, allocations: 12 kB / 418.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.218, allocations: 11.98 kB / 418.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001511/0.2195, allocations: 2.001 MB / 420.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00116/0.2207, allocations: 1.428 MB / 421.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009349/0.2217, allocations: 1.5 MB / 423.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.4e-05/0.2217, allocations: 87.22 kB / 423.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.2217, allocations: 0 / 423.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.2236, allocations: 2.112 MB / 425.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009591/0.2246, allocations: 1.385 MB / 426.7 MB, free: 252 kB / 334.1 MB Notification: Performance of Templates: time 0.005774/0.2304, allocations: 3.165 MB / 429.9 MB, free: 13.08 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches