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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00171/0.00171, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002046/0.002046, allocations: 211.9 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.2 MB / 256.7 MB, free: 8.648 MB / 206.1 MB [Timeout remaining time 88] 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=5041,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=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 63.88 kB / 376.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3036, allocations: 53.32 MB / 430.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.00244/0.306, allocations: 1.234 MB / 431.4 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3071, allocations: 473.2 kB / 431.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.3071, allocations: 3.938 kB / 431.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.3071, allocations: 0 / 431.9 MB, free: 5.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.0005075/0.3076, allocations: 71.73 kB / 432 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.3078, allocations: 63.75 kB / 432 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3079, allocations: 51.83 kB / 432.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.3079, allocations: 4 kB / 432.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.308, allocations: 19.97 kB / 432.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.308, allocations: 19.92 kB / 432.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.308, allocations: 7.938 kB / 432.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.3083, allocations: 127.8 kB / 432.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.3083, allocations: 27.92 kB / 432.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.3084, allocations: 51.67 kB / 432.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.3087, allocations: 180.5 kB / 432.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3087, allocations: 0 / 432.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3087, allocations: 0 / 432.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3087, allocations: 0 / 432.5 MB, free: 5.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.0006312/0.3093, allocations: 0.5643 MB / 433.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3093, allocations: 8.031 kB / 433.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.3095, allocations: 28.83 kB / 433.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.3097, allocations: 180.2 kB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.3097, allocations: 8.312 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.3097, allocations: 4.375 kB / 433.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.31, allocations: 271.8 kB / 433.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3101, allocations: 4.188 kB / 433.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.3101, allocations: 15.88 kB / 433.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3101, allocations: 0 / 433.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.3102, allocations: 143.9 kB / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.3105, allocations: 210.1 kB / 433.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.3107, allocations: 169.2 kB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3109, allocations: 157.7 kB / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.3109, allocations: 4 kB / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005591/0.3114, allocations: 476.8 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 9.81e-07/0.3114, allocations: 0 / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009268/0.3124, allocations: 0.7427 MB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.3125, allocations: 160.5 kB / 435.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/0.3126, allocations: 101.9 kB / 435.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3126, allocations: 29.7 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.3126, allocations: 81.14 kB / 435.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/0.3127, allocations: 95.2 kB / 435.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.3128, allocations: 37.7 kB / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3129, allocations: 330.8 kB / 436.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.313, allocations: 80.34 kB / 436.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3131, allocations: 114.2 kB / 436.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.3135, allocations: 421.3 kB / 436.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3135, allocations: 7.938 kB / 436.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000369/0.3139, allocations: 345.1 kB / 437.2 MB, free: 232 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.314, allocations: 111.3 kB / 437.3 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.314, allocations: 3.984 kB / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.314, allocations: 0 / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.314, allocations: 0 / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.314, allocations: 3.984 kB / 437.3 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.3141, allocations: 31.92 kB / 437.4 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3141, allocations: 12 kB / 437.4 MB, free: 56 kB / 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.0002956/0.3144, allocations: 291.7 kB / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.3145, allocations: 31.84 kB / 437.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.583e-05/0.3145, allocations: 9.547 kB / 437.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.3145, allocations: 0 / 437.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3145, allocations: 0 / 437.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3145, allocations: 4 kB / 437.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.3147, allocations: 229.4 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3147, allocations: 0 / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.3147, allocations: 0 / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3147, allocations: 7.938 kB / 437.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.3147, allocations: 19.98 kB / 438 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3147, allocations: 4 kB / 438 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3147, allocations: 0 / 438 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.3161, allocations: 1.256 MB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.3162, allocations: 96.94 kB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.3163, allocations: 67.89 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.3164, allocations: 12 kB / 439.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.3164, allocations: 16.02 kB / 439.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.3164, allocations: 23.92 kB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.064e-05/0.3165, allocations: 79.28 kB / 439.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3165, allocations: 0 / 439.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.3168, allocations: 95.86 kB / 439.6 MB, free: 13.71 MB / 350.1 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.0006312/0.3175, allocations: 283.8 kB / 439.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.3186, allocations: 1.072 MB / 441 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3186, allocations: 4.125 kB / 441 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008541/0.3195, allocations: 0.8967 MB / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.3197, allocations: 16 kB / 441.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.3203, allocations: 421.7 kB / 442.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.3209, allocations: 0.7323 MB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.3209, allocations: 7.438 kB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3209, allocations: 0 / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Templates: time 0.005786/0.3267, allocations: 2.859 MB / 445.9 MB, free: 7.336 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] [Timeout remaining time 660] Reference file matches