Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 199.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.662/1.662, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 90 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003903, allocations: 8 kB / 360.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3328, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002228/0.3351, allocations: 1.356 MB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.3379, allocations: 2.145 MB / 415.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.3381, allocations: 0 / 415.6 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.3386, allocations: 23.84 kB / 415.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.3388, allocations: 35.84 kB / 415.6 MB, free: 22.12 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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.0009537/0.3398, allocations: 235.4 kB / 415.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.3401, allocations: 175.6 kB / 416 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3402, allocations: 13.11 kB / 416 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.3406, allocations: 79.69 kB / 416.1 MB, free: 21.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009169/0.3415, allocations: 96.88 kB / 416.2 MB, free: 21.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.044e-05/0.3416, allocations: 8 kB / 416.2 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.3421, allocations: 283.4 kB / 416.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.3423, allocations: 43.88 kB / 416.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.3424, allocations: 89.28 kB / 416.6 MB, free: 21.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.343, allocations: 320.6 kB / 416.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.343, allocations: 0 / 416.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.343, allocations: 3.938 kB / 416.9 MB, free: 20.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.343, allocations: 0 / 416.9 MB, free: 20.79 MB / 298.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.001275/0.3443, allocations: 0.5377 MB / 417.5 MB, free: 20.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3444, allocations: 16.02 kB / 417.5 MB, free: 20.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.3446, allocations: 20.75 kB / 417.5 MB, free: 20.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.3451, allocations: 280.8 kB / 417.8 MB, free: 19.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3451, allocations: 4.375 kB / 417.8 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.3452, allocations: 16.12 kB / 417.8 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3454, allocations: 93.64 kB / 417.9 MB, free: 19.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3454, allocations: 7.984 kB / 417.9 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3454, allocations: 4 kB / 417.9 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3454, allocations: 0 / 417.9 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.3456, allocations: 83.94 kB / 418 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.3464, allocations: 456.4 kB / 418.4 MB, free: 19.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.3467, allocations: 126.5 kB / 418.6 MB, free: 19.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3468, allocations: 60.83 kB / 418.6 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.3468, allocations: 0 / 418.6 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.347, allocations: 123.4 kB / 418.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.3471, allocations: 3.938 kB / 418.7 MB, free: 18.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.000451/0.3475, allocations: 237.5 kB / 419 MB, free: 18.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3476, allocations: 55.41 kB / 419 MB, free: 18.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.3479, allocations: 251.7 kB / 419.3 MB, free: 18.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.348, allocations: 41.67 kB / 419.3 MB, free: 18.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.348, allocations: 120 kB / 419.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.3481, allocations: 39.59 kB / 419.5 MB, free: 18.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.3481, allocations: 4 kB / 419.5 MB, free: 18.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.3482, allocations: 330.8 kB / 419.8 MB, free: 17.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3483, allocations: 88.03 kB / 419.9 MB, free: 17.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.3485, allocations: 116.2 kB / 420 MB, free: 17.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3487, allocations: 181.6 kB / 420.2 MB, free: 17.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3487, allocations: 0 / 420.2 MB, free: 17.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003565/0.3491, allocations: 256 kB / 420.4 MB, free: 17.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3491, allocations: 8 kB / 420.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3492, allocations: 3.938 kB / 420.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3492, allocations: 0 / 420.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3494, allocations: 35.91 kB / 420.5 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3494, allocations: 0 / 420.5 MB, free: 17.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.3496, allocations: 39.72 kB / 420.5 MB, free: 16.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.3496, allocations: 8 kB / 420.5 MB, free: 16.98 MB / 298.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,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.3497, allocations: 133.8 kB / 420.6 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.3497, allocations: 15.81 kB / 420.7 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.3498, allocations: 21.47 kB / 420.7 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3498, allocations: 4 kB / 420.7 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3498, allocations: 7.875 kB / 420.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3498, allocations: 7.984 kB / 420.7 MB, free: 16.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.35, allocations: 241.5 kB / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.35, allocations: 0 / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.3502, allocations: 19.98 kB / 421 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3502, allocations: 0 / 421 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.3502, allocations: 11.92 kB / 421 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3502, allocations: 0 / 421 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3502, allocations: 0 / 421 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.3506, allocations: 285.1 kB / 421.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.3507, allocations: 108.9 kB / 421.4 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.3508, allocations: 7.938 kB / 421.4 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.351, allocations: 19.97 kB / 421.4 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.351, allocations: 11.98 kB / 421.4 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.351, allocations: 4 kB / 421.4 MB, free: 16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002619/0.3513, allocations: 184.2 kB / 421.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3513, allocations: 0 / 421.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003711/0.3517, allocations: 87.98 kB / 421.7 MB, free: 15.73 MB / 298.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.0006433/0.3523, allocations: 283.8 kB / 421.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.3527, allocations: 179.2 kB / 422.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3527, allocations: 0 / 422.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3528, allocations: 71.94 kB / 422.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3531, allocations: 23.98 kB / 422.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.3537, allocations: 406.5 kB / 422.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.3539, allocations: 0.7205 MB / 423.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.638e-05/0.354, allocations: 33.34 kB / 423.4 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.3541, allocations: 27.42 kB / 423.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3541, allocations: 0 / 423.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of Templates: time 0.006404/0.3605, allocations: 2.872 MB / 426.3 MB, free: 11.11 MB / 298.7 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","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches