Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 112.2 kB / 20.43 MB, free: 1.301 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 189.2 kB / 23.72 MB, free: 4.551 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties")
translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 51.91 kB / 370.9 MB, free: 9.324 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2969, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003093/0.3, allocations: 1.874 MB / 425 MB, free: 12.78 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002376/0.3024, allocations: 1.267 MB / 426.3 MB, free: 11.51 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.3025, allocations: 4 kB / 426.3 MB, free: 11.5 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.3026, allocations: 19.75 kB / 426.3 MB, free: 11.48 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000114/0.3027, allocations: 31.72 kB / 426.3 MB, free: 11.45 MB / 334.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.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.0009828/0.3037, allocations: 323 kB / 426.6 MB, free: 11.14 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003173/0.304, allocations: 223.5 kB / 426.9 MB, free: 10.92 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3042, allocations: 47.7 kB / 426.9 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3043, allocations: 103.5 kB / 427 MB, free: 10.77 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.3049, allocations: 126.8 kB / 427.1 MB, free: 10.65 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.3049, allocations: 20 kB / 427.1 MB, free: 10.63 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.3055, allocations: 327.4 kB / 427.5 MB, free: 10.31 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.604e-05/0.3056, allocations: 51.84 kB / 427.5 MB, free: 10.26 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.3057, allocations: 103.4 kB / 427.6 MB, free: 10.16 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005762/0.3063, allocations: 387.9 kB / 428 MB, free: 9.785 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3063, allocations: 0 / 428 MB, free: 9.785 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.483e-06/0.3063, allocations: 0 / 428 MB, free: 9.785 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.4e-06/0.3063, allocations: 0 / 428 MB, free: 9.785 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.001185/0.3074, allocations: 0.5135 MB / 428.5 MB, free: 9.238 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3075, allocations: 8.031 kB / 428.5 MB, free: 9.23 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.3077, allocations: 36.78 kB / 428.6 MB, free: 9.195 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.308, allocations: 183.6 kB / 428.7 MB, free: 8.992 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.308, allocations: 20.28 kB / 428.7 MB, free: 8.973 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.3081, allocations: 16 kB / 428.8 MB, free: 8.957 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.3086, allocations: 198.9 kB / 429 MB, free: 8.758 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.3086, allocations: 0 / 429 MB, free: 8.758 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3086, allocations: 8 kB / 429 MB, free: 8.75 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3086, allocations: 4 kB / 429 MB, free: 8.746 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.3091, allocations: 160.1 kB / 429.1 MB, free: 8.59 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.3103, allocations: 0.5426 MB / 429.7 MB, free: 8.004 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.3113, allocations: 302.6 kB / 430 MB, free: 7.699 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.3117, allocations: 104.8 kB / 430.1 MB, free: 7.594 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.3117, allocations: 4 kB / 430.1 MB, free: 7.59 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.3121, allocations: 174.5 kB / 430.2 MB, free: 7.41 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.3121, allocations: 0 / 430.2 MB, free: 7.41 MB / 334.1 MB
Notification: Performance of matching and sorting (n=22): time 0.001051/0.3132, allocations: 361.1 kB / 430.6 MB, free: 7.051 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.3132, allocations: 63.34 kB / 430.7 MB, free: 6.977 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.3135, allocations: 207.8 kB / 430.9 MB, free: 6.762 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.3135, allocations: 45.69 kB / 430.9 MB, free: 6.711 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3136, allocations: 128.7 kB / 431 MB, free: 6.582 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.776e-05/0.3137, allocations: 71.42 kB / 431.1 MB, free: 6.512 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3138, allocations: 73.64 kB / 431.2 MB, free: 6.434 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001763/0.314, allocations: 338.8 kB / 431.5 MB, free: 6.094 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.3143, allocations: 127.9 kB / 431.6 MB, free: 5.969 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.3147, allocations: 157.6 kB / 431.8 MB, free: 5.809 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.3154, allocations: 272.5 kB / 432 MB, free: 5.539 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3154, allocations: 0 / 432 MB, free: 5.539 MB / 334.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.000904/0.3163, allocations: 379.6 kB / 432.4 MB, free: 5.164 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3163, allocations: 7.938 kB / 432.4 MB, free: 5.156 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3163, allocations: 3.938 kB / 432.4 MB, free: 5.152 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3164, allocations: 8.031 kB / 432.4 MB, free: 5.145 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.3167, allocations: 63.94 kB / 432.5 MB, free: 5.082 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3167, allocations: 3.938 kB / 432.5 MB, free: 5.078 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.3169, allocations: 43.7 kB / 432.5 MB, free: 5.035 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.3169, allocations: 15.98 kB / 432.6 MB, free: 5.02 MB / 334.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.0001817/0.3171, allocations: 138.7 kB / 432.7 MB, free: 4.875 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.3171, allocations: 19.86 kB / 432.7 MB, free: 4.855 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.562e-05/0.3172, allocations: 29.94 kB / 432.7 MB, free: 4.828 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.3172, allocations: 4 kB / 432.7 MB, free: 4.824 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3172, allocations: 0 / 432.7 MB, free: 4.824 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3172, allocations: 3.938 kB / 432.8 MB, free: 4.82 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.3185, allocations: 0.5988 MB / 433.4 MB, free: 4.172 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3185, allocations: 0 / 433.4 MB, free: 4.172 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.3188, allocations: 51.89 kB / 433.4 MB, free: 4.121 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3188, allocations: 0 / 433.4 MB, free: 4.121 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.3188, allocations: 4 kB / 433.4 MB, free: 4.117 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.3188, allocations: 4 kB / 433.4 MB, free: 4.113 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3188, allocations: 3.984 kB / 433.4 MB, free: 4.109 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.32, allocations: 490.3 kB / 433.9 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.32, allocations: 19.86 kB / 433.9 MB, free: 3.598 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.32, allocations: 8.062 kB / 433.9 MB, free: 3.59 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.3202, allocations: 23.91 kB / 433.9 MB, free: 3.566 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.3203, allocations: 15.97 kB / 434 MB, free: 3.551 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3203, allocations: 8 kB / 434 MB, free: 3.543 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001656/0.3205, allocations: 151.2 kB / 434.1 MB, free: 3.395 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3205, allocations: 0 / 434.1 MB, free: 3.395 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0004512/0.3209, allocations: 103.7 kB / 434.2 MB, free: 3.293 MB / 334.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 (18):
 * Single equations (assignments): 16
 * 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.0006857/0.3216, allocations: 257.9 kB / 434.5 MB, free: 3.055 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.000799/0.3224, allocations: 268.3 kB / 434.7 MB, free: 2.793 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3224, allocations: 7.875 kB / 434.7 MB, free: 2.785 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000344/0.3227, allocations: 102.9 kB / 434.8 MB, free: 2.688 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3231, allocations: 35.98 kB / 434.9 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3241, allocations: 466.3 kB / 435.3 MB, free: 2.168 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3245, allocations: 0.7398 MB / 436.1 MB, free: 1.402 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0001195/0.3246, allocations: 29.94 kB / 436.1 MB, free: 1.371 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.3247, allocations: 19.44 kB / 436.1 MB, free: 1.352 MB / 334.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3247, allocations: 0 / 436.1 MB, free: 1.352 MB / 334.1 MB
Notification: Performance of Templates: time 0.008572/0.3333, allocations: 3.752 MB / 439.9 MB, free: 13.62 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.766613972373307]