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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 113 kB / 21.18 MB, free: 0.5898 MB / 14.72 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.001753/0.001753, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.52/1.52, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] 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=40001,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=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "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.001997/0.001997, allocations: 67.89 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3246, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003384/0.3279, allocations: 1.688 MB / 433.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.3303, allocations: 1.274 MB / 435 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3305, allocations: 4 kB / 435 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.3309, allocations: 35.77 kB / 435.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.331, allocations: 39.75 kB / 435.1 MB, free: 4.32 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.0008686/0.3319, allocations: 291.1 kB / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.3321, allocations: 175.6 kB / 435.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3322, allocations: 17.08 kB / 435.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.3325, allocations: 87.67 kB / 435.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000682/0.3332, allocations: 118.5 kB / 435.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.3332, allocations: 12 kB / 435.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005419/0.3337, allocations: 283.5 kB / 436.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3338, allocations: 55.83 kB / 436.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.3339, allocations: 71.58 kB / 436.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.3345, allocations: 328.8 kB / 436.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3345, allocations: 0 / 436.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3345, allocations: 4 kB / 436.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3345, allocations: 4 kB / 436.5 MB, free: 2.91 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.00132/0.3358, allocations: 0.5527 MB / 437.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3359, allocations: 8.031 kB / 437.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.3361, allocations: 40.78 kB / 437.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.3366, allocations: 265 kB / 437.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3367, allocations: 8.359 kB / 437.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.3367, allocations: 16.12 kB / 437.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.3369, allocations: 97.58 kB / 437.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3369, allocations: 0 / 437.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.337, allocations: 7.875 kB / 437.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.337, allocations: 8 kB / 437.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.3372, allocations: 83.92 kB / 437.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009343/0.3381, allocations: 448.5 kB / 438 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.3384, allocations: 122.4 kB / 438.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.3385, allocations: 56.83 kB / 438.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.3385, allocations: 0 / 438.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.3388, allocations: 115.3 kB / 438.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.3388, allocations: 0 / 438.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.000535/0.3393, allocations: 241.6 kB / 438.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3394, allocations: 55.41 kB / 438.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.3398, allocations: 243.8 kB / 438.8 MB, free: 392 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.3398, allocations: 41.69 kB / 438.9 MB, free: 344 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.3399, allocations: 116.1 kB / 439 MB, free: 224 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.34, allocations: 43.78 kB / 439 MB, free: 180 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.472e-05/0.3401, allocations: 45.7 kB / 439.1 MB, free: 128 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3403, allocations: 342.8 kB / 439.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3404, allocations: 79.95 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.3406, allocations: 101.7 kB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.341, allocations: 186.4 kB / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.341, allocations: 0 / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004736/0.3414, allocations: 261.3 kB / 440 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3415, allocations: 4 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3415, allocations: 7.875 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.3415, allocations: 7.984 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.3417, allocations: 23.98 kB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3417, allocations: 4 kB / 440.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.3419, allocations: 31.86 kB / 440.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.3419, allocations: 4 kB / 440.1 MB, free: 15.07 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.0001734/0.3421, allocations: 141.8 kB / 440.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.3421, allocations: 19.91 kB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.3422, allocations: 25.45 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3422, allocations: 4 kB / 440.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3422, allocations: 0 / 440.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3422, allocations: 0 / 440.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.3425, allocations: 241.5 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3425, allocations: 96 / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.3426, allocations: 19.94 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3426, allocations: 0 / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.3426, allocations: 15.86 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3426, allocations: 0 / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3426, allocations: 4 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.3431, allocations: 264.9 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3432, allocations: 116.9 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.3433, allocations: 12 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.3435, allocations: 23.97 kB / 441 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.3435, allocations: 7.984 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3435, allocations: 4 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003502/0.3439, allocations: 189.4 kB / 441.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3439, allocations: 0 / 441.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.3443, allocations: 83.8 kB / 441.3 MB, free: 13.82 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.0007645/0.3451, allocations: 267.1 kB / 441.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004522/0.3455, allocations: 163.8 kB / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3455, allocations: 0 / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.3457, allocations: 63.91 kB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.346, allocations: 15.97 kB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009183/0.3469, allocations: 391.1 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.3475, allocations: 0.732 MB / 442.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.3475, allocations: 19.38 kB / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3475, allocations: 0 / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Templates: time 0.008735/0.3563, allocations: 3.557 MB / 446.4 MB, free: 8.598 MB / 350.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.588678436819464]