Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.001438/0.001438, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001526/0.001526, allocations: 189.3 kB / 23.72 MB, free: 4.68 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.438/1.438, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence")
translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 51.92 kB / 370.9 MB, free: 9.348 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2874, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003184/0.2906, allocations: 1.682 MB / 424.8 MB, free: 12.98 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002271/0.2929, allocations: 1.216 MB / 426 MB, free: 11.76 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.293, allocations: 7.938 kB / 426 MB, free: 11.75 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000342/0.2933, allocations: 35.78 kB / 426.1 MB, free: 11.71 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.2934, allocations: 39.77 kB / 426.1 MB, free: 11.68 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.0008344/0.2943, allocations: 299.2 kB / 426.4 MB, free: 11.38 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003134/0.2946, allocations: 207.4 kB / 426.6 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.2947, allocations: 9.312 kB / 426.6 MB, free: 11.17 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.2948, allocations: 91.73 kB / 426.7 MB, free: 11.08 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.2954, allocations: 107.6 kB / 426.8 MB, free: 10.97 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.2955, allocations: 15.98 kB / 426.8 MB, free: 10.96 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.296, allocations: 319.4 kB / 427.1 MB, free: 10.64 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2961, allocations: 51.83 kB / 427.2 MB, free: 10.59 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2962, allocations: 71.58 kB / 427.2 MB, free: 10.52 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000511/0.2967, allocations: 328.1 kB / 427.6 MB, free: 10.21 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2967, allocations: 0 / 427.6 MB, free: 10.21 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.2967, allocations: 0 / 427.6 MB, free: 10.21 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.881e-06/0.2967, allocations: 0 / 427.6 MB, free: 10.21 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: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.001241/0.298, allocations: 0.4891 MB / 428 MB, free: 9.691 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.298, allocations: 11.97 kB / 428.1 MB, free: 9.68 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.2983, allocations: 32.83 kB / 428.1 MB, free: 9.648 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.2987, allocations: 222.8 kB / 428.3 MB, free: 9.402 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2988, allocations: 8 kB / 428.3 MB, free: 9.395 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.2988, allocations: 8 kB / 428.3 MB, free: 9.387 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.299, allocations: 109.6 kB / 428.4 MB, free: 9.273 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.299, allocations: 0 / 428.4 MB, free: 9.273 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2991, allocations: 0 / 428.4 MB, free: 9.273 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2991, allocations: 0 / 428.4 MB, free: 9.273 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.2993, allocations: 87.88 kB / 428.5 MB, free: 9.188 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.3001, allocations: 419.6 kB / 428.9 MB, free: 8.734 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.3004, allocations: 114.5 kB / 429 MB, free: 8.613 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.3005, allocations: 60.86 kB / 429.1 MB, free: 8.551 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.3005, allocations: 0 / 429.1 MB, free: 8.551 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.3008, allocations: 119.3 kB / 429.2 MB, free: 8.422 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.3008, allocations: 0 / 429.2 MB, free: 8.422 MB / 334.1 MB
Notification: Performance of matching and sorting (n=14): time 0.0005213/0.3013, allocations: 229.4 kB / 429.4 MB, free: 8.191 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.3014, allocations: 63.34 kB / 429.5 MB, free: 8.117 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.3018, allocations: 255.6 kB / 429.8 MB, free: 7.859 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.3018, allocations: 41.67 kB / 429.8 MB, free: 7.812 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.3019, allocations: 120.2 kB / 429.9 MB, free: 7.691 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.302, allocations: 39.64 kB / 429.9 MB, free: 7.652 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/0.3021, allocations: 49.7 kB / 430 MB, free: 7.598 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001488/0.3022, allocations: 334.8 kB / 430.3 MB, free: 7.262 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.3024, allocations: 87.89 kB / 430.4 MB, free: 7.176 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3026, allocations: 101.7 kB / 430.5 MB, free: 7.07 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.3029, allocations: 181.6 kB / 430.7 MB, free: 6.887 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3029, allocations: 0 / 430.7 MB, free: 6.887 MB / 334.1 MB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004509/0.3033, allocations: 257.5 kB / 430.9 MB, free: 6.629 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3034, allocations: 8 kB / 430.9 MB, free: 6.621 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3034, allocations: 0 / 430.9 MB, free: 6.621 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3034, allocations: 0 / 430.9 MB, free: 6.621 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.3036, allocations: 35.92 kB / 431 MB, free: 6.586 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3036, allocations: 0 / 431 MB, free: 6.586 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3038, allocations: 31.86 kB / 431 MB, free: 6.555 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.3038, allocations: 4 kB / 431 MB, free: 6.551 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.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (23):
 * Single equations (assignments): 22
 * 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.0001421/0.3039, allocations: 145.5 kB / 431.2 MB, free: 6.398 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.304, allocations: 23.8 kB / 431.2 MB, free: 6.375 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.304, allocations: 25.45 kB / 431.2 MB, free: 6.348 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.304, allocations: 0 / 431.2 MB, free: 6.348 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.304, allocations: 0 / 431.2 MB, free: 6.348 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.304, allocations: 0 / 431.2 MB, free: 6.348 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.3043, allocations: 208.6 kB / 431.4 MB, free: 6.102 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3043, allocations: 3.938 kB / 431.4 MB, free: 6.098 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.3044, allocations: 19.92 kB / 431.4 MB, free: 6.078 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3044, allocations: 8 kB / 431.4 MB, free: 6.07 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3044, allocations: 4 kB / 431.4 MB, free: 6.066 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3044, allocations: 0 / 431.4 MB, free: 6.066 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3044, allocations: 0 / 431.4 MB, free: 6.066 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.3049, allocations: 280.9 kB / 431.7 MB, free: 5.773 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/0.305, allocations: 35.8 kB / 431.8 MB, free: 5.738 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.3051, allocations: 12 kB / 431.8 MB, free: 5.727 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.3053, allocations: 20.03 kB / 431.8 MB, free: 5.707 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.3053, allocations: 8.172 kB / 431.8 MB, free: 5.699 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3053, allocations: 4 kB / 431.8 MB, free: 5.695 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0003345/0.3057, allocations: 193.4 kB / 432 MB, free: 5.508 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3057, allocations: 0 / 432 MB, free: 5.508 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003724/0.306, allocations: 83.8 kB / 432.1 MB, free: 5.426 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2])
 * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw)
 * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4])
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (10):
 * Single equations (assignments): 8
 * 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.0006573/0.3067, allocations: 263.9 kB / 432.3 MB, free: 5.191 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003818/0.3071, allocations: 167.8 kB / 432.5 MB, free: 5.027 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3071, allocations: 0 / 432.5 MB, free: 5.027 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3072, allocations: 55.97 kB / 432.5 MB, free: 4.973 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.3075, allocations: 25.98 kB / 432.6 MB, free: 4.953 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007173/0.3082, allocations: 366.2 kB / 432.9 MB, free: 4.57 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3085, allocations: 0.7319 MB / 433.7 MB, free: 3.812 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 9.537e-05/0.3086, allocations: 29.41 kB / 433.7 MB, free: 3.785 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.3087, allocations: 23.36 kB / 433.7 MB, free: 3.762 MB / 334.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.3087, allocations: 0 / 433.7 MB, free: 3.762 MB / 334.1 MB
Notification: Performance of Templates: time 0.007703/0.3164, allocations: 3.09 MB / 436.8 MB, free: 0.6797 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.116553323343396]