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.001883/0.001882, allocations: 111.4 kB / 17.99 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002419/0.002419, allocations: 209.8 kB / 18.92 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.409/3.409, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 68.98 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2537, allocations: 50.53 MB / 357.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.01194/0.2657, allocations: 1.727 MB / 359.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004779/0.2746, allocations: 1.243 MB / 360.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.2749, allocations: 4 kB / 360.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005343/0.2755, allocations: 31.84 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.2758, allocations: 35.83 kB / 360.7 MB, free: 11.36 MB / 302.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.001496/0.2773, allocations: 251.5 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004713/0.2778, allocations: 187.5 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.278, allocations: 17.08 kB / 361.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003686/0.2784, allocations: 91.66 kB / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00096/0.2794, allocations: 116.8 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.572e-05/0.2795, allocations: 12 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009213/0.2804, allocations: 291.4 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.2806, allocations: 51.88 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.2808, allocations: 67.53 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.2815, allocations: 243.8 kB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2815, allocations: 0 / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2815, allocations: 0 / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.2816, allocations: 0 / 362 MB, free: 10.06 MB / 302.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.006424/0.288, allocations: 0.5532 MB / 362.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.787e-05/0.2881, allocations: 12.03 kB / 362.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000422/0.2885, allocations: 28.64 kB / 362.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/0.2894, allocations: 276.8 kB / 362.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.2895, allocations: 8.375 kB / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.2895, allocations: 16.06 kB / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.2899, allocations: 101.6 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.29, allocations: 7.922 kB / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.29, allocations: 0 / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.29, allocations: 0 / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.2904, allocations: 79.94 kB / 363 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.2919, allocations: 452.5 kB / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.2924, allocations: 122.5 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.2926, allocations: 60.83 kB / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2927, allocations: 0 / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004351/0.2931, allocations: 123 kB / 363.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 3.536e-06/0.2931, allocations: 0 / 363.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.005233/0.2984, allocations: 225.5 kB / 364 MB, free: 7.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.2985, allocations: 63.39 kB / 364.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.2995, allocations: 251.8 kB / 364.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.881e-05/0.2996, allocations: 33.7 kB / 364.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.2997, allocations: 116.2 kB / 364.5 MB, free: 7.367 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2999, allocations: 47.48 kB / 364.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.3, allocations: 53.62 kB / 364.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3003, allocations: 330.8 kB / 364.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.3006, allocations: 87.95 kB / 365 MB, free: 6.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.3011, allocations: 106.7 kB / 365.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/0.3017, allocations: 182.5 kB / 365.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.3018, allocations: 0 / 365.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008244/0.3026, allocations: 253.3 kB / 365.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.3027, allocations: 15.97 kB / 365.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.3027, allocations: 3.938 kB / 365.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3027, allocations: 0 / 365.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.303, allocations: 31.98 kB / 365.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.3031, allocations: 7.922 kB / 365.6 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.3035, allocations: 23.89 kB / 365.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.3035, allocations: 4 kB / 365.6 MB, free: 6.211 MB / 302.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.0002424/0.3038, allocations: 149.8 kB / 365.7 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/0.3038, allocations: 19.8 kB / 365.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/0.3039, allocations: 21.47 kB / 365.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.304, allocations: 0 / 365.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.304, allocations: 0 / 365.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.304, allocations: 0 / 365.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.3044, allocations: 237.5 kB / 366 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3045, allocations: 0 / 366 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.3047, allocations: 23.92 kB / 366 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3047, allocations: 0 / 366 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.3048, allocations: 7.938 kB / 366 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3048, allocations: 4 kB / 366 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3048, allocations: 0 / 366 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/0.3057, allocations: 271.6 kB / 366.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004329/0.3101, allocations: 104.9 kB / 366.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.3102, allocations: 15.92 kB / 366.4 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.3106, allocations: 19.98 kB / 366.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3108, allocations: 15.97 kB / 366.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.3108, allocations: 4 kB / 366.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006644/0.3115, allocations: 188.2 kB / 366.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.3115, allocations: 0 / 366.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000769/0.3123, allocations: 87.89 kB / 366.7 MB, free: 4.977 MB / 302.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.001322/0.3136, allocations: 262.8 kB / 367 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000774/0.3144, allocations: 176.4 kB / 367.2 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3145, allocations: 4.062 kB / 367.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.3147, allocations: 67.91 kB / 367.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.3152, allocations: 19.98 kB / 367.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3166, allocations: 411.5 kB / 367.7 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.3171, allocations: 0.728 MB / 368.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.3173, allocations: 23.44 kB / 368.4 MB, free: 3.258 MB / 302.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3173, allocations: 3.938 kB / 368.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of Templates: time 0.3382/0.6554, allocations: 3.514 MB / 371.9 MB, free: 19.81 MB / 302.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