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.001608/0.001608, allocations: 120.7 kB / 19.18 MB, free: 3.906 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.001723/0.001723, allocations: 202.6 kB / 22.12 MB, free: 0.9648 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.444/1.444, allocations: 230.4 MB / 255.4 MB, free: 15.03 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.002199/0.002199, allocations: 71.83 kB / 374.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.1007, allocations: 53.32 MB / 428.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003361/0.1041, allocations: 1.666 MB / 429.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.1065, allocations: 1.263 MB / 431 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1066, allocations: 7.938 kB / 431 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.107, allocations: 27.78 kB / 431 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1071, allocations: 43.77 kB / 431.1 MB, free: 1.336 MB / 350.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.0008794/0.108, allocations: 291.1 kB / 431.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.1083, allocations: 175.6 kB / 431.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.1084, allocations: 21.03 kB / 431.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.1087, allocations: 87.73 kB / 431.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006696/0.1094, allocations: 107.6 kB / 431.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.1094, allocations: 16 kB / 431.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006014/0.11, allocations: 287.5 kB / 432 MB, free: 380 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1101, allocations: 55.81 kB / 432.1 MB, free: 324 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.1102, allocations: 71.58 kB / 432.2 MB, free: 252 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.192/0.3022, allocations: 319.9 kB / 432.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.3022, allocations: 3.172 kB / 432.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3022, allocations: 0 / 432.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.3022, allocations: 0 / 432.5 MB, free: 8.422 MB / 350.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.001216/0.3034, allocations: 0.556 MB / 433 MB, free: 7.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3035, allocations: 12.66 kB / 433 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.3037, allocations: 32.31 kB / 433.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.3041, allocations: 274.8 kB / 433.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3042, allocations: 3.75 kB / 433.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.3042, allocations: 10.5 kB / 433.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.3044, allocations: 103.7 kB / 433.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3044, allocations: 3.078 kB / 433.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3044, allocations: 4.375 kB / 433.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3044, allocations: 2.156 kB / 433.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.3046, allocations: 82.64 kB / 433.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007755/0.3054, allocations: 449.7 kB / 434 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.3056, allocations: 118.1 kB / 434.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3058, allocations: 52.91 kB / 434.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.3058, allocations: 1.844 kB / 434.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.306, allocations: 122.6 kB / 434.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.562e-06/0.306, allocations: 1.781 kB / 434.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.00045/0.3064, allocations: 236.7 kB / 434.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.3065, allocations: 59.94 kB / 434.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.3068, allocations: 250.6 kB / 434.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.3068, allocations: 36.52 kB / 434.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.3069, allocations: 117.5 kB / 435 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.3069, allocations: 50.36 kB / 435 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.307, allocations: 42.91 kB / 435.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.439e-05/0.307, allocations: 334.3 kB / 435.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.3072, allocations: 82.02 kB / 435.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3073, allocations: 106.9 kB / 435.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.3076, allocations: 186.8 kB / 435.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3076, allocations: 0 / 435.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003753/0.3079, allocations: 254 kB / 436 MB, free: 6.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3079, allocations: 10.09 kB / 436 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.308, allocations: 0.5 kB / 436 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.308, allocations: 6.844 kB / 436 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3081, allocations: 32.22 kB / 436 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3081, allocations: 7.062 kB / 436.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.3083, allocations: 32.19 kB / 436.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.3084, allocations: 7.531 kB / 436.1 MB, free: 6.602 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 9.769e-05/0.3084, allocations: 139.3 kB / 436.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3085, allocations: 14.16 kB / 436.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.3085, allocations: 23.81 kB / 436.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3085, allocations: 7.422 kB / 436.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3085, allocations: 3.375 kB / 436.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3085, allocations: 1.922 kB / 436.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.3087, allocations: 238.7 kB / 436.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3087, allocations: 1.562 kB / 436.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3088, allocations: 15.62 kB / 436.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3088, allocations: 1.828 kB / 436.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.3089, allocations: 5.516 kB / 436.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3089, allocations: 7.484 kB / 436.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3089, allocations: 5.156 kB / 436.5 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.3093, allocations: 271.8 kB / 436.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.3094, allocations: 112.6 kB / 436.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.3094, allocations: 8.531 kB / 436.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3096, allocations: 23.47 kB / 437 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.3097, allocations: 6.25 kB / 437 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3097, allocations: 13.73 kB / 437 MB, free: 6.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.31, allocations: 186.2 kB / 437.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.31, allocations: 0 / 437.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004071/0.3104, allocations: 84.14 kB / 437.2 MB, free: 5.992 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.0005802/0.311, allocations: 266.8 kB / 437.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.3113, allocations: 155.3 kB / 437.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3113, allocations: 0 / 437.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.3114, allocations: 67.02 kB / 437.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3116, allocations: 18.58 kB / 437.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006678/0.3123, allocations: 385.4 kB / 438.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3125, allocations: 0.7231 MB / 438.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.3125, allocations: 23.25 kB / 438.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3125, allocations: 1.156 kB / 438.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of Templates: time 0.007445/0.32, allocations: 3.558 MB / 442.4 MB, free: 4.672 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.8807455629576]