Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009288/0.0009288, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.697e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002028/0.002045, allocations: 1.732 MB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.003546, allocations: 1.227 MB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.00361, allocations: 0 / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.00389, allocations: 39.7 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.003976, allocations: 39.72 kB / 276.5 MB, free: 14.2 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.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.0004418/0.004418, allocations: 306.8 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.004573, allocations: 147.5 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.609e-05/0.004639, allocations: 13.95 kB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.004786, allocations: 99.7 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.005162, allocations: 96.06 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.00519, allocations: 12 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.005545, allocations: 347.2 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.005605, allocations: 55.81 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.005648, allocations: 47.84 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.005976, allocations: 334.9 kB / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.005978, allocations: 0 / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005979, allocations: 0 / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005982, allocations: 0 / 278 MB, free: 12.77 MB / 266.7 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.000529/0.006511, allocations: 427.5 kB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.006541, allocations: 8.031 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.006683, allocations: 32.89 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.00688, allocations: 191 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.006894, allocations: 8.375 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.006913, allocations: 12.36 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.00701, allocations: 65.03 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.007019, allocations: 7.938 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.007027, allocations: 4 kB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.007031, allocations: 0 / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/0.007074, allocations: 23.64 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.007406, allocations: 249.6 kB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.007506, allocations: 104.1 kB / 279.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.4e-05/0.00753, allocations: 20.86 kB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.007537, allocations: 0 / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.232e-05/0.007629, allocations: 86.16 kB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 9.61e-07/0.00763, allocations: 0 / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.000136/0.007766, allocations: 85.8 kB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.007803, allocations: 63.39 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.007919, allocations: 196.5 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.007937, allocations: 41.64 kB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.007973, allocations: 100 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.008004, allocations: 43.81 kB / 279.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.008048, allocations: 45.69 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.008123, allocations: 334.8 kB / 280.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.008157, allocations: 22.81 kB / 280.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.0082, allocations: 45.69 kB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.008279, allocations: 76.12 kB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.008283, allocations: 3.938 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001202/0.008403, allocations: 120.3 kB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.008413, allocations: 4 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.008419, allocations: 4 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.008429, allocations: 4.031 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.008533, allocations: 35.92 kB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.008537, allocations: 4 kB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.008592, allocations: 23.78 kB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.008601, allocations: 4 kB / 280.4 MB, free: 10.15 MB / 266.7 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,whiteNoise.localSeed,globalSeed.seed,whiteNoise.actualGlobalSeed,globalSeed.id_impure,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 7.092e-05/0.008672, allocations: 132.6 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.008688, allocations: 11.98 kB / 280.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.008715, allocations: 21.41 kB / 280.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.008716, allocations: 0 / 280.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.008717, allocations: 4 kB / 280.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.00872, allocations: 0 / 280.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.00882, allocations: 113.8 kB / 280.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.008822, allocations: 4 kB / 280.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.008873, allocations: 12 kB / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.008874, allocations: 0 / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.008883, allocations: 4 kB / 280.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.008884, allocations: 0 / 280.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008885, allocations: 3.984 kB / 280.7 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.009027, allocations: 138.5 kB / 280.8 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.009064, allocations: 35.81 kB / 280.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.009081, allocations: 0 / 280.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.009124, allocations: 7.984 kB / 280.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.009151, allocations: 11.98 kB / 280.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.009156, allocations: 0 / 280.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.009206, allocations: 66.03 kB / 281 MB, free: 9.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009206, allocations: 0 / 281 MB, free: 9.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.00938, allocations: 87.8 kB / 281 MB, free: 9.461 MB / 266.7 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.0004297/0.00981, allocations: 279.6 kB / 281.3 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.009933, allocations: 83.75 kB / 281.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.009935, allocations: 4.062 kB / 281.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.009972, allocations: 32.78 kB / 281.4 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.01009, allocations: 48.69 kB / 281.5 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.01047, allocations: 316 kB / 281.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.0105, allocations: 71.83 kB / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.01055, allocations: 25.41 kB / 281.9 MB, free: 8.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.01062, allocations: 71.38 kB / 282 MB, free: 8.539 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01062, allocations: 0 / 282 MB, free: 8.539 MB / 266.7 MB Notification: Performance of Templates: time 0.004708/0.01533, allocations: 3.546 MB / 285.5 MB, free: 5.016 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9422855651937425]