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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 60.09 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2948, allocations: 50.56 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003038/0.2979, allocations: 1.657 MB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.3001, allocations: 1.243 MB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.3002, allocations: 0 / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.3006, allocations: 31.78 kB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.3007, allocations: 35.77 kB / 412.9 MB, free: 14.62 MB / 334.1 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.0007726/0.3015, allocations: 299.1 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.3019, allocations: 175.6 kB / 413.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.302, allocations: 21.06 kB / 413.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.3022, allocations: 99.58 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/0.3029, allocations: 99.7 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.303, allocations: 12 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.3034, allocations: 267.6 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/0.3035, allocations: 63.81 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.3036, allocations: 67.59 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.3042, allocations: 334.8 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3042, allocations: 4 kB / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3042, allocations: 0 / 414.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.954e-06/0.3042, allocations: 0 / 414.3 MB, free: 13.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.001209/0.3054, allocations: 0.5507 MB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3055, allocations: 8.031 kB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.3057, allocations: 24.75 kB / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.3062, allocations: 280.7 kB / 415.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3062, allocations: 8.375 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.3062, allocations: 12.12 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.3065, allocations: 105.1 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3065, allocations: 0 / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3065, allocations: 4 kB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3065, allocations: 0 / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.3067, allocations: 79.94 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008291/0.3076, allocations: 456.4 kB / 415.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.3078, allocations: 114.5 kB / 415.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.308, allocations: 64.95 kB / 416 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.308, allocations: 3.938 kB / 416 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.3082, allocations: 123.4 kB / 416.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.3082, allocations: 0 / 416.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.00049/0.3087, allocations: 229.3 kB / 416.3 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3088, allocations: 59.41 kB / 416.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.3092, allocations: 255.6 kB / 416.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3092, allocations: 37.7 kB / 416.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.3093, allocations: 108.1 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.3094, allocations: 43.59 kB / 416.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.3095, allocations: 45.69 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3096, allocations: 338.8 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.3098, allocations: 79.95 kB / 417.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.31, allocations: 113.6 kB / 417.4 MB, free: 9.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.3103, allocations: 177.6 kB / 417.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3103, allocations: 0 / 417.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004652/0.3108, allocations: 257.2 kB / 417.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3108, allocations: 4 kB / 417.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3108, allocations: 3.938 kB / 417.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3108, allocations: 4 kB / 417.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.311, allocations: 31.95 kB / 417.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.311, allocations: 4 kB / 417.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.3112, allocations: 31.81 kB / 417.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3113, allocations: 4 kB / 417.9 MB, free: 9.375 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.0001527/0.3114, allocations: 141.8 kB / 418 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.3114, allocations: 15.81 kB / 418.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.3115, allocations: 29.48 kB / 418.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.3115, allocations: 11.94 kB / 418.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3115, allocations: 0 / 418.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3115, allocations: 0 / 418.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.3118, allocations: 245.4 kB / 418.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3118, allocations: 0 / 418.3 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3119, allocations: 19.98 kB / 418.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3119, allocations: 0 / 418.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.312, allocations: 3.938 kB / 418.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.312, allocations: 4 kB / 418.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.312, allocations: 0 / 418.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.3125, allocations: 280.1 kB / 418.6 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.3126, allocations: 108.9 kB / 418.7 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.3126, allocations: 7.938 kB / 418.8 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3128, allocations: 15.97 kB / 418.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.3129, allocations: 11.98 kB / 418.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3129, allocations: 4 kB / 418.8 MB, free: 8.395 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003187/0.3132, allocations: 184.2 kB / 419 MB, free: 8.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3132, allocations: 4 kB / 419 MB, free: 8.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003956/0.3136, allocations: 87.98 kB / 419.1 MB, free: 8.125 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.0005818/0.3142, allocations: 256.1 kB / 419.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.3146, allocations: 167.9 kB / 419.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.3146, allocations: 0 / 419.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.3148, allocations: 75.83 kB / 419.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.315, allocations: 28.12 kB / 419.6 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000788/0.3158, allocations: 375.5 kB / 419.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.3162, allocations: 0.728 MB / 420.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.3163, allocations: 15.44 kB / 420.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3163, allocations: 4 kB / 420.7 MB, free: 6.453 MB / 334.1 MB Notification: Performance of Templates: time 0.006386/0.3227, allocations: 3.543 MB / 424.2 MB, free: 2.914 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches