Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.0008417/0.0008417, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.001996, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006932/0.0006932, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009089/0.001602, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.035/1.035, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09839/1.133, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.527e-05, allocations: 5.266 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001833/0.001848, allocations: 1.733 MB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.003429, allocations: 1.239 MB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.003513, allocations: 7.938 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.003691, allocations: 27.78 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.557e-05/0.003777, allocations: 55.62 kB / 248.1 MB, free: 10.55 MB / 250.7 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.0005683/0.004345, allocations: 275 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.004526, allocations: 143.6 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.004602, allocations: 13.95 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.004807, allocations: 139.5 kB / 248.6 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.005133, allocations: 94.08 kB / 248.7 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.005163, allocations: 16 kB / 248.8 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.005582, allocations: 331.2 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.005647, allocations: 47.84 kB / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.00569, allocations: 31.88 kB / 249.2 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.006035, allocations: 287.1 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.006049, allocations: 0 / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006049, allocations: 0 / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.006062, allocations: 0 / 249.4 MB, free: 9.211 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.0006592/0.006721, allocations: 467.2 kB / 249.9 MB, free: 8.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.006751, allocations: 8.625 kB / 249.9 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.006916, allocations: 110 kB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.007112, allocations: 191 kB / 250.2 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.007128, allocations: 12.36 kB / 250.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.007147, allocations: 8.375 kB / 250.2 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.007257, allocations: 69.03 kB / 250.3 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.007266, allocations: 192 / 250.3 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.007276, allocations: 4.375 kB / 250.3 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.007281, allocations: 3.938 kB / 250.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.00733, allocations: 31.91 kB / 250.3 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.007677, allocations: 245.8 kB / 250.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.007807, allocations: 108.1 kB / 250.7 MB, free: 7.871 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.007835, allocations: 16.86 kB / 250.7 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.007844, allocations: 0 / 250.7 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.008091, allocations: 82.22 kB / 250.8 MB, free: 7.758 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.008093, allocations: 0 / 250.8 MB, free: 7.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001676/0.008261, allocations: 93.72 kB / 250.9 MB, free: 7.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.008303, allocations: 63.34 kB / 250.9 MB, free: 7.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.008424, allocations: 196.5 kB / 251.1 MB, free: 7.383 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.008445, allocations: 41.7 kB / 251.2 MB, free: 7.336 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.00848, allocations: 96.06 kB / 251.2 MB, free: 7.238 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.008515, allocations: 55.73 kB / 251.3 MB, free: 7.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.008559, allocations: 41.69 kB / 251.3 MB, free: 7.137 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.008655, allocations: 334.8 kB / 251.7 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/0.00869, allocations: 22.81 kB / 251.7 MB, free: 6.777 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/0.008732, allocations: 49.62 kB / 251.7 MB, free: 6.723 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/0.008806, allocations: 75.31 kB / 251.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.008808, allocations: 0 / 251.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001192/0.008928, allocations: 124.5 kB / 251.9 MB, free: 6.512 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.008938, allocations: 4 kB / 251.9 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008943, allocations: 4.031 kB / 251.9 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.00895, allocations: 4 kB / 251.9 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.009062, allocations: 39.92 kB / 252 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.009065, allocations: 0 / 252 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.009123, allocations: 23.89 kB / 252 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.009132, allocations: 0 / 252 MB, free: 6.438 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 7.874e-05/0.00921, allocations: 132.5 kB / 252.1 MB, free: 6.297 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.009226, allocations: 11.98 kB / 252.1 MB, free: 6.285 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.009253, allocations: 17.47 kB / 252.2 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009255, allocations: 8 kB / 252.2 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.009258, allocations: 3.984 kB / 252.2 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.009261, allocations: 0 / 252.2 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.009391, allocations: 109.8 kB / 252.3 MB, free: 6.137 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009393, allocations: 3.938 kB / 252.3 MB, free: 6.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.009447, allocations: 12 kB / 252.3 MB, free: 6.121 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.009482, allocations: 27.83 kB / 252.3 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.009484, allocations: 0 / 252.3 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.009493, allocations: 0 / 252.3 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.009496, allocations: 7.984 kB / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009497, allocations: 4 kB / 252.3 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.009637, allocations: 130.5 kB / 252.5 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.009658, allocations: 11.98 kB / 252.5 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.009701, allocations: 4 kB / 252.5 MB, free: 5.922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.009727, allocations: 7.984 kB / 252.5 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.009733, allocations: 4 kB / 252.5 MB, free: 5.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.153e-05/0.009784, allocations: 66.03 kB / 252.6 MB, free: 5.844 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009784, allocations: 0 / 252.6 MB, free: 5.844 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002042/0.009988, allocations: 87.8 kB / 252.6 MB, free: 5.758 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.0004471/0.01044, allocations: 302.8 kB / 252.9 MB, free: 5.496 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.01056, allocations: 88.69 kB / 253 MB, free: 5.406 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.01057, allocations: 0 / 253 MB, free: 5.406 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.0106, allocations: 28.8 kB / 253.1 MB, free: 5.375 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.01072, allocations: 42.67 kB / 253.1 MB, free: 5.332 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.01132, allocations: 307.9 kB / 253.4 MB, free: 5.004 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.549e-05/0.01136, allocations: 79.77 kB / 253.5 MB, free: 4.906 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.992e-05/0.01141, allocations: 25.53 kB / 253.5 MB, free: 4.879 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.01148, allocations: 71.36 kB / 253.6 MB, free: 4.809 MB / 250.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01148, allocations: 0 / 253.6 MB, free: 4.809 MB / 250.7 MB Notification: Performance of Templates: time 0.005024/0.0165, allocations: 3.563 MB / 257.1 MB, free: 1.273 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0542969657108188]