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.001247/0.001247, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.1 MB, free: 8.977 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 63.7 kB / 307.1 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09797, allocations: 50.54 MB / 357.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002876/0.1009, allocations: 1.738 MB / 359.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1029, allocations: 1.24 MB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.103, allocations: 4 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.1034, allocations: 31.83 kB / 360.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.1035, allocations: 35.83 kB / 360.7 MB, free: 11.09 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.000656/0.1042, allocations: 259.4 kB / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1044, allocations: 175.6 kB / 361.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.1045, allocations: 21.08 kB / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.1047, allocations: 87.67 kB / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.1053, allocations: 102.7 kB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.1053, allocations: 16 kB / 361.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.1058, allocations: 299.3 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.1059, allocations: 51.88 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.869e-05/0.106, allocations: 71.58 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.1063, allocations: 239.8 kB / 362 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1063, allocations: 0 / 362 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1063, allocations: 0 / 362 MB, free: 9.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1063, allocations: 0 / 362 MB, free: 9.801 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.0012/0.1075, allocations: 0.5571 MB / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1076, allocations: 8.031 kB / 362.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.1078, allocations: 32.64 kB / 362.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.1083, allocations: 268.9 kB / 362.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1083, allocations: 8.375 kB / 362.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.1083, allocations: 12.12 kB / 362.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.1085, allocations: 105.6 kB / 363 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1086, allocations: 0 / 363 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1086, allocations: 3.938 kB / 363 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1086, allocations: 0 / 363 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1088, allocations: 87.81 kB / 363.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.1096, allocations: 444.5 kB / 363.5 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.1099, allocations: 122.5 kB / 363.6 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.11, allocations: 60.83 kB / 363.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.11, allocations: 0 / 363.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.1103, allocations: 115.3 kB / 363.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.1103, allocations: 0 / 363.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004923/0.1108, allocations: 229.6 kB / 364 MB, free: 7.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.1109, allocations: 67.39 kB / 364.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.1113, allocations: 247.8 kB / 364.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.1113, allocations: 37.7 kB / 364.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/0.1114, allocations: 120.2 kB / 364.5 MB, free: 7.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.1115, allocations: 43.39 kB / 364.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.1116, allocations: 49.69 kB / 364.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1117, allocations: 330.8 kB / 364.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.1119, allocations: 83.94 kB / 365 MB, free: 6.598 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.1121, allocations: 106.8 kB / 365.1 MB, free: 6.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.1124, allocations: 186.4 kB / 365.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1124, allocations: 4 kB / 365.3 MB, free: 6.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004257/0.1128, allocations: 245.3 kB / 365.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1128, allocations: 4 kB / 365.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1129, allocations: 11.88 kB / 365.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1129, allocations: 0 / 365.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.1131, allocations: 43.94 kB / 365.6 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1131, allocations: 0 / 365.6 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1133, allocations: 19.89 kB / 365.6 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1133, allocations: 12 kB / 365.6 MB, free: 5.961 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,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 0.0001408/0.1134, allocations: 145.7 kB / 365.8 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.1135, allocations: 15.81 kB / 365.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.1135, allocations: 25.47 kB / 365.8 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1136, allocations: 4 kB / 365.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1136, allocations: 0 / 365.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1136, allocations: 3.984 kB / 365.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.1138, allocations: 241.5 kB / 366 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1138, allocations: 0 / 366 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.114, allocations: 15.98 kB / 366.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.114, allocations: 96 / 366.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.114, allocations: 15.88 kB / 366.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.114, allocations: 0 / 366.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.114, allocations: 3.984 kB / 366.1 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.1145, allocations: 276 kB / 366.3 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.1146, allocations: 104.9 kB / 366.4 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.1147, allocations: 11.92 kB / 366.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1149, allocations: 23.97 kB / 366.5 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.1149, allocations: 4 kB / 366.5 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1149, allocations: 3.984 kB / 366.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003242/0.1153, allocations: 189.5 kB / 366.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1153, allocations: 0 / 366.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1156, allocations: 91.89 kB / 366.8 MB, free: 4.723 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 (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.0006482/0.1163, allocations: 274.2 kB / 367 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.1167, allocations: 176.6 kB / 367.2 MB, free: 4.301 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1167, allocations: 0 / 367.2 MB, free: 4.301 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.1168, allocations: 63.91 kB / 367.3 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.1171, allocations: 24.05 kB / 367.3 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007328/0.1178, allocations: 419.5 kB / 367.7 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.1182, allocations: 0.7243 MB / 368.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.1183, allocations: 19.44 kB / 368.4 MB, free: 3 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1183, allocations: 3.938 kB / 368.4 MB, free: 2.996 MB / 302.1 MB Notification: Performance of Templates: time 0.1669/0.2852, allocations: 3.518 MB / 372 MB, free: 19.72 MB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches