Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009324/0.0009326, allocations: 177.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 225.7 MB / 243.2 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007461/0.0007463, allocations: 97.66 kB / 294.4 MB, free: 9.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002456, allocations: 11.92 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2086, allocations: 50.42 MB / 404.6 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001415/0.2101, allocations: 1.356 MB / 405.9 MB, free: 29.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.2117, allocations: 1.844 MB / 407.8 MB, free: 27.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.2118, allocations: 4 kB / 407.8 MB, free: 27.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.2121, allocations: 28.56 kB / 407.8 MB, free: 27.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.201e-05/0.2122, allocations: 36.98 kB / 407.8 MB, free: 27.84 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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.0004985/0.2127, allocations: 237.5 kB / 408.1 MB, free: 27.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.2129, allocations: 175.5 kB / 408.2 MB, free: 27.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.213, allocations: 13.86 kB / 408.3 MB, free: 27.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.2131, allocations: 72.23 kB / 408.3 MB, free: 27.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006241/0.2137, allocations: 97.77 kB / 408.4 MB, free: 27.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.2138, allocations: 8 kB / 408.4 MB, free: 27.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.2141, allocations: 277.9 kB / 408.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.2142, allocations: 47.81 kB / 408.8 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.2143, allocations: 93.23 kB / 408.8 MB, free: 26.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.2146, allocations: 320.7 kB / 409.2 MB, free: 26.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2146, allocations: 0 / 409.2 MB, free: 26.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2146, allocations: 0 / 409.2 MB, free: 26.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.2146, allocations: 3.25 kB / 409.2 MB, free: 26.53 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.0009642/0.2156, allocations: 0.5299 MB / 409.7 MB, free: 25.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2157, allocations: 8.031 kB / 409.7 MB, free: 25.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.2158, allocations: 28.73 kB / 409.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.2162, allocations: 272.8 kB / 410 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.2162, allocations: 11.94 kB / 410 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.2163, allocations: 4 kB / 410 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.2165, allocations: 113.6 kB / 410.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2165, allocations: 0 / 410.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2165, allocations: 0 / 410.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2165, allocations: 4 kB / 410.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.2167, allocations: 87.88 kB / 410.2 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.2174, allocations: 452.5 kB / 410.7 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.2176, allocations: 122.5 kB / 410.8 MB, free: 24.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.2177, allocations: 64.92 kB / 410.8 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2177, allocations: 7.875 kB / 410.8 MB, free: 24.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.2179, allocations: 115.3 kB / 411 MB, free: 24.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.2179, allocations: 0 / 411 MB, free: 24.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003757/0.2183, allocations: 241.5 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.2183, allocations: 67.39 kB / 411.3 MB, free: 24.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.2186, allocations: 247.7 kB / 411.5 MB, free: 23.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2187, allocations: 33.7 kB / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.2187, allocations: 116 kB / 411.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.2187, allocations: 43.59 kB / 411.7 MB, free: 23.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-06/0.2188, allocations: 8 kB / 411.7 MB, free: 23.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.2188, allocations: 330.8 kB / 412 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.219, allocations: 79.95 kB / 412.1 MB, free: 23.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2191, allocations: 106.7 kB / 412.2 MB, free: 23.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.2193, allocations: 199.6 kB / 412.4 MB, free: 23.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2194, allocations: 0 / 412.4 MB, free: 23.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000318/0.2197, allocations: 255.5 kB / 412.6 MB, free: 22.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2197, allocations: 4 kB / 412.6 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2197, allocations: 0 / 412.6 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2197, allocations: 4 kB / 412.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2199, allocations: 39.92 kB / 412.7 MB, free: 22.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2199, allocations: 4.031 kB / 412.7 MB, free: 22.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2201, allocations: 35.72 kB / 412.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.2201, allocations: 11.98 kB / 412.7 MB, free: 22.71 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 8.501e-05/0.2202, allocations: 137.8 kB / 412.9 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.2202, allocations: 19.75 kB / 412.9 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.2203, allocations: 25.52 kB / 412.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2203, allocations: 4 kB / 412.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2203, allocations: 4 kB / 412.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2203, allocations: 0 / 412.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.2205, allocations: 233.5 kB / 413.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2205, allocations: 4 kB / 413.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.2206, allocations: 19.92 kB / 413.2 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2206, allocations: 0 / 413.2 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.2206, allocations: 4 kB / 413.2 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2206, allocations: 4 kB / 413.2 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2206, allocations: 0 / 413.2 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.221, allocations: 288.7 kB / 413.5 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.2211, allocations: 104.9 kB / 413.6 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.2211, allocations: 4.188 kB / 413.6 MB, free: 21.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.2213, allocations: 24.03 kB / 413.6 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.2213, allocations: 15.92 kB / 413.6 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.2213, allocations: 7.938 kB / 413.6 MB, free: 21.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002385/0.2216, allocations: 184.2 kB / 413.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2216, allocations: 0 / 413.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.2219, allocations: 83.98 kB / 413.9 MB, free: 21.47 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.0004994/0.2224, allocations: 288.5 kB / 414.2 MB, free: 21.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.2227, allocations: 177.3 kB / 414.3 MB, free: 21.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2227, allocations: 0 / 414.3 MB, free: 21.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2228, allocations: 63.97 kB / 414.4 MB, free: 20.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.223, allocations: 35.75 kB / 414.4 MB, free: 20.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.2235, allocations: 412.6 kB / 414.8 MB, free: 20.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2236, allocations: 0.7283 MB / 415.6 MB, free: 19.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.363e-05/0.2237, allocations: 41.31 kB / 415.6 MB, free: 19.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.2238, allocations: 19.44 kB / 415.6 MB, free: 19.7 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2238, allocations: 0 / 415.6 MB, free: 19.7 MB / 298.7 MB Notification: Performance of Templates: time 0.004843/0.2286, allocations: 2.832 MB / 418.5 MB, free: 16.87 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) 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","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches