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.001582/0.001582, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.001703/0.001703, allocations: 209.9 kB / 24.47 MB, free: 3.996 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.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.002749/0.002749, allocations: 63.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2299, allocations: 53.3 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002329/0.2322, allocations: 1.253 MB / 433.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.2332, allocations: 477.4 kB / 433.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.2332, allocations: 3.938 kB / 433.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.2332, allocations: 3.984 kB / 433.8 MB, free: 5.641 MB / 334.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.0004527/0.2337, allocations: 67.75 kB / 433.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.2338, allocations: 67.75 kB / 433.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.2339, allocations: 47.89 kB / 433.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.234, allocations: 8 kB / 433.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.234, allocations: 19.92 kB / 434 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.2341, allocations: 19.91 kB / 434 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.2341, allocations: 0 / 434 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.2343, allocations: 135.8 kB / 434.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.2344, allocations: 27.92 kB / 434.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.2344, allocations: 47.62 kB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.2347, allocations: 177.3 kB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2347, allocations: 4 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2347, allocations: 0 / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2347, allocations: 4 kB / 434.4 MB, free: 5.027 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.0006412/0.2353, allocations: 0.5721 MB / 434.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2354, allocations: 8.031 kB / 434.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.2355, allocations: 24.84 kB / 435 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2357, allocations: 184.1 kB / 435.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2357, allocations: 384 / 435.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.2357, allocations: 8.375 kB / 435.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.236, allocations: 279.8 kB / 435.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.236, allocations: 192 / 435.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.236, allocations: 7.938 kB / 435.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.236, allocations: 0 / 435.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.2362, allocations: 143.9 kB / 435.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.2364, allocations: 202.2 kB / 435.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.2366, allocations: 177.2 kB / 436 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2367, allocations: 157.6 kB / 436.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.2368, allocations: 3.938 kB / 436.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/0.2372, allocations: 480.9 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.012e-06/0.2372, allocations: 0 / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008698/0.2381, allocations: 0.7389 MB / 437.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.2382, allocations: 160.6 kB / 437.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.2383, allocations: 101.8 kB / 437.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.2383, allocations: 25.7 kB / 437.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.2384, allocations: 89.14 kB / 437.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/0.2384, allocations: 95.16 kB / 437.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.2385, allocations: 37.7 kB / 437.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2386, allocations: 330.8 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.2387, allocations: 80.34 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.2388, allocations: 122.1 kB / 438.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.2392, allocations: 413.4 kB / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2392, allocations: 0 / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003855/0.2396, allocations: 349.1 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.2397, allocations: 111.3 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2397, allocations: 3.984 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2397, allocations: 4 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.2397, allocations: 0 / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2397, allocations: 4.094 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.2398, allocations: 19.84 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2398, allocations: 12 kB / 439.2 MB, free: 15.77 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.0002719/0.2401, allocations: 295.7 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.2401, allocations: 27.84 kB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/0.2401, allocations: 9.562 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2401, allocations: 0 / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2401, allocations: 0 / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2401, allocations: 0 / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.2403, allocations: 237.4 kB / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2403, allocations: 0 / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.2403, allocations: 0 / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2403, allocations: 7.875 kB / 439.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.2404, allocations: 23.98 kB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2404, allocations: 0 / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2404, allocations: 3.938 kB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.2416, allocations: 1.252 MB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.2417, allocations: 96.91 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.2418, allocations: 71.88 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.203e-05/0.2418, allocations: 8 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.2419, allocations: 20 kB / 441.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.2419, allocations: 19.94 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.242, allocations: 87.27 kB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.242, allocations: 0 / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.2423, allocations: 87.88 kB / 441.5 MB, free: 13.42 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.0006014/0.2429, allocations: 296.5 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.244, allocations: 1.072 MB / 442.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.244, allocations: 0 / 442.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.2448, allocations: 0.8928 MB / 443.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.245, allocations: 23.44 kB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.2456, allocations: 429.8 kB / 444.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2459, allocations: 0.7284 MB / 444.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.2459, allocations: 7.438 kB / 444.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2459, allocations: 0 / 444.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of Templates: time 0.005096/0.251, allocations: 2.861 MB / 447.8 MB, free: 7.043 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.280231962911785]