Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 78.19 kB / 21.42 MB, free: 3.082 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008809/0.0008809, allocations: 152.4 kB / 24.81 MB, free: 9.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9567/0.9567, allocations: 173.3 MB / 201.4 MB, free: 9.184 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.383e-05, allocations: 2.312 kB / 268.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001932/0.001946, allocations: 1.673 MB / 270.1 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.003455, allocations: 1.161 MB / 271.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.003536, allocations: 4 kB / 271.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.003815, allocations: 43.7 kB / 271.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.685e-05/0.003902, allocations: 39.7 kB / 271.3 MB, free: 3.223 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0005984/0.0045, allocations: 318.8 kB / 271.6 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.004661, allocations: 151.6 kB / 271.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.38e-05/0.004735, allocations: 9.312 kB / 271.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.004861, allocations: 95.72 kB / 271.9 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.005198, allocations: 101.4 kB / 272 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.005233, allocations: 12 kB / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.005591, allocations: 315.2 kB / 272.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.005654, allocations: 51.81 kB / 272.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.005698, allocations: 43.84 kB / 272.4 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.006037, allocations: 327 kB / 272.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-06/0.006039, allocations: 0 / 272.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006039, allocations: 0 / 272.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.006043, allocations: 0 / 272.7 MB, free: 1.832 MB / 250.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.0006089/0.006652, allocations: 0.55 MB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.00669, allocations: 12.92 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.006821, allocations: 32.8 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.007019, allocations: 201.8 kB / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.007031, allocations: 8.375 kB / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.007053, allocations: 15.94 kB / 273.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.007156, allocations: 61.64 kB / 273.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.007164, allocations: 3.938 kB / 273.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.007171, allocations: 0 / 273.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.007175, allocations: 0 / 273.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.00722, allocations: 23.97 kB / 273.6 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.007607, allocations: 364.1 kB / 274 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.508e-05/0.007702, allocations: 62.97 kB / 274 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.007729, allocations: 23.67 kB / 274.1 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.007737, allocations: 0 / 274.1 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.531e-05/0.007832, allocations: 80.66 kB / 274.1 MB, free: 288 kB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.007833, allocations: 3.938 kB / 274.1 MB, free: 284 kB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001868/0.00802, allocations: 133.7 kB / 274.3 MB, free: 144 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.008051, allocations: 55.41 kB / 274.3 MB, free: 76 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.008197, allocations: 258.7 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.008219, allocations: 45.7 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.008277, allocations: 158.8 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.008312, allocations: 47.75 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.008364, allocations: 51.34 kB / 274.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.008483, allocations: 0.5117 MB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.008519, allocations: 23.84 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/0.008569, allocations: 55.92 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.17e-05/0.008651, allocations: 79.5 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008653, allocations: 0 / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00014/0.008793, allocations: 141.4 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.008805, allocations: 16.02 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.008811, allocations: 0 / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.008821, allocations: 0 / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.008922, allocations: 35.92 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.008925, allocations: 0 / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.008989, allocations: 23.89 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.008999, allocations: 7.938 kB / 275.8 MB, free: 14.57 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 8.101e-05/0.00908, allocations: 176.3 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.009102, allocations: 23.91 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.009134, allocations: 17.47 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009136, allocations: 0 / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.009139, allocations: 7.875 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.009144, allocations: 3.984 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.009258, allocations: 141.1 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.009258, allocations: 0 / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.00931, allocations: 19.94 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.009311, allocations: 0 / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.009321, allocations: 3.984 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.009322, allocations: 0 / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.009323, allocations: 8 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.009503, allocations: 164.2 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.009541, allocations: 27.83 kB / 276.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.009561, allocations: 7.984 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.009609, allocations: 8 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.009636, allocations: 7.922 kB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.009642, allocations: 4 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.865e-05/0.00972, allocations: 189.3 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00972, allocations: 0 / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.009929, allocations: 91.75 kB / 276.6 MB, free: 13.62 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.0003809/0.01031, allocations: 289 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01045, allocations: 83.58 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01045, allocations: 0 / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.01049, allocations: 39.59 kB / 277.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.01064, allocations: 19.98 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.01103, allocations: 322.8 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.01107, allocations: 71.83 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.867e-05/0.01112, allocations: 29.52 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.0112, allocations: 86.2 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0112, allocations: 0 / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Templates: time 0.00524/0.01644, allocations: 3.554 MB / 281.1 MB, free: 9.148 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.3233201038092375]