Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.00127/0.00127, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001504/0.001504, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.432/1.432, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [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.001984/0.001984, allocations: 67.84 kB / 378.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2314, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003129/0.2345, allocations: 1.886 MB / 434 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.2364, allocations: 1.04 MB / 435 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.2365, allocations: 4 kB / 435 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.2367, allocations: 27.61 kB / 435 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.2368, allocations: 31.72 kB / 435.1 MB, free: 4.402 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.0005845/0.2374, allocations: 183.5 kB / 435.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.2377, allocations: 223.5 kB / 435.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2378, allocations: 48.27 kB / 435.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.238, allocations: 99.61 kB / 435.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005726/0.2385, allocations: 126.1 kB / 435.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.2386, allocations: 23.98 kB / 435.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.2388, allocations: 127.8 kB / 435.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.2389, allocations: 55.83 kB / 435.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.239, allocations: 103.4 kB / 436 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.2394, allocations: 292.8 kB / 436.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2394, allocations: 0 / 436.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2394, allocations: 0 / 436.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2394, allocations: 8 kB / 436.3 MB, free: 3.145 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001159/0.2406, allocations: 0.558 MB / 436.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2406, allocations: 8.031 kB / 436.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.2409, allocations: 40.78 kB / 436.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.2411, allocations: 248.8 kB / 437.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.2412, allocations: 12.66 kB / 437.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.2412, allocations: 28.12 kB / 437.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.2417, allocations: 199.2 kB / 437.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2417, allocations: 3.984 kB / 437.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.2418, allocations: 8 kB / 437.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2418, allocations: 8 kB / 437.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.2423, allocations: 153.3 kB / 437.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.2433, allocations: 0.575 MB / 438.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.2444, allocations: 301.8 kB / 438.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.2448, allocations: 108.8 kB / 438.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.2448, allocations: 3.984 kB / 438.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.2452, allocations: 170.2 kB / 438.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.154e-06/0.2452, allocations: 0 / 438.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001043/0.2462, allocations: 353.3 kB / 439.1 MB, free: 240 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.2463, allocations: 55.41 kB / 439.1 MB, free: 172 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.2465, allocations: 230.8 kB / 439.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.2466, allocations: 37.7 kB / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.2467, allocations: 132.6 kB / 439.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.2467, allocations: 71.34 kB / 439.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2469, allocations: 69.64 kB / 439.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.247, allocations: 334.8 kB / 440 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.2474, allocations: 135.9 kB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.2478, allocations: 169.6 kB / 440.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.2484, allocations: 267.2 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2484, allocations: 0 / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008865/0.2493, allocations: 383.9 kB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2494, allocations: 4 kB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2494, allocations: 0 / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2494, allocations: 4 kB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.2497, allocations: 67.89 kB / 441 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2497, allocations: 0 / 441 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.2499, allocations: 51.69 kB / 441 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.2499, allocations: 12 kB / 441 MB, free: 14.19 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: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001657/0.2501, allocations: 150.2 kB / 441.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.2501, allocations: 19.86 kB / 441.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.093e-05/0.2502, allocations: 25.86 kB / 441.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2502, allocations: 0 / 441.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2502, allocations: 0 / 441.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.2503, allocations: 93.02 kB / 441.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.2503, allocations: 11.98 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.2505, allocations: 23.91 kB / 441.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.2505, allocations: 19.92 kB / 441.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00138/0.2519, allocations: 440.5 kB / 441.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001145/0.2531, allocations: 0.5626 MB / 442.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003128/0.2534, allocations: 99.97 kB / 442.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.2535, allocations: 156.7 kB / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of Backend: time 3.6e-07/0.2535, allocations: 0 / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.2547, allocations: 349.6 kB / 443 MB, free: 12.23 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009547/0.2557, allocations: 0.8512 MB / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Templates: time 0.007836/0.2635, allocations: 3.582 MB / 447.4 MB, free: 7.77 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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: 5.569704312365502]