Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 193.4 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000889/0.0008891, allocations: 97.62 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/6.993e-06, allocations: 0 / 343.1 MB, free: 8.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08141/0.08143, allocations: 51.47 MB / 394.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.2861, allocations: 79.32 MB / 473.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/0.2863, allocations: 70.31 kB / 474 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01658/0.3029, allocations: 6.075 MB / 480.1 MB, free: 8.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.303, allocations: 4 kB / 480.1 MB, free: 8.727 MB / 346.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.0005653/0.3036, allocations: 498.3 kB / 480.6 MB, free: 8.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.3036, allocations: 8.031 kB / 480.6 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.3038, allocations: 31.7 kB / 480.6 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.304, allocations: 256.3 kB / 480.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.304, allocations: 4 kB / 480.9 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.3041, allocations: 8 kB / 480.9 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001254/0.3042, allocations: 71.83 kB / 480.9 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3044, allocations: 90.89 kB / 481 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3044, allocations: 4 kB / 481 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3044, allocations: 0 / 481 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3044, allocations: 0 / 481 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.3049, allocations: 398.5 kB / 481.4 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.305, allocations: 91.12 kB / 481.5 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.3051, allocations: 50.34 kB / 481.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3051, allocations: 4 kB / 481.6 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.3052, allocations: 105 kB / 481.7 MB, free: 7.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.3052, allocations: 4 kB / 481.7 MB, free: 7.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002556/0.3055, allocations: 154.8 kB / 481.8 MB, free: 7.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.3055, allocations: 55.41 kB / 481.9 MB, free: 6.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3056, allocations: 194.9 kB / 482.1 MB, free: 6.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.3057, allocations: 41.5 kB / 482.1 MB, free: 6.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.3057, allocations: 91.56 kB / 482.2 MB, free: 6.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.3058, allocations: 45.44 kB / 482.2 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.3058, allocations: 0 / 482.2 MB, free: 6.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.3058, allocations: 332.9 kB / 482.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.466e-05/0.3059, allocations: 78.09 kB / 482.6 MB, free: 6.246 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.306, allocations: 94.11 kB / 482.7 MB, free: 6.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.3062, allocations: 81.86 kB / 482.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3062, allocations: 0 / 482.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003259/0.3065, allocations: 231.6 kB / 483 MB, free: 5.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.3066, allocations: 4 kB / 483 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3066, allocations: 7.984 kB / 483 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3066, allocations: 3.906 kB / 483 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3068, allocations: 31.95 kB / 483.1 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.3068, allocations: 4 kB / 483.1 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.307, allocations: 27.77 kB / 483.1 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.307, allocations: 4 kB / 483.1 MB, free: 5.852 MB / 346.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 6.122e-05/0.3071, allocations: 124.7 kB / 483.2 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.3071, allocations: 23.7 kB / 483.3 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.3071, allocations: 15.47 kB / 483.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3072, allocations: 0 / 483.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3072, allocations: 0 / 483.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3072, allocations: 0 / 483.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.3073, allocations: 224.3 kB / 483.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3073, allocations: 0 / 483.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.3075, allocations: 15.98 kB / 483.5 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3075, allocations: 0 / 483.5 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3075, allocations: 8 kB / 483.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3075, allocations: 0 / 483.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3075, allocations: 1.062 kB / 483.5 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000283/0.3078, allocations: 242.8 kB / 483.8 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.3079, allocations: 107.7 kB / 483.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.3079, allocations: 8.641 kB / 483.9 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3081, allocations: 24.05 kB / 483.9 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.3081, allocations: 11.86 kB / 483.9 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3082, allocations: 4 kB / 483.9 MB, free: 5.074 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.068e-05/0.3083, allocations: 157.6 kB / 484.1 MB, free: 4.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003968/0.3087, allocations: 111.4 kB / 484.2 MB, free: 4.84 MB / 346.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.0007329/0.3094, allocations: 343.3 kB / 484.5 MB, free: 4.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.3097, allocations: 191.8 kB / 484.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3097, allocations: 0 / 484.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.77e-05/0.3098, allocations: 56.73 kB / 484.7 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.3099, allocations: 14.55 kB / 484.8 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.3105, allocations: 250.7 kB / 485 MB, free: 4.102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.3107, allocations: 0.7583 MB / 485.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3107, allocations: 0 / 485.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of Templates: time 0.005629/0.3163, allocations: 3.366 MB / 489.1 MB, free: 12 kB / 346.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