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.0008109/0.0008109, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001823, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006177/0.0006177, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008402/0.001458, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9642/0.9642, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09633/1.06, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.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.463e-06/1.463e-06, allocations: 0 / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.047e-05, allocations: 2.875 kB / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002243/0.002263, allocations: 1.702 MB / 241.3 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.0037, allocations: 1.202 MB / 242.5 MB, free: 244 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.003793, allocations: 0 / 242.5 MB, free: 244 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.004006, allocations: 35.72 kB / 242.5 MB, free: 208 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.004093, allocations: 43.7 kB / 242.5 MB, free: 164 kB / 234.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.0005346/0.004628, allocations: 278.9 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.004807, allocations: 151.6 kB / 243 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.004895, allocations: 13.92 kB / 243 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.005077, allocations: 127.6 kB / 243.1 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.005433, allocations: 89.12 kB / 243.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.005474, allocations: 16 kB / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.005853, allocations: 319.3 kB / 243.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.005924, allocations: 43.86 kB / 243.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.005974, allocations: 35.81 kB / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.006337, allocations: 279.1 kB / 243.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.006351, allocations: 4 kB / 243.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006352, allocations: 0 / 243.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.006365, allocations: 0 / 243.9 MB, free: 14.83 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.0007073/0.007072, allocations: 471.2 kB / 244.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.007107, allocations: 12.03 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.007294, allocations: 106 kB / 244.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.007535, allocations: 187.2 kB / 244.6 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.00755, allocations: 12.25 kB / 244.6 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.007574, allocations: 19.91 kB / 244.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.007692, allocations: 60.48 kB / 244.7 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.007701, allocations: 3.953 kB / 244.7 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.00771, allocations: 4 kB / 244.7 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.007715, allocations: 4 kB / 244.7 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.007763, allocations: 19.97 kB / 244.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.00813, allocations: 249.7 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.008245, allocations: 108 kB / 245.1 MB, free: 13.49 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.008269, allocations: 12.86 kB / 245.1 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.008277, allocations: 4 kB / 245.1 MB, free: 13.47 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.008401, allocations: 93.44 kB / 245.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.008402, allocations: 96 / 245.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001444/0.008547, allocations: 97.72 kB / 245.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.008586, allocations: 59.41 kB / 245.4 MB, free: 13.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.008699, allocations: 199.5 kB / 245.6 MB, free: 12.99 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.008741, allocations: 33.7 kB / 245.6 MB, free: 12.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.008784, allocations: 100.1 kB / 245.7 MB, free: 12.85 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.008819, allocations: 43.77 kB / 245.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.008868, allocations: 49.66 kB / 245.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.008954, allocations: 330.7 kB / 246.1 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.008997, allocations: 34.75 kB / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.474e-05/0.009041, allocations: 45.58 kB / 246.2 MB, free: 12.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.437e-05/0.009126, allocations: 83.47 kB / 246.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.009128, allocations: 0 / 246.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001315/0.009259, allocations: 116.3 kB / 246.4 MB, free: 12.13 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.009272, allocations: 8 kB / 246.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.009278, allocations: 0 / 246.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.009288, allocations: 0 / 246.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.009405, allocations: 39.92 kB / 246.4 MB, free: 12.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.00941, allocations: 4 kB / 246.4 MB, free: 12.08 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.009473, allocations: 27.81 kB / 246.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.009482, allocations: 8.031 kB / 246.5 MB, free: 12.04 MB / 250.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 0.0001194/0.009602, allocations: 128.4 kB / 246.6 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.009618, allocations: 11.98 kB / 246.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.00965, allocations: 21.45 kB / 246.6 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009652, allocations: 0 / 246.6 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.009654, allocations: 0 / 246.6 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.00966, allocations: 3.938 kB / 246.6 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.009769, allocations: 109.7 kB / 246.7 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.00977, allocations: 0 / 246.7 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/0.009835, allocations: 23.92 kB / 246.7 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.009871, allocations: 19.91 kB / 246.8 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.009874, allocations: 3.938 kB / 246.8 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.009887, allocations: 7.984 kB / 246.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009888, allocations: 0 / 246.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.00989, allocations: 3.984 kB / 246.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.01005, allocations: 138.6 kB / 246.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.01007, allocations: 4 kB / 246.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.01012, allocations: 4 kB / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.01015, allocations: 7.984 kB / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01015, allocations: 8.031 kB / 246.9 MB, free: 11.51 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.01021, allocations: 63.02 kB / 247 MB, free: 11.45 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01021, allocations: 0 / 247 MB, free: 11.45 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.01043, allocations: 87.8 kB / 247.1 MB, free: 11.36 MB / 250.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.0005102/0.01094, allocations: 318.7 kB / 247.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.01106, allocations: 76.7 kB / 247.5 MB, free: 11.03 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01106, allocations: 0 / 247.5 MB, free: 11.03 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.786e-05/0.0111, allocations: 32.8 kB / 247.5 MB, free: 10.99 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.01123, allocations: 38.75 kB / 247.5 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/0.01191, allocations: 316.2 kB / 247.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.01195, allocations: 75.77 kB / 247.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.012, allocations: 21.47 kB / 247.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.01207, allocations: 67.38 kB / 248 MB, free: 10.43 MB / 250.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01207, allocations: 0 / 248 MB, free: 10.43 MB / 250.7 MB Notification: Performance of Templates: time 0.005219/0.01729, allocations: 3.524 MB / 251.5 MB, free: 6.93 MB / 250.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 -ignoreHideResult -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: 2.9334148848429322]