Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009592/0.0009592, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002472, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007937/0.0007937, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0031/0.003893, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.098/1.098, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1238/1.222, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.47e-05, allocations: 6.109 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002257/0.002282, allocations: 1.741 MB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.003884, allocations: 1.236 MB / 247.7 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.74e-05/0.003972, allocations: 11.94 kB / 247.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.004213, allocations: 31.78 kB / 247.7 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.412e-05/0.004307, allocations: 39.7 kB / 247.8 MB, free: 11.13 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0004969/0.004804, allocations: 286.9 kB / 248.1 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.005003, allocations: 147.5 kB / 248.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.005104, allocations: 17.94 kB / 248.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.005331, allocations: 123.7 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.005708, allocations: 99.53 kB / 248.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.005741, allocations: 15.94 kB / 248.5 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.006144, allocations: 331.3 kB / 248.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.006221, allocations: 39.8 kB / 248.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.006274, allocations: 31.88 kB / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.006639, allocations: 291.1 kB / 249.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.006652, allocations: 0 / 249.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006652, allocations: 0 / 249.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.006664, allocations: 4 kB / 249.1 MB, free: 9.785 MB / 250.7 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.0007646/0.007429, allocations: 463.2 kB / 249.6 MB, free: 9.309 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.007467, allocations: 12.03 kB / 249.6 MB, free: 9.297 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.007663, allocations: 109.9 kB / 249.7 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.007911, allocations: 199.1 kB / 249.9 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.007926, allocations: 384 / 249.9 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.007953, allocations: 12.38 kB / 249.9 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.008095, allocations: 76.62 kB / 250 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.008106, allocations: 3.938 kB / 250 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.008117, allocations: 4 kB / 250 MB, free: 8.848 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.00814, allocations: 4 kB / 250 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.008191, allocations: 23.92 kB / 250 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.008602, allocations: 249.8 kB / 250.3 MB, free: 8.559 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.008729, allocations: 100.1 kB / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.00876, allocations: 20.86 kB / 250.4 MB, free: 8.426 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.008769, allocations: 0 / 250.4 MB, free: 8.426 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.008894, allocations: 86.16 kB / 250.5 MB, free: 8.328 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/0.008896, allocations: 0 / 250.5 MB, free: 8.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001756/0.009071, allocations: 85.8 kB / 250.6 MB, free: 8.238 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.009123, allocations: 59.39 kB / 250.6 MB, free: 8.168 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.009254, allocations: 200.5 kB / 250.8 MB, free: 7.961 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.00928, allocations: 37.64 kB / 250.8 MB, free: 7.918 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.009335, allocations: 108 kB / 250.9 MB, free: 7.809 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.009372, allocations: 47.75 kB / 251 MB, free: 7.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.009422, allocations: 41.69 kB / 251 MB, free: 7.715 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.009526, allocations: 334.8 kB / 251.4 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.734e-05/0.009563, allocations: 22.77 kB / 251.4 MB, free: 7.355 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.00961, allocations: 45.67 kB / 251.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.009701, allocations: 80.12 kB / 251.5 MB, free: 7.219 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.009705, allocations: 7.938 kB / 251.5 MB, free: 7.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001354/0.00984, allocations: 116.3 kB / 251.6 MB, free: 7.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.009854, allocations: 8 kB / 251.6 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.009863, allocations: 0 / 251.6 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.009883, allocations: 0 / 251.6 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01002, allocations: 39.92 kB / 251.7 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.01002, allocations: 4 kB / 251.7 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.01008, allocations: 11.95 kB / 251.7 MB, free: 7.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.01009, allocations: 4 kB / 251.7 MB, free: 7.023 MB / 250.7 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,whiteNoise.localSeed,globalSeed.seed,whiteNoise.actualGlobalSeed,globalSeed.id_impure,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.0001011/0.01019, allocations: 144.3 kB / 251.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.01021, allocations: 15.98 kB / 251.9 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.01024, allocations: 21.41 kB / 251.9 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01025, allocations: 0 / 251.9 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.01025, allocations: 0 / 251.9 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01025, allocations: 3.984 kB / 251.9 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.01037, allocations: 113.7 kB / 252 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01037, allocations: 0 / 252 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.01043, allocations: 16 kB / 252 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.01046, allocations: 19.89 kB / 252 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.01046, allocations: 7.938 kB / 252 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.01048, allocations: 8 kB / 252 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01048, allocations: 0 / 252 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01048, allocations: 0 / 252 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.01065, allocations: 138.6 kB / 252.2 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.01067, allocations: 15.98 kB / 252.2 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.01072, allocations: 4 kB / 252.2 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.01075, allocations: 3.984 kB / 252.2 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.01076, allocations: 4 kB / 252.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.801e-05/0.01082, allocations: 66.03 kB / 252.3 MB, free: 6.406 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01082, allocations: 4.031 kB / 252.3 MB, free: 6.402 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001886/0.011, allocations: 87.8 kB / 252.4 MB, free: 6.316 MB / 250.7 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.0005298/0.01153, allocations: 306 kB / 252.7 MB, free: 6.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.01168, allocations: 84.67 kB / 252.7 MB, free: 5.98 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.01169, allocations: 4 kB / 252.7 MB, free: 5.977 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.511e-05/0.01173, allocations: 24.86 kB / 252.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.01192, allocations: 76.7 kB / 252.8 MB, free: 5.867 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/0.0126, allocations: 320 kB / 253.2 MB, free: 5.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.51e-05/0.01265, allocations: 79.83 kB / 253.2 MB, free: 5.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.524e-05/0.0127, allocations: 25.41 kB / 253.3 MB, free: 5.402 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.01279, allocations: 67.38 kB / 253.3 MB, free: 5.336 MB / 250.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01279, allocations: 0 / 253.3 MB, free: 5.336 MB / 250.7 MB Notification: Performance of Templates: time 0.005471/0.01826, allocations: 3.677 MB / 257 MB, free: 1.691 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3210948184132576]