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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009506/0.0009506, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009957/0.0009957, allocations: 142.1 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.028/1.028, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] 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=5041,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=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.764e-05, allocations: 5.969 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002007/0.002024, allocations: 1.303 MB / 269.8 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004823/0.006848, allocations: 466.1 kB / 270.3 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.006877, allocations: 0 / 270.3 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.00691, allocations: 11.88 kB / 270.3 MB, free: 4.207 MB / 250.7 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.0004486/0.007359, allocations: 67.72 kB / 270.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.00749, allocations: 67.62 kB / 270.4 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.11e-05/0.007582, allocations: 47.83 kB / 270.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.00762, allocations: 8 kB / 270.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.007668, allocations: 23.97 kB / 270.5 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.262e-05/0.0077, allocations: 15.97 kB / 270.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.007712, allocations: 3.938 kB / 270.5 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.00799, allocations: 159.6 kB / 270.7 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.008037, allocations: 35.92 kB / 270.7 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.008075, allocations: 27.94 kB / 270.7 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.00832, allocations: 195.3 kB / 270.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.008322, allocations: 0 / 270.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008323, allocations: 0 / 270.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.277e-06/0.008326, allocations: 4 kB / 270.9 MB, free: 3.562 MB / 250.7 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.000426/0.008752, allocations: 450.1 kB / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.008785, allocations: 12.86 kB / 271.4 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.008909, allocations: 20.92 kB / 271.4 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.01203, allocations: 125.6 kB / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.01204, allocations: 384 / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.01205, allocations: 4.375 kB / 271.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.01226, allocations: 250.2 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.01227, allocations: 192 / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.01228, allocations: 4.375 kB / 271.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.01229, allocations: 4.375 kB / 271.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.0124, allocations: 174.1 kB / 271.9 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.516e-05/0.01249, allocations: 80.58 kB / 272 MB, free: 2.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.01263, allocations: 192.6 kB / 272.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.01274, allocations: 173.8 kB / 272.4 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-06/0.01274, allocations: 4 kB / 272.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.01304, allocations: 449.8 kB / 272.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 7.71e-07/0.01304, allocations: 0 / 272.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.0005318/0.01357, allocations: 0.6743 MB / 273.5 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.01364, allocations: 160.6 kB / 273.6 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.0137, allocations: 110.6 kB / 273.8 MB, free: 420 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.01371, allocations: 29.7 kB / 273.8 MB, free: 384 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.01374, allocations: 85.14 kB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.0138, allocations: 91.19 kB / 274 MB, free: 200 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.01385, allocations: 45.66 kB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01395, allocations: 330.7 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.01404, allocations: 130.5 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/0.01414, allocations: 157.8 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.01434, allocations: 315.1 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01434, allocations: 0 / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002983/0.01464, allocations: 391.2 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.01472, allocations: 111.3 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01473, allocations: 0 / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01474, allocations: 0 / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.955e-06/0.01475, allocations: 4 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.01475, allocations: 0 / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.0148, allocations: 19.84 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.01481, allocations: 11.94 kB / 275.4 MB, free: 14.59 MB / 266.7 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.003198/0.01801, allocations: 258.6 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.01806, allocations: 40.3 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.01808, allocations: 9.656 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01808, allocations: 3.984 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01808, allocations: 11.86 kB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01809, allocations: 4 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.01819, allocations: 97.72 kB / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01819, allocations: 0 / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-07/0.01819, allocations: 0 / 275.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01819, allocations: 4 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.01821, allocations: 15.98 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01822, allocations: 0 / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01822, allocations: 0 / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.01875, allocations: 0.6628 MB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.01877, allocations: 23.8 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.679e-05/0.01886, allocations: 59.94 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.0189, allocations: 12.03 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.01893, allocations: 19.91 kB / 276.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.01896, allocations: 12 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.456e-05/0.01897, allocations: 12.84 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01897, allocations: 0 / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.01924, allocations: 87.88 kB / 276.8 MB, free: 13.17 MB / 266.7 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.0005292/0.01977, allocations: 320.4 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.02024, allocations: 0.6232 MB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.02024, allocations: 0 / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.02052, allocations: 434.8 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.02063, allocations: 27.94 kB / 278.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.02409, allocations: 407.4 kB / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.02414, allocations: 80.31 kB / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.306e-06/0.02415, allocations: 256 / 278.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.02434, allocations: 131.3 kB / 278.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02434, allocations: 0 / 278.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01181/0.03615, allocations: 3.365 MB / 282.1 MB, free: 7.738 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7121542976237833]