Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001755/0.001755, allocations: 108.3 kB / 19.17 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002108/0.002108, allocations: 205 kB / 22.12 MB, free: 0.9688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 63.91 kB / 374.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1224, allocations: 53.31 MB / 428.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.003352/0.1257, allocations: 1.251 MB / 429.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.127, allocations: 462.4 kB / 429.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.1271, allocations: 0 / 429.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.623e-05/0.1271, allocations: 3.984 kB / 429.8 MB, free: 2.629 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0006528/0.1278, allocations: 75.67 kB / 429.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.128, allocations: 63.75 kB / 429.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.1281, allocations: 39.91 kB / 429.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.1282, allocations: 8 kB / 429.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.239e-05/0.1282, allocations: 19.91 kB / 430 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.1283, allocations: 23.91 kB / 430 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1283, allocations: 8 kB / 430 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.1286, allocations: 127.8 kB / 430.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1287, allocations: 31.86 kB / 430.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.1288, allocations: 51.66 kB / 430.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1291, allocations: 167.3 kB / 430.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1291, allocations: 3.938 kB / 430.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1291, allocations: 7.938 kB / 430.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1291, allocations: 0 / 430.4 MB, free: 2.012 MB / 350.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.0007451/0.1299, allocations: 0.5682 MB / 430.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1299, allocations: 12.03 kB / 431 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.1301, allocations: 20.84 kB / 431 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.1303, allocations: 184.2 kB / 431.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1303, allocations: 4.375 kB / 431.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.1303, allocations: 4.375 kB / 431.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.1306, allocations: 263.9 kB / 431.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1307, allocations: 192 / 431.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1307, allocations: 7.938 kB / 431.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1307, allocations: 0 / 431.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.1309, allocations: 151.9 kB / 431.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.1311, allocations: 210 kB / 431.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.1314, allocations: 177.1 kB / 432 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.1315, allocations: 153.7 kB / 432.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.1316, allocations: 7.984 kB / 432.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2122/0.3437, allocations: 473 kB / 432.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.236e-06/0.3437, allocations: 0 / 432.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009872/0.3447, allocations: 0.7425 MB / 433.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.3448, allocations: 161.2 kB / 433.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.3449, allocations: 103.1 kB / 433.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.3449, allocations: 27.8 kB / 433.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.3449, allocations: 84.41 kB / 433.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.3449, allocations: 85.83 kB / 433.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.345, allocations: 35.75 kB / 433.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.3451, allocations: 330.2 kB / 434.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/0.3451, allocations: 82.88 kB / 434.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/0.3452, allocations: 114.3 kB / 434.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3455, allocations: 422.1 kB / 434.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3455, allocations: 2.625 kB / 434.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003326/0.3458, allocations: 355.3 kB / 435.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/0.3459, allocations: 111.1 kB / 435.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3459, allocations: 1.094 kB / 435.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3459, allocations: 0 / 435.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3459, allocations: 1.094 kB / 435.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.3459, allocations: 1.125 kB / 435.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.346, allocations: 20.94 kB / 435.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.346, allocations: 12.59 kB / 435.2 MB, free: 10.06 MB / 350.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.0002373/0.3463, allocations: 298.7 kB / 435.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.3463, allocations: 26.12 kB / 435.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.424e-05/0.3463, allocations: 12.75 kB / 435.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3463, allocations: 0.9844 kB / 435.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3463, allocations: 8.094 kB / 435.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.3463, allocations: 1.594 kB / 435.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3465, allocations: 232.9 kB / 435.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3465, allocations: 1.188 kB / 435.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.3465, allocations: 1.75 kB / 435.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3465, allocations: 5.156 kB / 435.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.3465, allocations: 21.33 kB / 435.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3465, allocations: 1.156 kB / 435.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3465, allocations: 3.094 kB / 435.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.3477, allocations: 1.252 MB / 437.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.3477, allocations: 96.69 kB / 437.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3478, allocations: 67.88 kB / 437.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.3479, allocations: 8.969 kB / 437.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.3479, allocations: 10.7 kB / 437.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.348, allocations: 18.78 kB / 437.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.698e-05/0.348, allocations: 82.11 kB / 437.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.348, allocations: 0 / 437.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.3484, allocations: 96.98 kB / 437.5 MB, free: 9.301 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.0005821/0.349, allocations: 301.3 kB / 437.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.35, allocations: 1.061 MB / 438.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.35, allocations: 5.312 kB / 438.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008427/0.3508, allocations: 0.8939 MB / 439.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.351, allocations: 23.59 kB / 439.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006837/0.3517, allocations: 423.9 kB / 440.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.3519, allocations: 0.7264 MB / 440.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.352, allocations: 8.562 kB / 440.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.352, allocations: 0 / 440.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of Templates: time 0.006658/0.3586, allocations: 2.858 MB / 443.7 MB, free: 7.418 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 7.877116131945513]