Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.00141/0.00141, allocations: 106.4 kB / 21.22 MB, free: 0.6758 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.001575/0.001575, allocations: 209.9 kB / 24.53 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.NormalNoiseProperties,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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties")
translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003079/0.003079, allocations: 59.91 kB / 378.8 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3679, allocations: 53.37 MB / 432.1 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003791/0.3717, allocations: 1.885 MB / 434 MB, free: 5.188 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002685/0.3744, allocations: 1.336 MB / 435.4 MB, free: 3.84 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3745, allocations: 0 / 435.4 MB, free: 3.84 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.3747, allocations: 15.75 kB / 435.4 MB, free: 3.824 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.3748, allocations: 43.64 kB / 435.4 MB, free: 3.781 MB / 334.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001089/0.3759, allocations: 319.1 kB / 435.7 MB, free: 3.469 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003101/0.3762, allocations: 215.5 kB / 435.9 MB, free: 3.258 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.3764, allocations: 48.56 kB / 436 MB, free: 3.207 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3765, allocations: 103.6 kB / 436.1 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006075/0.3771, allocations: 125.6 kB / 436.2 MB, free: 2.984 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.754e-05/0.3772, allocations: 28 kB / 436.2 MB, free: 2.957 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.3778, allocations: 331.4 kB / 436.6 MB, free: 2.633 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.301e-05/0.3779, allocations: 47.84 kB / 436.6 MB, free: 2.586 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.378, allocations: 107.4 kB / 436.7 MB, free: 2.48 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006362/0.3787, allocations: 400.2 kB / 437.1 MB, free: 2.098 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3787, allocations: 0 / 437.1 MB, free: 2.098 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.813e-06/0.3787, allocations: 0 / 437.1 MB, free: 2.098 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.244e-05/0.3787, allocations: 0 / 437.1 MB, free: 2.098 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.001284/0.38, allocations: 0.5058 MB / 437.6 MB, free: 1.559 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.38, allocations: 15.98 kB / 437.6 MB, free: 1.543 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.3803, allocations: 32.78 kB / 437.6 MB, free: 1.512 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.3806, allocations: 182.2 kB / 437.8 MB, free: 1.309 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.3806, allocations: 16.66 kB / 437.8 MB, free: 1.293 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.3807, allocations: 16.38 kB / 437.9 MB, free: 1.277 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.3812, allocations: 203.9 kB / 438.1 MB, free: 1.074 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3812, allocations: 0 / 438.1 MB, free: 1.074 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.3813, allocations: 4 kB / 438.1 MB, free: 1.07 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3813, allocations: 4 kB / 438.1 MB, free: 1.066 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/0.3818, allocations: 168.3 kB / 438.2 MB, free: 0.9023 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.383, allocations: 0.539 MB / 438.8 MB, free: 328 kB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.3841, allocations: 314.5 kB / 439.1 MB, free: 4 kB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.3845, allocations: 104.9 kB / 439.2 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.3845, allocations: 3.938 kB / 439.2 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004487/0.385, allocations: 163.3 kB / 439.3 MB, free: 15.72 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.385, allocations: 3.938 kB / 439.3 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of matching and sorting (n=21): time 0.00114/0.3861, allocations: 364.6 kB / 439.7 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.3862, allocations: 55.41 kB / 439.8 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.3864, allocations: 218.7 kB / 440 MB, free: 15.07 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.3865, allocations: 45.69 kB / 440 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3866, allocations: 128.5 kB / 440.1 MB, free: 14.89 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.3867, allocations: 67.42 kB / 440.2 MB, free: 14.82 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.3868, allocations: 77.64 kB / 440.3 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001817/0.387, allocations: 334.8 kB / 440.6 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.3874, allocations: 131.9 kB / 440.7 MB, free: 14.28 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.3878, allocations: 169.4 kB / 440.9 MB, free: 14.11 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007302/0.3885, allocations: 267.2 kB / 441.2 MB, free: 13.84 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3885, allocations: 4 kB / 441.2 MB, free: 13.83 MB / 350.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.000914/0.3894, allocations: 375.9 kB / 441.5 MB, free: 13.46 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3895, allocations: 4 kB / 441.5 MB, free: 13.46 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3895, allocations: 0 / 441.5 MB, free: 13.46 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.3895, allocations: 8.031 kB / 441.5 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.3898, allocations: 67.89 kB / 441.6 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.3898, allocations: 7.984 kB / 441.6 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.39, allocations: 43.75 kB / 441.7 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.39, allocations: 11.98 kB / 441.7 MB, free: 13.32 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.0001921/0.3902, allocations: 150.5 kB / 441.8 MB, free: 13.16 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.3903, allocations: 19.86 kB / 441.8 MB, free: 13.14 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.278e-05/0.3904, allocations: 21.95 kB / 441.9 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3904, allocations: 4 kB / 441.9 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3904, allocations: 3.938 kB / 441.9 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3904, allocations: 3.938 kB / 441.9 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.3916, allocations: 0.5986 MB / 442.5 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3916, allocations: 0 / 442.5 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.3919, allocations: 43.89 kB / 442.5 MB, free: 12.42 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3919, allocations: 4 kB / 442.5 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3919, allocations: 4 kB / 442.5 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3919, allocations: 4 kB / 442.5 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3919, allocations: 0 / 442.5 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3931, allocations: 482.1 kB / 443 MB, free: 11.92 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.3931, allocations: 23.84 kB / 443 MB, free: 11.9 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.3931, allocations: 8.062 kB / 443 MB, free: 11.89 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.3933, allocations: 27.84 kB / 443.1 MB, free: 11.86 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.3934, allocations: 15.97 kB / 443.1 MB, free: 11.85 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3934, allocations: 4.125 kB / 443.1 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001549/0.3936, allocations: 156.7 kB / 443.2 MB, free: 11.69 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3936, allocations: 0 / 443.2 MB, free: 11.69 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004813/0.3941, allocations: 115.7 kB / 443.3 MB, free: 11.58 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.0006919/0.3947, allocations: 256 kB / 443.6 MB, free: 11.34 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008301/0.3956, allocations: 259.8 kB / 443.8 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3956, allocations: 0 / 443.8 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.3959, allocations: 107.8 kB / 444 MB, free: 10.98 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.3963, allocations: 40.78 kB / 444 MB, free: 10.95 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3974, allocations: 474.3 kB / 444.5 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.3978, allocations: 0.7436 MB / 445.2 MB, free: 9.691 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001206/0.3979, allocations: 29.92 kB / 445.2 MB, free: 9.664 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.398, allocations: 27.42 kB / 445.3 MB, free: 9.637 MB / 350.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.398, allocations: 7.938 kB / 445.3 MB, free: 9.629 MB / 350.1 MB
Notification: Performance of Templates: time 0.008896/0.4069, allocations: 3.717 MB / 449 MB, free: 5.926 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.860847659409046]