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.001073/0.001073, allocations: 112.7 kB / 17.74 MB, free: 5.328 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.001023/0.001023, allocations: 187 kB / 18.68 MB, free: 4.398 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.313/1.313, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2126, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002092/0.2147, allocations: 1.237 MB / 402.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.2157, allocations: 468.5 kB / 403.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.2157, allocations: 0 / 403.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.2157, allocations: 4 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.0004213/0.2162, allocations: 71.72 kB / 403.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.2163, allocations: 67.75 kB / 403.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2165, allocations: 51.84 kB / 403.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.2165, allocations: 7.5 kB / 403.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.2165, allocations: 27.97 kB / 403.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.8e-05/0.2166, allocations: 7.938 kB / 403.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2166, allocations: 4 kB / 403.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.2168, allocations: 119.8 kB / 403.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.2169, allocations: 39.83 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.2169, allocations: 43.69 kB / 403.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.2172, allocations: 179.1 kB / 403.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2172, allocations: 0 / 403.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2172, allocations: 0 / 403.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2172, allocations: 0 / 403.7 MB, free: 6.562 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.0005294/0.2178, allocations: 0.5798 MB / 404.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2178, allocations: 8.031 kB / 404.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.2179, allocations: 24.84 kB / 404.3 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2181, allocations: 176.2 kB / 404.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2181, allocations: 384 / 404.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.2181, allocations: 8.375 kB / 404.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.2184, allocations: 267.9 kB / 404.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2184, allocations: 192 / 404.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.2184, allocations: 15.88 kB / 404.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2184, allocations: 0 / 404.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2186, allocations: 143.9 kB / 404.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.2188, allocations: 194.4 kB / 405.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.2191, allocations: 497.2 kB / 405.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.2194, allocations: 469.6 kB / 406.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.2195, allocations: 4 kB / 406.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/0.2199, allocations: 476.9 kB / 406.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.373e-06/0.2199, allocations: 0 / 406.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.0007676/0.2207, allocations: 0.7231 MB / 407.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.2207, allocations: 156.5 kB / 407.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.2208, allocations: 114 kB / 407.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2208, allocations: 29.64 kB / 407.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.2209, allocations: 81.14 kB / 407.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.221, allocations: 95.22 kB / 407.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.221, allocations: 45.69 kB / 407.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2211, allocations: 322.8 kB / 408.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.2212, allocations: 84.34 kB / 408.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-05/0.2213, allocations: 118.1 kB / 408.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.2216, allocations: 417.6 kB / 408.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2216, allocations: 0 / 408.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003338/0.222, allocations: 348.8 kB / 409 MB, free: 0.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.564e-05/0.2221, allocations: 111.3 kB / 409.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2221, allocations: 3.938 kB / 409.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2221, allocations: 0 / 409.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.324e-06/0.2221, allocations: 4 kB / 409.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2221, allocations: 0 / 409.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.2222, allocations: 31.86 kB / 409.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.2222, allocations: 8 kB / 409.2 MB, free: 0.707 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.0002309/0.2224, allocations: 295.7 kB / 409.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.2225, allocations: 23.91 kB / 409.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.056e-05/0.2225, allocations: 9.5 kB / 409.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2225, allocations: 4 kB / 409.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2225, allocations: 3.984 kB / 409.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.2226, allocations: 92.95 kB / 409.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.2227, allocations: 67.94 kB / 409.7 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.2227, allocations: 8 kB / 409.7 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.2228, allocations: 8 kB / 409.7 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001577/0.2244, allocations: 2.013 MB / 411.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00118/0.2255, allocations: 1.424 MB / 413.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009833/0.2265, allocations: 1.496 MB / 414.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.314e-05/0.2266, allocations: 83.27 kB / 414.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Backend: time 2.2e-07/0.2266, allocations: 0 / 414.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.2286, allocations: 2.114 MB / 416.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009968/0.2296, allocations: 1.396 MB / 418.2 MB, free: 7.488 MB / 334.1 MB Notification: Performance of Templates: time 0.005671/0.2353, allocations: 3.159 MB / 421.4 MB, free: 4.328 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