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.001279/0.001279, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001119/0.001119, allocations: 141.9 kB / 24.97 MB, free: 8.359 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.9556/0.9556, allocations: 173.4 MB / 201.5 MB, free: 9.336 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.923e-06/1.923e-06, allocations: 3.938 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.401e-05, allocations: 6.25 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002011/0.002035, allocations: 1.67 MB / 269.8 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.003522, allocations: 1.173 MB / 270.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.003592, allocations: 0 / 270.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.003876, allocations: 31.72 kB / 271 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.517e-05/0.003972, allocations: 51.69 kB / 271 MB, free: 3.773 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.0005396/0.004511, allocations: 310.9 kB / 271.3 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.004672, allocations: 151.5 kB / 271.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.00475, allocations: 13.25 kB / 271.5 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.00487, allocations: 99.69 kB / 271.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.005216, allocations: 96.66 kB / 271.7 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.005244, allocations: 16 kB / 271.7 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.005552, allocations: 299.4 kB / 272 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.00562, allocations: 63.75 kB / 272 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.005673, allocations: 47.83 kB / 272.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.006017, allocations: 334.9 kB / 272.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.006019, allocations: 0 / 272.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00602, allocations: 0 / 272.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.006024, allocations: 0 / 272.4 MB, free: 2.375 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.0006103/0.006634, allocations: 0.5579 MB / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.006664, allocations: 8.922 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.006814, allocations: 36.78 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.007035, allocations: 205.9 kB / 273.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.007049, allocations: 16.3 kB / 273.2 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.007074, allocations: 11.94 kB / 273.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.007186, allocations: 65.64 kB / 273.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.007196, allocations: 4 kB / 273.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.007205, allocations: 4 kB / 273.3 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.007211, allocations: 0 / 273.3 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.086e-05/0.007272, allocations: 27.97 kB / 273.3 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.007732, allocations: 399.5 kB / 273.7 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.007848, allocations: 74.92 kB / 273.8 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.00789, allocations: 23.67 kB / 273.8 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.443e-06/0.007897, allocations: 4 kB / 273.8 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.008002, allocations: 93.05 kB / 273.9 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.008003, allocations: 0 / 273.9 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002223/0.008225, allocations: 137.3 kB / 274.1 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.008258, allocations: 59.39 kB / 274.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.00841, allocations: 266.7 kB / 274.4 MB, free: 244 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.008429, allocations: 37.69 kB / 274.4 MB, free: 200 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.008487, allocations: 162.9 kB / 274.6 MB, free: 32 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.008526, allocations: 43.78 kB / 274.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.008578, allocations: 51.36 kB / 274.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.008678, allocations: 0.5117 MB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-05/0.008732, allocations: 31.84 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.008797, allocations: 56 kB / 275.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.008901, allocations: 87.52 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008903, allocations: 0 / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001737/0.009076, allocations: 157.4 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.009087, allocations: 4 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.009091, allocations: 0 / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.009102, allocations: 7.938 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.009215, allocations: 43.94 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.009219, allocations: 4 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.009288, allocations: 31.8 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.009299, allocations: 8 kB / 275.6 MB, free: 14.96 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,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 7.453e-05/0.009373, allocations: 168.3 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.009396, allocations: 27.84 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.009425, allocations: 17.45 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009427, allocations: 7.938 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.00943, allocations: 0 / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009434, allocations: 4 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.009545, allocations: 164.5 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009546, allocations: 0 / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.009599, allocations: 11.98 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.0096, allocations: 4 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.009613, allocations: 7.984 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.009614, allocations: 0 / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.009616, allocations: 3.938 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.009816, allocations: 180.2 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.009859, allocations: 31.83 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.009881, allocations: 12.02 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.577e-05/0.009937, allocations: 11.98 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.009969, allocations: 11.92 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.009975, allocations: 4 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.858e-05/0.01006, allocations: 189.4 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01006, allocations: 0 / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.01026, allocations: 87.75 kB / 276.5 MB, free: 13.96 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.0003824/0.01065, allocations: 290.8 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.01079, allocations: 87.59 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.71e-07/0.01079, allocations: 0 / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.373e-05/0.01084, allocations: 55.41 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.01099, allocations: 23.92 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.01138, allocations: 318.9 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.603e-05/0.01142, allocations: 71.83 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.49e-05/0.01147, allocations: 29.45 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.01151, allocations: 20.5 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01151, allocations: 0 / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Templates: time 0.004653/0.01616, allocations: 3.206 MB / 280.6 MB, free: 9.879 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.4590285131707788]