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.001989/0.001989, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002297/0.002297, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.001895/0.001895, allocations: 72.75 kB / 379.1 MB, free: 2.648 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2726, allocations: 53.37 MB / 432.4 MB, free: 6.965 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003347/0.276, allocations: 1.883 MB / 434.3 MB, free: 5.078 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002061/0.2781, allocations: 1.056 MB / 435.4 MB, free: 4.016 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.2781, allocations: 0 / 435.4 MB, free: 4.016 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.2783, allocations: 19.73 kB / 435.4 MB, free: 3.996 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000202/0.2785, allocations: 35.66 kB / 435.4 MB, free: 3.961 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.0005697/0.279, allocations: 187.5 kB / 435.6 MB, free: 3.777 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000269/0.2793, allocations: 227.4 kB / 435.8 MB, free: 3.555 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2795, allocations: 52.55 kB / 435.9 MB, free: 3.5 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.2796, allocations: 99.61 kB / 436 MB, free: 3.402 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.2802, allocations: 120.8 kB / 436.1 MB, free: 3.285 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.2802, allocations: 20 kB / 436.1 MB, free: 3.266 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.2805, allocations: 163.7 kB / 436.3 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.2806, allocations: 59.77 kB / 436.3 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.2807, allocations: 95.45 kB / 436.4 MB, free: 2.953 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.2811, allocations: 300.5 kB / 436.7 MB, free: 2.668 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2811, allocations: 0 / 436.7 MB, free: 2.668 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.693e-06/0.2811, allocations: 4 kB / 436.7 MB, free: 2.664 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.224e-05/0.2811, allocations: 0 / 436.7 MB, free: 2.664 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.001108/0.2822, allocations: 0.4942 MB / 437.2 MB, free: 2.137 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2823, allocations: 12.03 kB / 437.2 MB, free: 2.125 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.2825, allocations: 36.78 kB / 437.3 MB, free: 2.09 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.2827, allocations: 182.2 kB / 437.4 MB, free: 1.887 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.2828, allocations: 16.64 kB / 437.5 MB, free: 1.871 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.2828, allocations: 28.12 kB / 437.5 MB, free: 1.844 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.2833, allocations: 188.4 kB / 437.7 MB, free: 1.656 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2833, allocations: 3.938 kB / 437.7 MB, free: 1.652 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.2834, allocations: 8 kB / 437.7 MB, free: 1.645 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.2834, allocations: 8 kB / 437.7 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.2838, allocations: 156.4 kB / 437.8 MB, free: 1.484 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.2849, allocations: 0.5352 MB / 438.4 MB, free: 0.9062 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.2859, allocations: 298.6 kB / 438.7 MB, free: 0.6055 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.2862, allocations: 108.8 kB / 438.8 MB, free: 0.4961 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2862, allocations: 7.984 kB / 438.8 MB, free: 500 kB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/0.2866, allocations: 159.3 kB / 438.9 MB, free: 328 kB / 334.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.2866, allocations: 0 / 438.9 MB, free: 328 kB / 334.1 MB
Notification: Performance of matching and sorting (n=21): time 0.0009971/0.2876, allocations: 358.9 kB / 439.3 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.2877, allocations: 59.41 kB / 439.3 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.2879, allocations: 226.7 kB / 439.6 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.2879, allocations: 41.7 kB / 439.6 MB, free: 15.62 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2881, allocations: 128.6 kB / 439.7 MB, free: 15.49 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/0.2881, allocations: 71.42 kB / 439.8 MB, free: 15.42 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.2882, allocations: 73.62 kB / 439.9 MB, free: 15.34 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001528/0.2884, allocations: 334.8 kB / 440.2 MB, free: 15 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.2887, allocations: 135.9 kB / 440.3 MB, free: 14.87 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.2891, allocations: 169.4 kB / 440.5 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/0.2898, allocations: 271.1 kB / 440.8 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2898, allocations: 0 / 440.8 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008638/0.2906, allocations: 380 kB / 441.1 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2906, allocations: 4 kB / 441.1 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2907, allocations: 0 / 441.1 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2907, allocations: 7.938 kB / 441.1 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.291, allocations: 63.89 kB / 441.2 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.291, allocations: 7.984 kB / 441.2 MB, free: 13.97 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.2912, allocations: 43.77 kB / 441.3 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.2912, allocations: 15.98 kB / 441.3 MB, free: 13.91 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.0001689/0.2914, allocations: 143.1 kB / 441.4 MB, free: 13.76 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.2914, allocations: 19.86 kB / 441.4 MB, free: 13.74 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.649e-05/0.2915, allocations: 25.95 kB / 441.5 MB, free: 13.71 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2915, allocations: 7.984 kB / 441.5 MB, free: 13.71 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2915, allocations: 3.938 kB / 441.5 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2915, allocations: 4 kB / 441.5 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.2926, allocations: 0.5986 MB / 442.1 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2926, allocations: 0 / 442.1 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.2929, allocations: 43.95 kB / 442.1 MB, free: 13.01 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2929, allocations: 7.938 kB / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.2929, allocations: 0 / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2929, allocations: 0 / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2929, allocations: 4 kB / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.294, allocations: 482.3 kB / 442.6 MB, free: 12.51 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.294, allocations: 19.86 kB / 442.6 MB, free: 12.49 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.294, allocations: 15.98 kB / 442.6 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.2942, allocations: 19.98 kB / 442.6 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.2943, allocations: 15.97 kB / 442.7 MB, free: 12.44 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.2943, allocations: 7.984 kB / 442.7 MB, free: 12.43 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001626/0.2945, allocations: 152.7 kB / 442.8 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.2945, allocations: 0 / 442.8 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003771/0.2949, allocations: 67.88 kB / 442.9 MB, free: 12.22 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var)
 * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw)
 * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4])
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (17):
 * Single equations (assignments): 15
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.0005088/0.2954, allocations: 211.7 kB / 443.1 MB, free: 12.03 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007789/0.2962, allocations: 263.8 kB / 443.4 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2962, allocations: 0 / 443.4 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.2965, allocations: 103.9 kB / 443.5 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.2968, allocations: 35.94 kB / 443.5 MB, free: 11.64 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2978, allocations: 468.7 kB / 443.9 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.2982, allocations: 0.7397 MB / 444.7 MB, free: 10.39 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.000125/0.2983, allocations: 37.88 kB / 444.7 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.2984, allocations: 23.42 kB / 444.7 MB, free: 10.33 MB / 350.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.2984, allocations: 0 / 444.7 MB, free: 10.33 MB / 350.1 MB
Notification: Performance of Templates: time 0.007499/0.3059, allocations: 3.039 MB / 447.8 MB, free: 7.301 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.66918724309653]