Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006804/0.0006804, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003299/0.003299, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8522/0.8522, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.51e-07/8.51e-07, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.561e-05, allocations: 8.812 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001267/0.001282, allocations: 1.239 MB / 327.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000519/0.001801, allocations: 453.2 kB / 327.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.001817, allocations: 3.938 kB / 327.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.001832, allocations: 0 / 327.5 MB, free: 13.74 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0002577/0.00209, allocations: 87.58 kB / 327.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.46e-05/0.002185, allocations: 67.69 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.002245, allocations: 51.89 kB / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.864e-05/0.002264, allocations: 3.938 kB / 327.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.002293, allocations: 23.97 kB / 327.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.202e-05/0.002315, allocations: 15.97 kB / 327.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.583e-06/0.002321, allocations: 0 / 327.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.002488, allocations: 151.7 kB / 327.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.002523, allocations: 35.88 kB / 327.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.002553, allocations: 35.91 kB / 328 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.002725, allocations: 195.3 kB / 328.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-06/0.002726, allocations: 0 / 328.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002727, allocations: 4 kB / 328.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.00273, allocations: 0 / 328.2 MB, free: 13.08 MB / 298.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.0003004/0.00303, allocations: 488 kB / 328.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.225e-05/0.003052, allocations: 8.031 kB / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.003128, allocations: 24.84 kB / 328.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.042e-05/0.003189, allocations: 125.6 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.003197, allocations: 4.375 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.003205, allocations: 4.375 kB / 328.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.003436, allocations: 391.1 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.003442, allocations: 8.125 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.003448, allocations: 4.375 kB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-06/0.00345, allocations: 384 / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.003595, allocations: 271 kB / 329.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.278e-05/0.003678, allocations: 130.1 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.003833, allocations: 292.5 kB / 329.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.003971, allocations: 281 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-06/0.003975, allocations: 0 / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/0.004279, allocations: 0.5703 MB / 330.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 5.41e-07/0.00428, allocations: 7.938 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.000617/0.004897, allocations: 0.976 MB / 331.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.004958, allocations: 160.4 kB / 331.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.694e-05/0.005005, allocations: 105.8 kB / 332 MB, free: 8.949 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.005015, allocations: 29.7 kB / 332 MB, free: 8.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/0.005036, allocations: 81.14 kB / 332.1 MB, free: 8.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.005079, allocations: 95.16 kB / 332.2 MB, free: 8.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.005115, allocations: 45.69 kB / 332.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.005187, allocations: 326.8 kB / 332.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.00529, allocations: 199.7 kB / 332.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.005398, allocations: 221.8 kB / 332.9 MB, free: 7.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.005644, allocations: 473.4 kB / 333.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.005645, allocations: 4 kB / 333.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002788/0.005923, allocations: 496.1 kB / 333.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.005979, allocations: 107.3 kB / 334 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.005982, allocations: 0 / 334 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/0.005988, allocations: 4 kB / 334 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-07/0.005988, allocations: 0 / 334 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005993, allocations: 3.938 kB / 334 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.006023, allocations: 23.84 kB / 334 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.006032, allocations: 8 kB / 334 MB, free: 6.75 MB / 298.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.0001535/0.006186, allocations: 283.7 kB / 334.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.006213, allocations: 23.91 kB / 334.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.416e-06/0.006221, allocations: 9.656 kB / 334.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-07/0.006222, allocations: 0 / 334.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.006224, allocations: 4 kB / 334.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.006228, allocations: 3.938 kB / 334.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.85e-05/0.006327, allocations: 153.1 kB / 334.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006327, allocations: 0 / 334.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.006328, allocations: 0 / 334.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006329, allocations: 0 / 334.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.006345, allocations: 19.98 kB / 334.5 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006346, allocations: 0 / 334.5 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006347, allocations: 7.938 kB / 334.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.006962, allocations: 0.9077 MB / 335.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.00698, allocations: 35.8 kB / 335.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.007043, allocations: 72.3 kB / 335.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.79e-05/0.007071, allocations: 8 kB / 335.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.007094, allocations: 11.94 kB / 335.6 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.00711, allocations: 23.86 kB / 335.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.811e-05/0.007138, allocations: 91.25 kB / 335.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007138, allocations: 0 / 335.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.007337, allocations: 87.88 kB / 335.8 MB, free: 4.922 MB / 298.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.0003489/0.007686, allocations: 299.7 kB / 336.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005389/0.008225, allocations: 0.8646 MB / 336.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008227, allocations: 0 / 336.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.008523, allocations: 0.5331 MB / 337.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.008638, allocations: 23.98 kB / 337.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.009078, allocations: 0.5322 MB / 338 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.332e-05/0.009142, allocations: 114.3 kB / 338.1 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-06/0.00915, allocations: 12.5 kB / 338.1 MB, free: 2.426 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.009151, allocations: 0 / 338.1 MB, free: 2.426 MB / 298.7 MB Notification: Performance of Templates: time 0.00292/0.01207, allocations: 2.901 MB / 341 MB, free: 15.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.356591483578086]