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.00158/0.00158, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002012/0.002012, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.002061/0.002061, allocations: 76.73 kB / 379 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3008, allocations: 53.37 MB / 432.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003203/0.304, allocations: 1.674 MB / 434.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.3066, allocations: 1.282 MB / 435.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3067, allocations: 4 kB / 435.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.3071, allocations: 27.72 kB / 435.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.3073, allocations: 47.77 kB / 435.4 MB, free: 3.852 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.001014/0.3083, allocations: 303.1 kB / 435.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.3087, allocations: 203.5 kB / 435.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3088, allocations: 21.25 kB / 436 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.3091, allocations: 91.66 kB / 436.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006868/0.3098, allocations: 106.6 kB / 436.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.3098, allocations: 12 kB / 436.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006078/0.3104, allocations: 327.4 kB / 436.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3105, allocations: 59.8 kB / 436.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.793e-05/0.3106, allocations: 67.59 kB / 436.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.3112, allocations: 332.5 kB / 436.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3112, allocations: 0 / 436.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3112, allocations: 0 / 436.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3112, allocations: 0 / 436.9 MB, free: 2.367 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.001299/0.3125, allocations: 492.9 kB / 437.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.3126, allocations: 19.91 kB / 437.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.3128, allocations: 28.78 kB / 437.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.3133, allocations: 215.1 kB / 437.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3133, allocations: 12.38 kB / 437.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.3134, allocations: 16.12 kB / 437.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.3136, allocations: 101.6 kB / 437.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3136, allocations: 0 / 437.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.3136, allocations: 4 kB / 437.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3136, allocations: 4 kB / 437.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.3138, allocations: 75.88 kB / 437.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009328/0.3148, allocations: 431.5 kB / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.3151, allocations: 114.5 kB / 438.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3152, allocations: 56.86 kB / 438.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3152, allocations: 8 kB / 438.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.3154, allocations: 115.3 kB / 438.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.3155, allocations: 0 / 438.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005322/0.316, allocations: 237.5 kB / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.316, allocations: 55.41 kB / 438.9 MB, free: 280 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004421/0.3165, allocations: 243.8 kB / 439.1 MB, free: 28 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.3165, allocations: 37.69 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.3166, allocations: 116.1 kB / 439.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.3167, allocations: 43.78 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.3168, allocations: 49.69 kB / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.317, allocations: 334.8 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.3171, allocations: 83.95 kB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.3173, allocations: 113.7 kB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.3176, allocations: 177.6 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3176, allocations: 0 / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004605/0.3181, allocations: 257.6 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3181, allocations: 4 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3181, allocations: 3.938 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3182, allocations: 3.984 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.3184, allocations: 35.95 kB / 440.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3184, allocations: 0 / 440.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.3186, allocations: 35.8 kB / 440.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.3186, allocations: 8 kB / 440.4 MB, free: 14.71 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.0001653/0.3188, allocations: 137.9 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.3188, allocations: 19.84 kB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.3189, allocations: 29.39 kB / 440.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3189, allocations: 0 / 440.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3189, allocations: 4 kB / 440.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3189, allocations: 0 / 440.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.3191, allocations: 204.6 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3191, allocations: 3.984 kB / 440.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.3193, allocations: 16 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3193, allocations: 0 / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.3193, allocations: 7.922 kB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3193, allocations: 0 / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3193, allocations: 4 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.3198, allocations: 276.1 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.3199, allocations: 39.8 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.3199, allocations: 11.94 kB / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.3201, allocations: 19.95 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.3202, allocations: 7.984 kB / 441.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3202, allocations: 4 kB / 441.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003421/0.3205, allocations: 193.5 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3205, allocations: 0 / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.3209, allocations: 87.8 kB / 441.4 MB, free: 13.59 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.0006999/0.3216, allocations: 270.4 kB / 441.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000406/0.322, allocations: 155.8 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.322, allocations: 4 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.3222, allocations: 56.03 kB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3224, allocations: 32.05 kB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/0.3232, allocations: 361.6 kB / 442.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.3236, allocations: 0.7241 MB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.3237, allocations: 33.41 kB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.3238, allocations: 19.44 kB / 443.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3238, allocations: 0 / 443.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Templates: time 0.008032/0.3318, allocations: 3.125 MB / 446.2 MB, free: 8.809 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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.429741000756621]