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.001185/0.001185, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 60.05 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2954, allocations: 50.55 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003634/0.2991, allocations: 1.668 MB / 410.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.3015, allocations: 1.239 MB / 412.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3017, allocations: 3.938 kB / 412.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.3021, allocations: 31.78 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.3023, allocations: 39.77 kB / 412.2 MB, free: 14.59 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.0008012/0.3031, allocations: 291.2 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.3034, allocations: 179.5 kB / 412.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3035, allocations: 25.05 kB / 412.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.3038, allocations: 91.67 kB / 412.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006418/0.3044, allocations: 95.7 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.3045, allocations: 15.94 kB / 412.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.3049, allocations: 267.6 kB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.305, allocations: 63.75 kB / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.3051, allocations: 71.58 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.3057, allocations: 322.8 kB / 413.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3057, allocations: 3.938 kB / 413.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3057, allocations: 4 kB / 413.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.3057, allocations: 0 / 413.6 MB, free: 13.18 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.00119/0.3069, allocations: 0.5507 MB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3069, allocations: 16.03 kB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.3072, allocations: 24.73 kB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.3077, allocations: 264.9 kB / 414.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3077, allocations: 4.375 kB / 414.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.3077, allocations: 16.12 kB / 414.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.308, allocations: 101.6 kB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.308, allocations: 0 / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.308, allocations: 8 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.308, allocations: 4 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.3082, allocations: 71.94 kB / 414.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008496/0.3091, allocations: 456.5 kB / 415.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.3094, allocations: 126.4 kB / 415.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3095, allocations: 60.94 kB / 415.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.3095, allocations: 4 kB / 415.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.3098, allocations: 123.3 kB / 415.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.3098, allocations: 0 / 415.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005046/0.3103, allocations: 237.1 kB / 415.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.3103, allocations: 59.39 kB / 415.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.3107, allocations: 247.7 kB / 416 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.3108, allocations: 37.69 kB / 416 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.3109, allocations: 116.1 kB / 416.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.3109, allocations: 43.58 kB / 416.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.311, allocations: 49.7 kB / 416.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3112, allocations: 330.8 kB / 416.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3114, allocations: 87.94 kB / 416.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.3115, allocations: 113.5 kB / 416.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.3118, allocations: 173.6 kB / 416.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3118, allocations: 4 kB / 416.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004203/0.3123, allocations: 257.2 kB / 417.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3123, allocations: 4 kB / 417.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3123, allocations: 3.938 kB / 417.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3123, allocations: 0 / 417.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.3125, allocations: 35.97 kB / 417.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3125, allocations: 0 / 417.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.3127, allocations: 31.81 kB / 417.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.3127, allocations: 8.031 kB / 417.2 MB, free: 9.344 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.0001444/0.3129, allocations: 141.8 kB / 417.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.3129, allocations: 15.81 kB / 417.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.313, allocations: 21.47 kB / 417.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.313, allocations: 3.938 kB / 417.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.313, allocations: 4 kB / 417.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.313, allocations: 3.984 kB / 417.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.3132, allocations: 237.4 kB / 417.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3133, allocations: 8 kB / 417.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3134, allocations: 19.98 kB / 417.7 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3134, allocations: 3.938 kB / 417.7 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.3134, allocations: 7.922 kB / 417.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3135, allocations: 96 / 417.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3135, allocations: 3.938 kB / 417.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.3139, allocations: 272.4 kB / 418 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.3141, allocations: 113 kB / 418.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.3141, allocations: 11.94 kB / 418.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.3143, allocations: 15.97 kB / 418.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.3143, allocations: 7.984 kB / 418.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3143, allocations: 7.938 kB / 418.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002996/0.3147, allocations: 184.2 kB / 418.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3147, allocations: 0 / 418.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.3151, allocations: 87.98 kB / 418.4 MB, free: 8.098 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.0005914/0.3157, allocations: 266.2 kB / 418.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000374/0.316, allocations: 179.2 kB / 418.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3161, allocations: 0 / 418.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3162, allocations: 63.91 kB / 418.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3164, allocations: 23.92 kB / 418.9 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000714/0.3172, allocations: 342 kB / 419.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3175, allocations: 0.7241 MB / 420 MB, free: 6.488 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.319e-05/0.3176, allocations: 33.39 kB / 420 MB, free: 6.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.3176, allocations: 15.62 kB / 420 MB, free: 6.441 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3177, allocations: 4 kB / 420 MB, free: 6.438 MB / 334.1 MB Notification: Performance of Templates: time 0.007004/0.3247, allocations: 3.044 MB / 423.1 MB, free: 3.402 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/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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches