Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 240.3 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009179/0.0009178, allocations: 105.5 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002905, allocations: 8 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2691, allocations: 50.41 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3709, allocations: 79.31 MB / 480.8 MB, free: 1.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.3712, allocations: 75.97 kB / 480.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01926/0.3905, allocations: 6.407 MB / 487.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3905, allocations: 0 / 487.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3905, allocations: 0 / 487.3 MB, free: 10.7 MB / 362.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.001034/0.3916, allocations: 0.5416 MB / 487.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3916, allocations: 12.03 kB / 487.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.3919, allocations: 27.7 kB / 487.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.3923, allocations: 283.6 kB / 488.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3924, allocations: 8 kB / 488.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.3924, allocations: 8 kB / 488.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3926, allocations: 101.6 kB / 488.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3926, allocations: 0 / 488.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3927, allocations: 0 / 488.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-06/0.3927, allocations: 3.953 kB / 488.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.3929, allocations: 87.94 kB / 488.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007194/0.3936, allocations: 444.5 kB / 488.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.3939, allocations: 130.5 kB / 488.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.3939, allocations: 0 / 488.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.3941, allocations: 123.3 kB / 489 MB, free: 8.781 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.3941, allocations: 7.938 kB / 489 MB, free: 8.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005254/0.3947, allocations: 310.6 kB / 489.3 MB, free: 8.445 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.3947, allocations: 63.39 kB / 489.4 MB, free: 8.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.3951, allocations: 226.8 kB / 489.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.3951, allocations: 41.69 kB / 489.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.3952, allocations: 112.1 kB / 489.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.3953, allocations: 47.53 kB / 489.8 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.3953, allocations: 4 kB / 489.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3954, allocations: 326.8 kB / 490.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3956, allocations: 83.94 kB / 490.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3957, allocations: 105.8 kB / 490.3 MB, free: 7.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3959, allocations: 80.81 kB / 490.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3959, allocations: 0 / 490.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004089/0.3963, allocations: 262 kB / 490.7 MB, free: 7.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3964, allocations: 7.125 kB / 490.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3964, allocations: 7.953 kB / 490.7 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3964, allocations: 0 / 490.7 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.3966, allocations: 32.11 kB / 490.7 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3966, allocations: 3.938 kB / 490.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.3968, allocations: 31.81 kB / 490.7 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.3969, allocations: 8 kB / 490.8 MB, free: 6.988 MB / 362.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): 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 0.0001238/0.397, allocations: 141.8 kB / 490.9 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.397, allocations: 11.81 kB / 490.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.3971, allocations: 29.52 kB / 490.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3971, allocations: 3.953 kB / 490.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3971, allocations: 0 / 490.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3971, allocations: 0 / 490.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.3973, allocations: 245.4 kB / 491.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3973, allocations: 4 kB / 491.2 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.3975, allocations: 15.98 kB / 491.2 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3975, allocations: 0 / 491.2 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.3975, allocations: 7.984 kB / 491.2 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3975, allocations: 0 / 491.2 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3975, allocations: 11.89 kB / 491.2 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.398, allocations: 281 kB / 491.5 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-05/0.3981, allocations: 112.8 kB / 491.6 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3981, allocations: 4 kB / 491.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.3983, allocations: 28.03 kB / 491.6 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.3984, allocations: 11.94 kB / 491.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3984, allocations: 4 kB / 491.6 MB, free: 6.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000306/0.3987, allocations: 184.2 kB / 491.8 MB, free: 5.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.493e-06/0.3987, allocations: 0 / 491.8 MB, free: 5.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004695/0.3992, allocations: 111.9 kB / 491.9 MB, free: 5.715 MB / 362.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 (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.0007774/0.4, allocations: 312.8 kB / 492.2 MB, free: 5.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003794/0.4004, allocations: 205.9 kB / 492.4 MB, free: 5.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4004, allocations: 0 / 492.4 MB, free: 5.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.4005, allocations: 71.84 kB / 492.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.4007, allocations: 26.91 kB / 492.5 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.4014, allocations: 396.6 kB / 492.9 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.4017, allocations: 0.7283 MB / 493.7 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.4018, allocations: 29.41 kB / 493.7 MB, free: 3.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.4019, allocations: 23.42 kB / 493.7 MB, free: 3.918 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4019, allocations: 0 / 493.7 MB, free: 3.918 MB / 362.7 MB Notification: Performance of Templates: time 0.006389/0.4083, allocations: 3.032 MB / 496.7 MB, free: 0.8867 MB / 362.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