Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008751/0.0008751, allocations: 97.84 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009705/0.0009706, allocations: 194.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002248/0.0002249, allocations: 12 kB / 307.1 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09503, allocations: 51.52 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001581/0.09665, allocations: 1.365 MB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.09836, allocations: 1.17 MB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.09845, allocations: 4 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.09874, allocations: 27.84 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.09886, allocations: 35.77 kB / 361.2 MB, free: 11.03 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0005422/0.09941, allocations: 231.5 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.09962, allocations: 147.6 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.145e-05/0.09971, allocations: 17.08 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.09988, allocations: 87.67 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1001, allocations: 91.69 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.1001, allocations: 8 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004018/0.1005, allocations: 295.4 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.852e-05/0.1006, allocations: 43.89 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.1007, allocations: 45.64 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.1011, allocations: 231.8 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1011, allocations: 0 / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1011, allocations: 0 / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1011, allocations: 0 / 362.4 MB, free: 9.848 MB / 302.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.001191/0.1023, allocations: 0.5375 MB / 362.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1023, allocations: 8.031 kB / 362.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.1025, allocations: 27.81 kB / 363 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.103, allocations: 271.6 kB / 363.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.103, allocations: 8 kB / 363.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1031, allocations: 4 kB / 363.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1033, allocations: 113.6 kB / 363.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1033, allocations: 3.938 kB / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1033, allocations: 0 / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.1033, allocations: 8 kB / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.1035, allocations: 79.94 kB / 363.4 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008116/0.1043, allocations: 460.5 kB / 363.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.1046, allocations: 126.5 kB / 364 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1047, allocations: 56.83 kB / 364.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1048, allocations: 7.938 kB / 364.1 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.105, allocations: 115.3 kB / 364.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.105, allocations: 0 / 364.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004691/0.1054, allocations: 237.6 kB / 364.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.1055, allocations: 59.41 kB / 364.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.1059, allocations: 247.8 kB / 364.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1059, allocations: 41.69 kB / 364.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.106, allocations: 116.2 kB / 364.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.1061, allocations: 43.39 kB / 364.9 MB, free: 7.105 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.1061, allocations: 8 kB / 364.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1063, allocations: 326.8 kB / 365.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.1064, allocations: 91.94 kB / 365.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.1066, allocations: 106.9 kB / 365.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.1068, allocations: 89.03 kB / 365.5 MB, free: 6.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1068, allocations: 3.953 kB / 365.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004145/0.1072, allocations: 266.2 kB / 365.8 MB, free: 6.215 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1072, allocations: 4 kB / 365.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1073, allocations: 4 kB / 365.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1073, allocations: 0 / 365.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1075, allocations: 31.92 kB / 365.8 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1075, allocations: 3.984 kB / 365.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.1077, allocations: 27.89 kB / 365.9 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.1077, allocations: 4 kB / 365.9 MB, free: 6.141 MB / 302.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,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.1078, allocations: 145.7 kB / 366 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.1079, allocations: 27.69 kB / 366 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.1079, allocations: 17.53 kB / 366.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1079, allocations: 4 kB / 366.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.108, allocations: 0 / 366.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.108, allocations: 0 / 366.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1082, allocations: 241.5 kB / 366.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1082, allocations: 0 / 366.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.1083, allocations: 27.94 kB / 366.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1084, allocations: 0 / 366.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1084, allocations: 4.094 kB / 366.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1084, allocations: 3.938 kB / 366.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1084, allocations: 0 / 366.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.1089, allocations: 288.1 kB / 366.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.109, allocations: 104.9 kB / 366.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.109, allocations: 19.94 kB / 366.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.1092, allocations: 23.95 kB / 366.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.1092, allocations: 4 kB / 366.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1093, allocations: 7.984 kB / 366.8 MB, free: 5.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000291/0.1096, allocations: 188.2 kB / 367 MB, free: 4.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1096, allocations: 0 / 367 MB, free: 4.969 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.11, allocations: 79.98 kB / 367 MB, free: 4.891 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000647/0.1106, allocations: 257 kB / 367.3 MB, free: 4.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.111, allocations: 173.5 kB / 367.5 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.111, allocations: 3.938 kB / 367.5 MB, free: 4.484 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1111, allocations: 67.97 kB / 367.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.1114, allocations: 26.56 kB / 367.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.1121, allocations: 390.5 kB / 367.9 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.1123, allocations: 0.7244 MB / 368.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1124, allocations: 33.41 kB / 368.7 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.1125, allocations: 19.42 kB / 368.7 MB, free: 3.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1125, allocations: 192 / 368.7 MB, free: 3.18 MB / 302.1 MB Notification: Performance of Templates: time 0.006637/0.1192, allocations: 2.841 MB / 371.5 MB, free: 352 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches