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.001338/0.001338, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001352/0.001352, allocations: 165.9 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.998/0.998, allocations: 177 MB / 205.2 MB, free: 5.477 MB / 186.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.403e-06/1.403e-06, allocations: 0 / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.472e-05, allocations: 5.266 kB / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002647/0.002672, allocations: 1.69 MB / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.004099, allocations: 1.231 MB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.004163, allocations: 0 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.004418, allocations: 35.66 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.004496, allocations: 47.69 kB / 276.4 MB, free: 14.21 MB / 266.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.0004714/0.004967, allocations: 322.9 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.005114, allocations: 151.5 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.00517, allocations: 9.953 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.005306, allocations: 99.7 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.005618, allocations: 108.9 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.005642, allocations: 16 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.005931, allocations: 311.2 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.005997, allocations: 51.81 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.006041, allocations: 43.89 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.006342, allocations: 334.9 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.006344, allocations: 0 / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006345, allocations: 0 / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.006348, allocations: 0 / 277.8 MB, free: 12.8 MB / 266.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.0005197/0.006868, allocations: 427.5 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.006895, allocations: 15.98 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.007021, allocations: 28.91 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.007212, allocations: 199 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.007222, allocations: 384 / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.007241, allocations: 12.38 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.007343, allocations: 65.03 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.00735, allocations: 192 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.007357, allocations: 384 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.007364, allocations: 7.938 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.007406, allocations: 27.91 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.007727, allocations: 249.7 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.007828, allocations: 104.1 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.007853, allocations: 16.86 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.00786, allocations: 0 / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.78e-05/0.007948, allocations: 82.2 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 8.41e-07/0.007949, allocations: 4 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001338/0.008083, allocations: 97.72 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.008118, allocations: 55.41 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.008227, allocations: 192.5 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.008247, allocations: 41.64 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.008285, allocations: 104 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.008317, allocations: 39.81 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.008364, allocations: 49.67 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.008442, allocations: 330.8 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.008478, allocations: 22.81 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.008519, allocations: 45.69 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.008595, allocations: 75.53 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.008598, allocations: 4 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001217/0.00872, allocations: 128.2 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.008731, allocations: 8 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008736, allocations: 0 / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.008747, allocations: 3.938 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.008846, allocations: 39.92 kB / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.008849, allocations: 0 / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.008909, allocations: 23.88 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.008921, allocations: 7.984 kB / 280.3 MB, free: 10.16 MB / 266.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 6.713e-05/0.008988, allocations: 128.6 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.009003, allocations: 11.98 kB / 280.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.00903, allocations: 25.41 kB / 280.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.009032, allocations: 4 kB / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.009034, allocations: 0 / 280.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.009038, allocations: 3.984 kB / 280.4 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.033e-05/0.009128, allocations: 97.84 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.009129, allocations: 4 kB / 280.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.009178, allocations: 16 kB / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.00918, allocations: 3.938 kB / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.009189, allocations: 0 / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.00919, allocations: 3.984 kB / 280.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009191, allocations: 0 / 280.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.009331, allocations: 130.6 kB / 280.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.00937, allocations: 35.72 kB / 280.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.009389, allocations: 7.984 kB / 280.7 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.00943, allocations: 8 kB / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.009455, allocations: 12.02 kB / 280.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.00946, allocations: 0 / 280.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.009511, allocations: 62.05 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009511, allocations: 4 kB / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.009682, allocations: 87.8 kB / 280.9 MB, free: 9.477 MB / 266.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.0004267/0.01011, allocations: 295.3 kB / 281.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01022, allocations: 68.77 kB / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.01022, allocations: 4 kB / 281.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.01026, allocations: 32.72 kB / 281.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.01037, allocations: 30.81 kB / 281.3 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.01073, allocations: 316 kB / 281.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.01077, allocations: 75.83 kB / 281.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.551e-05/0.01082, allocations: 21.41 kB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.01088, allocations: 67.38 kB / 281.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01088, allocations: 0 / 281.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of Templates: time 0.00468/0.01556, allocations: 3.563 MB / 285.3 MB, free: 5.027 MB / 266.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 -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: 2.945177004672587]