Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001465, allocations: 178.3 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.6 MB / 223.7 MB, free: 8.969 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007161/0.0007161, allocations: 96.06 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002716, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2383, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001592/0.2399, allocations: 1.363 MB / 378 MB, free: 44.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2419, allocations: 1.885 MB / 379.8 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.242, allocations: 2.125 kB / 379.8 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.2423, allocations: 23.5 kB / 379.9 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2424, allocations: 44.2 kB / 379.9 MB, free: 42.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.243, allocations: 228.4 kB / 380.1 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.2432, allocations: 180.8 kB / 380.3 MB, free: 42.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.2433, allocations: 16.95 kB / 380.3 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.2435, allocations: 74.08 kB / 380.4 MB, free: 42.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.2436, allocations: 94.33 kB / 380.5 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.2437, allocations: 7.219 kB / 380.5 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.2441, allocations: 287.6 kB / 380.8 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.2442, allocations: 46.27 kB / 380.8 MB, free: 42.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.618e-05/0.2443, allocations: 91.64 kB / 380.9 MB, free: 42.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.2447, allocations: 333.9 kB / 381.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2447, allocations: 0 / 381.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2447, allocations: 0 / 381.2 MB, free: 41.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.2447, allocations: 4 kB / 381.2 MB, free: 41.89 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.001058/0.2458, allocations: 0.5347 MB / 381.8 MB, free: 41.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2458, allocations: 14.03 kB / 381.8 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.246, allocations: 27.42 kB / 381.8 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.2464, allocations: 273.7 kB / 382.1 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2464, allocations: 3.25 kB / 382.1 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.2465, allocations: 14.08 kB / 382.1 MB, free: 41.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2467, allocations: 101.4 kB / 382.2 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2467, allocations: 4 kB / 382.2 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2467, allocations: 5.406 kB / 382.2 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2467, allocations: 1.156 kB / 382.2 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.2469, allocations: 89.97 kB / 382.3 MB, free: 40.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/0.2476, allocations: 456.7 kB / 382.8 MB, free: 40.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.2479, allocations: 124.8 kB / 382.9 MB, free: 40.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.2481, allocations: 67.02 kB / 382.9 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2481, allocations: 1.531 kB / 382.9 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.2483, allocations: 120.3 kB / 383.1 MB, free: 40.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.2483, allocations: 0 / 383.1 MB, free: 40.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004593/0.2488, allocations: 234.7 kB / 383.3 MB, free: 40.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2488, allocations: 59.5 kB / 383.3 MB, free: 40.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.2492, allocations: 248.7 kB / 383.6 MB, free: 40.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.2492, allocations: 44.22 kB / 383.6 MB, free: 39.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.2493, allocations: 118.5 kB / 383.7 MB, free: 39.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.2494, allocations: 46.44 kB / 383.8 MB, free: 39.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.2494, allocations: 1.312 kB / 383.8 MB, free: 39.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.74e-05/0.2494, allocations: 334.9 kB / 384.1 MB, free: 39.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2496, allocations: 87.78 kB / 384.2 MB, free: 39.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.2498, allocations: 106.7 kB / 384.3 MB, free: 39.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.25, allocations: 190.1 kB / 384.5 MB, free: 39.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2501, allocations: 0 / 384.5 MB, free: 39.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003904/0.2505, allocations: 255.7 kB / 384.7 MB, free: 39.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2505, allocations: 4.469 kB / 384.7 MB, free: 39.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2505, allocations: 1.125 kB / 384.8 MB, free: 39.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.2505, allocations: 1.062 kB / 384.8 MB, free: 39.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.2507, allocations: 44 kB / 384.8 MB, free: 39.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2507, allocations: 1.281 kB / 384.8 MB, free: 39.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.2509, allocations: 37.47 kB / 384.8 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2509, allocations: 4.344 kB / 384.8 MB, free: 39.14 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 9.715e-05/0.251, allocations: 140.5 kB / 385 MB, free: 39.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.2511, allocations: 19.19 kB / 385 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.2511, allocations: 17.69 kB / 385 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2511, allocations: 12.98 kB / 385 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2512, allocations: 4.938 kB / 385 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2512, allocations: 0 / 385 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.2513, allocations: 236.6 kB / 385.3 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2514, allocations: 3.984 kB / 385.3 MB, free: 38.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.2515, allocations: 17.22 kB / 385.3 MB, free: 38.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2515, allocations: 5.516 kB / 385.3 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2515, allocations: 9.359 kB / 385.3 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2515, allocations: 3.938 kB / 385.3 MB, free: 38.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2515, allocations: 1.031 kB / 385.3 MB, free: 38.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.252, allocations: 284.6 kB / 385.6 MB, free: 38.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.252, allocations: 110.8 kB / 385.7 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.2521, allocations: 7.406 kB / 385.7 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.2523, allocations: 23.81 kB / 385.7 MB, free: 38.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.2523, allocations: 8.172 kB / 385.7 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2523, allocations: 6.438 kB / 385.7 MB, free: 38.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002761/0.2526, allocations: 190.7 kB / 385.9 MB, free: 38.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2526, allocations: 1.062 kB / 385.9 MB, free: 38.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004204/0.253, allocations: 89.36 kB / 386 MB, free: 38.24 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.0006291/0.2537, allocations: 313.2 kB / 386.3 MB, free: 38.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.254, allocations: 169.8 kB / 386.5 MB, free: 37.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.254, allocations: 0 / 386.5 MB, free: 37.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.2542, allocations: 74.05 kB / 386.5 MB, free: 37.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.2544, allocations: 18.72 kB / 386.6 MB, free: 37.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006047/0.255, allocations: 408.5 kB / 387 MB, free: 37.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2552, allocations: 0.733 MB / 387.7 MB, free: 36.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.004e-05/0.2553, allocations: 37.38 kB / 387.7 MB, free: 36.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.2553, allocations: 15.44 kB / 387.7 MB, free: 36.84 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.2553, allocations: 0 / 387.7 MB, free: 36.84 MB / 298.7 MB Notification: Performance of Templates: time 0.005624/0.261, allocations: 2.995 MB / 390.7 MB, free: 33.85 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches