Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 172.3 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.2 MB / 219.8 MB, free: 14.19 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007805/0.0007807, allocations: 90.64 kB / 268 MB, free: 14.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.471e-05, allocations: 4 kB / 322.4 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.09975, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.398/0.4978, allocations: 78.29 MB / 448.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.4981, allocations: 78.08 kB / 448.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02002/0.5181, allocations: 6.328 MB / 454.7 MB, free: 9.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5182, allocations: 0 / 454.7 MB, free: 9.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.5182, allocations: 7.938 kB / 454.7 MB, free: 9.461 MB / 330.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.001008/0.5192, allocations: 494.1 kB / 455.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5193, allocations: 8.031 kB / 455.2 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.5195, allocations: 31.7 kB / 455.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.5199, allocations: 248.2 kB / 455.5 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.5199, allocations: 7.375 kB / 455.5 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.52, allocations: 11.2 kB / 455.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.5202, allocations: 98.58 kB / 455.6 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5202, allocations: 0 / 455.6 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.5202, allocations: 7.312 kB / 455.6 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5202, allocations: 3.984 kB / 455.6 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.5204, allocations: 70.52 kB / 455.7 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.5211, allocations: 444.1 kB / 456.1 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.5214, allocations: 115.7 kB / 456.2 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.5215, allocations: 52.28 kB / 456.3 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.5215, allocations: 0 / 456.3 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.5217, allocations: 110.3 kB / 456.4 MB, free: 7.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.5217, allocations: 0 / 456.4 MB, free: 7.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003495/0.5221, allocations: 165.2 kB / 456.5 MB, free: 7.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.5221, allocations: 67.38 kB / 456.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.5224, allocations: 203.3 kB / 456.8 MB, free: 7.426 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.5224, allocations: 40.88 kB / 456.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.5225, allocations: 111.8 kB / 457 MB, free: 7.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.5225, allocations: 42.34 kB / 457 MB, free: 7.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.5226, allocations: 3.188 kB / 457 MB, free: 7.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5227, allocations: 333.6 kB / 457.3 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.5228, allocations: 72.47 kB / 457.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.523, allocations: 97.3 kB / 457.5 MB, free: 6.805 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.5232, allocations: 91.06 kB / 457.6 MB, free: 6.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5232, allocations: 0 / 457.6 MB, free: 6.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003555/0.5235, allocations: 239.7 kB / 457.8 MB, free: 6.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5236, allocations: 11.88 kB / 457.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.5236, allocations: 0 / 457.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.5236, allocations: 4 kB / 457.8 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.5238, allocations: 32.02 kB / 457.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5238, allocations: 7.984 kB / 457.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.524, allocations: 28.55 kB / 457.9 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.524, allocations: 11.81 kB / 457.9 MB, free: 6.469 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.396e-05/0.5241, allocations: 124.2 kB / 458 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.5241, allocations: 15.81 kB / 458 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.5242, allocations: 17.53 kB / 458.1 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5242, allocations: 8 kB / 458.1 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5242, allocations: 3.984 kB / 458.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5242, allocations: 0 / 458.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.5245, allocations: 244.1 kB / 458.3 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5245, allocations: 3.953 kB / 458.3 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.5246, allocations: 15.98 kB / 458.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5246, allocations: 0 / 458.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.5246, allocations: 7.875 kB / 458.3 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5246, allocations: 3.938 kB / 458.3 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5247, allocations: 0 / 458.3 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.525, allocations: 269.8 kB / 458.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5251, allocations: 108.6 kB / 458.7 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.5252, allocations: 7.875 kB / 458.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.5254, allocations: 19.97 kB / 458.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.5254, allocations: 7.984 kB / 458.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.5254, allocations: 7.875 kB / 458.8 MB, free: 5.641 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.5256, allocations: 164.9 kB / 458.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5256, allocations: 0 / 458.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004631/0.5261, allocations: 119.6 kB / 459 MB, free: 5.395 MB / 330.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]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007583/0.5268, allocations: 311 kB / 459.3 MB, free: 5.094 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.5271, allocations: 196.5 kB / 459.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5272, allocations: 0 / 459.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.5273, allocations: 70.48 kB / 459.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.5274, allocations: 16.52 kB / 459.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.528, allocations: 264.6 kB / 459.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.5283, allocations: 0.7283 MB / 460.6 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.493e-05/0.5284, allocations: 33.19 kB / 460.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.5285, allocations: 19.42 kB / 460.7 MB, free: 3.816 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5285, allocations: 0 / 460.7 MB, free: 3.816 MB / 330.7 MB Notification: Performance of Templates: time 0.006588/0.5351, allocations: 3.102 MB / 463.8 MB, free: 0.7227 MB / 330.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