Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001913/0.001913, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002284/0.002284, allocations: 213.7 kB / 24.54 MB, free: 3.875 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.536/1.536, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [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.001928/0.001928, allocations: 64.77 kB / 379.1 MB, free: 2.645 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2769, allocations: 53.35 MB / 432.4 MB, free: 6.953 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003228/0.2802, allocations: 1.901 MB / 434.3 MB, free: 5.055 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002467/0.2826, allocations: 1.341 MB / 435.7 MB, free: 3.703 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2827, allocations: 4 kB / 435.7 MB, free: 3.699 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2829, allocations: 19.73 kB / 435.7 MB, free: 3.68 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.283, allocations: 31.67 kB / 435.7 MB, free: 3.648 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.0009722/0.284, allocations: 323 kB / 436 MB, free: 3.332 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003057/0.2843, allocations: 215.5 kB / 436.2 MB, free: 3.121 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.2845, allocations: 56.55 kB / 436.3 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2846, allocations: 95.62 kB / 436.4 MB, free: 2.969 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/0.2853, allocations: 127.5 kB / 436.5 MB, free: 2.844 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.2853, allocations: 23.94 kB / 436.5 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006169/0.286, allocations: 327.4 kB / 436.8 MB, free: 2.5 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.286, allocations: 55.83 kB / 436.9 MB, free: 2.445 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.2861, allocations: 99.45 kB / 437 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006617/0.2868, allocations: 400.1 kB / 437.4 MB, free: 1.965 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2868, allocations: 0 / 437.4 MB, free: 1.965 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.683e-06/0.2868, allocations: 0 / 437.4 MB, free: 1.965 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.604e-06/0.2868, allocations: 8 kB / 437.4 MB, free: 1.957 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.001202/0.288, allocations: 0.5019 MB / 437.9 MB, free: 1.422 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2881, allocations: 8.031 kB / 437.9 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.2883, allocations: 36.78 kB / 437.9 MB, free: 1.379 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.2886, allocations: 190.1 kB / 438.1 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.2886, allocations: 12.66 kB / 438.1 MB, free: 1.156 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.2886, allocations: 24.12 kB / 438.2 MB, free: 1.133 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.2892, allocations: 196.4 kB / 438.4 MB, free: 0.9375 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2892, allocations: 0 / 438.4 MB, free: 0.9375 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.2892, allocations: 4 kB / 438.4 MB, free: 0.9336 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2892, allocations: 4 kB / 438.4 MB, free: 0.9297 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.2897, allocations: 160.4 kB / 438.5 MB, free: 0.7734 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.2909, allocations: 0.5391 MB / 439.1 MB, free: 196 kB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.2921, allocations: 298.6 kB / 439.4 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.2924, allocations: 104.8 kB / 439.5 MB, free: 15.79 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.2924, allocations: 11.98 kB / 439.5 MB, free: 15.77 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/0.2928, allocations: 158.4 kB / 439.6 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.2928, allocations: 4 kB / 439.6 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of matching and sorting (n=21): time 0.001066/0.2939, allocations: 359.2 kB / 440 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.2939, allocations: 59.41 kB / 440 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.2942, allocations: 222.7 kB / 440.2 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.2942, allocations: 45.69 kB / 440.3 MB, free: 14.9 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.2944, allocations: 128.6 kB / 440.4 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.2944, allocations: 71.41 kB / 440.5 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.2945, allocations: 73.64 kB / 440.6 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001613/0.2947, allocations: 330.8 kB / 440.9 MB, free: 14.29 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.295, allocations: 127.9 kB / 441 MB, free: 14.17 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.2954, allocations: 181.3 kB / 441.2 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006395/0.2961, allocations: 271.2 kB / 441.5 MB, free: 13.71 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2961, allocations: 0 / 441.5 MB, free: 13.71 MB / 350.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.001004/0.2971, allocations: 379.9 kB / 441.8 MB, free: 13.34 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2971, allocations: 4 kB / 441.8 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2971, allocations: 0 / 441.8 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.2971, allocations: 4 kB / 441.8 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.2974, allocations: 67.89 kB / 441.9 MB, free: 13.26 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2975, allocations: 0 / 441.9 MB, free: 13.26 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.2977, allocations: 47.75 kB / 441.9 MB, free: 13.21 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.2977, allocations: 15.98 kB / 442 MB, free: 13.2 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.0001799/0.2979, allocations: 151.1 kB / 442.1 MB, free: 13.04 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.298, allocations: 19.86 kB / 442.1 MB, free: 13.02 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.035e-05/0.298, allocations: 21.95 kB / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.298, allocations: 0 / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.298, allocations: 0 / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.2981, allocations: 7.984 kB / 442.2 MB, free: 12.99 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.2992, allocations: 0.6025 MB / 442.8 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2992, allocations: 0 / 442.8 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.2995, allocations: 43.95 kB / 442.8 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2995, allocations: 0 / 442.8 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.2995, allocations: 11.94 kB / 442.8 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2995, allocations: 3.938 kB / 442.8 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2995, allocations: 0 / 442.8 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3006, allocations: 481.9 kB / 443.3 MB, free: 11.8 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.3006, allocations: 19.84 kB / 443.3 MB, free: 11.78 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.3007, allocations: 12 kB / 443.3 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.3009, allocations: 23.97 kB / 443.3 MB, free: 11.74 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.3009, allocations: 19.97 kB / 443.4 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3009, allocations: 4 kB / 443.4 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001703/0.3011, allocations: 152.7 kB / 443.5 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3011, allocations: 0 / 443.5 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004573/0.3016, allocations: 107.7 kB / 443.6 MB, free: 11.46 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.000651/0.3022, allocations: 274.4 kB / 443.9 MB, free: 11.21 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007877/0.303, allocations: 263.8 kB / 444.1 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.303, allocations: 0 / 444.1 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.3033, allocations: 103.9 kB / 444.2 MB, free: 10.86 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3037, allocations: 35.94 kB / 444.3 MB, free: 10.82 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.3047, allocations: 462.4 kB / 444.7 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.3051, allocations: 0.7436 MB / 445.5 MB, free: 9.574 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001318/0.3052, allocations: 29.94 kB / 445.5 MB, free: 9.547 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.3053, allocations: 27.41 kB / 445.5 MB, free: 9.52 MB / 350.1 MB
Notification: Performance of SimCode: time 6.81e-07/0.3053, allocations: 0 / 445.5 MB, free: 9.52 MB / 350.1 MB
Notification: Performance of Templates: time 0.00911/0.3144, allocations: 3.73 MB / 449.3 MB, free: 5.805 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.702098974958062]