Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.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.001421/0.001421, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001443/0.001443, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.41/1.41, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise") [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.001935/0.001935, allocations: 67.89 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2319, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002628/0.2345, allocations: 1.516 MB / 433.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2356, allocations: 0.5848 MB / 434.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.2357, allocations: 0 / 434.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.952e-05/0.2358, allocations: 11.86 kB / 434.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.2358, allocations: 19.81 kB / 434.2 MB, free: 5.238 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.typeClassSections: time 0.0005477/0.2364, allocations: 147.5 kB / 434.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.2365, allocations: 111.7 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.2366, allocations: 5.125 kB / 434.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.301e-05/0.2367, allocations: 51.77 kB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.2372, allocations: 70.19 kB / 434.6 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.2372, allocations: 12 kB / 434.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.2375, allocations: 127.7 kB / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.2375, allocations: 23.92 kB / 434.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.2376, allocations: 63.66 kB / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.2379, allocations: 192.8 kB / 435 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2379, allocations: 4 kB / 435 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2379, allocations: 0 / 435 MB, free: 4.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2379, allocations: 0 / 435 MB, free: 4.453 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006606/0.2386, allocations: 462.5 kB / 435.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2386, allocations: 12.02 kB / 435.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.2389, allocations: 36.83 kB / 435.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.2391, allocations: 204.2 kB / 435.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.2391, allocations: 384 / 435.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.2391, allocations: 8.375 kB / 435.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.2394, allocations: 119.4 kB / 435.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2394, allocations: 0 / 435.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2394, allocations: 4 kB / 435.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.2394, allocations: 0 / 435.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.2396, allocations: 59.95 kB / 435.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.2403, allocations: 389.4 kB / 436.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.2406, allocations: 121.2 kB / 436.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.2407, allocations: 45.7 kB / 436.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.2407, allocations: 4 kB / 436.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.2409, allocations: 145 kB / 436.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.241, allocations: 0 / 436.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000516/0.2415, allocations: 229.5 kB / 436.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.2415, allocations: 97.16 kB / 436.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.2417, allocations: 178.3 kB / 437 MB, free: 2.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.2417, allocations: 41.7 kB / 437.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.2418, allocations: 108.6 kB / 437.2 MB, free: 2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.2419, allocations: 39.69 kB / 437.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.2419, allocations: 61.91 kB / 437.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2421, allocations: 330.8 kB / 437.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.2423, allocations: 100.5 kB / 437.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.2425, allocations: 128.4 kB / 437.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.2428, allocations: 214.9 kB / 438 MB, free: 1.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2428, allocations: 0 / 438 MB, free: 1.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004918/0.2433, allocations: 285.4 kB / 438.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2434, allocations: 4 kB / 438.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2434, allocations: 4.062 kB / 438.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2434, allocations: 4 kB / 438.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.2435, allocations: 27.92 kB / 438.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2435, allocations: 0 / 438.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.2436, allocations: 35.7 kB / 438.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.2436, allocations: 8 kB / 438.4 MB, free: 0.7383 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * Algorithm blocks: 0 * 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.0001553/0.2438, allocations: 153.7 kB / 438.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.2438, allocations: 11.91 kB / 438.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.2438, allocations: 13.41 kB / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2438, allocations: 0 / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2438, allocations: 0 / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.2439, allocations: 96.98 kB / 438.7 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.2439, allocations: 11.94 kB / 438.7 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.244, allocations: 7.984 kB / 438.7 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.244, allocations: 11.98 kB / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004313/0.2445, allocations: 340.6 kB / 439 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004552/0.2449, allocations: 433.9 kB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001247/0.2451, allocations: 56.08 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.2452, allocations: 140.2 kB / 439.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2452, allocations: 0 / 439.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000949/0.2461, allocations: 295.2 kB / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006114/0.2467, allocations: 0.6677 MB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Templates: time 0.005551/0.2523, allocations: 2.227 MB / 442.8 MB, free: 12.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.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.27041304577142]