Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.488/1.488, allocations: 230.4 MB / 251.1 MB, free: 8.488 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.83 kB / 369 MB, free: 6.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.293, allocations: 53.32 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003212/0.2962, allocations: 1.672 MB / 423.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2986, allocations: 1.255 MB / 425.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.2987, allocations: 0 / 425.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.2991, allocations: 35.77 kB / 425.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2992, allocations: 39.77 kB / 425.3 MB, free: 4.816 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.2999, allocations: 291.1 kB / 425.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.3002, allocations: 179.5 kB / 425.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.3003, allocations: 13.08 kB / 425.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.3005, allocations: 91.66 kB / 425.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/0.3012, allocations: 115.6 kB / 426 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.3012, allocations: 16 kB / 426 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004982/0.3017, allocations: 287.5 kB / 426.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3018, allocations: 59.77 kB / 426.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.3019, allocations: 63.59 kB / 426.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.3024, allocations: 334.2 kB / 426.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3024, allocations: 4 kB / 426.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3024, allocations: 3.938 kB / 426.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3024, allocations: 0 / 426.7 MB, free: 3.391 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.001327/0.3038, allocations: 0.5605 MB / 427.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3038, allocations: 8.031 kB / 427.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.304, allocations: 32.78 kB / 427.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.3045, allocations: 269 kB / 427.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3046, allocations: 4.375 kB / 427.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.3046, allocations: 12.12 kB / 427.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.3048, allocations: 101.6 kB / 427.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.3048, allocations: 4 kB / 427.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3049, allocations: 4 kB / 427.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3049, allocations: 0 / 427.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.3051, allocations: 75.94 kB / 427.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.306, allocations: 460.4 kB / 428.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3063, allocations: 118.5 kB / 428.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3064, allocations: 56.83 kB / 428.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.3064, allocations: 0 / 428.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.3066, allocations: 115.3 kB / 428.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.3066, allocations: 0 / 428.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005679/0.3072, allocations: 239.5 kB / 428.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.3073, allocations: 55.41 kB / 428.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/0.3077, allocations: 251.7 kB / 429 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.3078, allocations: 41.7 kB / 429.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.83e-05/0.3079, allocations: 112.1 kB / 429.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.3079, allocations: 47.77 kB / 429.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-05/0.308, allocations: 45.7 kB / 429.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.3082, allocations: 334.8 kB / 429.6 MB, free: 280 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3084, allocations: 83.95 kB / 429.7 MB, free: 196 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.3086, allocations: 105.7 kB / 429.8 MB, free: 84 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.3089, allocations: 181.7 kB / 430 MB, free: 15.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3089, allocations: 0 / 430 MB, free: 15.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004746/0.3094, allocations: 261.3 kB / 430.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3094, allocations: 4 kB / 430.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3094, allocations: 7.969 kB / 430.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3094, allocations: 4 kB / 430.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.3096, allocations: 23.98 kB / 430.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3096, allocations: 4.094 kB / 430.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.3098, allocations: 39.73 kB / 430.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.3098, allocations: 4 kB / 430.3 MB, free: 15.55 MB / 350.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.0001658/0.31, allocations: 145.8 kB / 430.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.31, allocations: 15.91 kB / 430.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.3101, allocations: 29.45 kB / 430.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3101, allocations: 0 / 430.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3101, allocations: 0 / 430.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3101, allocations: 0 / 430.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.3104, allocations: 245.5 kB / 430.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3104, allocations: 4 kB / 430.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.3105, allocations: 15.98 kB / 430.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3106, allocations: 0 / 430.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3106, allocations: 7.938 kB / 430.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3106, allocations: 7.938 kB / 430.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3106, allocations: 0 / 430.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.3111, allocations: 276.9 kB / 431 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3112, allocations: 105 kB / 431.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.3113, allocations: 15.92 kB / 431.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3114, allocations: 11.98 kB / 431.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.3115, allocations: 16.05 kB / 431.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3115, allocations: 4 kB / 431.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003293/0.3118, allocations: 189.5 kB / 431.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3118, allocations: 3.938 kB / 431.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.3123, allocations: 87.8 kB / 431.5 MB, free: 14.29 MB / 350.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.000669/0.3129, allocations: 267.4 kB / 431.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003852/0.3133, allocations: 151.9 kB / 431.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3133, allocations: 4.062 kB / 431.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.3135, allocations: 71.83 kB / 431.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.3137, allocations: 16 kB / 432 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.3144, allocations: 345.3 kB / 432.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.3148, allocations: 0.7319 MB / 433 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.3149, allocations: 33.39 kB / 433.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.315, allocations: 19.42 kB / 433.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.315, allocations: 0 / 433.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of Templates: time 0.007812/0.3228, allocations: 3.083 MB / 436.2 MB, free: 9.57 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches