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.00169/0.001691, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002436/0.002436, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.449/2.449, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.571/0.5737, allocations: 50.54 MB / 409.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.006437/0.5802, allocations: 1.672 MB / 411.6 MB, free: 52 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004355/0.5846, allocations: 1.243 MB / 412.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.5849, allocations: 0 / 412.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.5855, allocations: 27.78 kB / 412.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.5859, allocations: 39.77 kB / 412.9 MB, free: 14.73 MB / 334.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.00165/0.5875, allocations: 299.1 kB / 413.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.5881, allocations: 179.5 kB / 413.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.5883, allocations: 17.06 kB / 413.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.5887, allocations: 99.59 kB / 413.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.5899, allocations: 99.06 kB / 413.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.59, allocations: 16 kB / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.5913, allocations: 271.6 kB / 413.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.5915, allocations: 59.81 kB / 413.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.5918, allocations: 67.59 kB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.593, allocations: 327 kB / 414.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.593, allocations: 0 / 414.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.593, allocations: 3.938 kB / 414.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.593, allocations: 0 / 414.3 MB, free: 13.32 MB / 334.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.003343/0.5964, allocations: 0.5546 MB / 414.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/0.5965, allocations: 12.03 kB / 414.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.5969, allocations: 24.75 kB / 414.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.5978, allocations: 276.8 kB / 415.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.5978, allocations: 4.375 kB / 415.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.5979, allocations: 16.12 kB / 415.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.5983, allocations: 97.62 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.5983, allocations: 0 / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.5984, allocations: 4 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.5984, allocations: 4 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.5988, allocations: 71.94 kB / 415.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.6006, allocations: 464.4 kB / 415.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.6011, allocations: 114.5 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.6014, allocations: 56.83 kB / 416 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.6014, allocations: 8 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003974/0.6018, allocations: 127 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 5.229e-06/0.6018, allocations: 3.938 kB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009735/0.6028, allocations: 229.3 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.6029, allocations: 55.41 kB / 416.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/0.6037, allocations: 255.7 kB / 416.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.6038, allocations: 37.64 kB / 416.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.6039, allocations: 116.1 kB / 416.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.604, allocations: 43.58 kB / 416.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.6042, allocations: 45.7 kB / 416.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.6044, allocations: 338.8 kB / 417.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.6047, allocations: 79.95 kB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.605, allocations: 109.6 kB / 417.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.6056, allocations: 177.6 kB / 417.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.6057, allocations: 0 / 417.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008947/0.6066, allocations: 257.2 kB / 417.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.6066, allocations: 4 kB / 417.8 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.6066, allocations: 3.969 kB / 417.8 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.6067, allocations: 4 kB / 417.8 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.607, allocations: 35.92 kB / 417.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.6071, allocations: 0 / 417.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.6075, allocations: 35.81 kB / 417.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.6075, allocations: 8 kB / 417.9 MB, free: 9.48 MB / 334.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.0002328/0.6078, allocations: 133.8 kB / 418 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.6079, allocations: 19.81 kB / 418.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.608, allocations: 29.45 kB / 418.1 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.608, allocations: 7.984 kB / 418.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.608, allocations: 3.938 kB / 418.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.6081, allocations: 0 / 418.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.6085, allocations: 237.4 kB / 418.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6085, allocations: 4 kB / 418.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.6087, allocations: 15.98 kB / 418.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.6088, allocations: 0 / 418.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.6088, allocations: 7.938 kB / 418.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.6088, allocations: 0 / 418.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6088, allocations: 4 kB / 418.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/0.6098, allocations: 276.8 kB / 418.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.61, allocations: 104.9 kB / 418.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.6101, allocations: 7.938 kB / 418.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.6104, allocations: 19.97 kB / 418.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.6106, allocations: 12.05 kB / 418.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.6106, allocations: 4 kB / 418.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006229/0.6112, allocations: 184.2 kB / 419 MB, free: 8.328 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6113, allocations: 0 / 419 MB, free: 8.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007121/0.612, allocations: 83.98 kB / 419 MB, free: 8.246 MB / 334.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.001186/0.6132, allocations: 271.6 kB / 419.3 MB, free: 8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007624/0.614, allocations: 169 kB / 419.5 MB, free: 7.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.614, allocations: 4.062 kB / 419.5 MB, free: 7.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.6143, allocations: 67.89 kB / 419.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.6148, allocations: 16 kB / 419.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.6161, allocations: 387.4 kB / 419.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.6167, allocations: 0.728 MB / 420.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.6168, allocations: 19.44 kB / 420.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6168, allocations: 0 / 420.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of Templates: time 0.01299/0.6298, allocations: 3.553 MB / 424.2 MB, free: 3.012 MB / 334.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.0.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