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") [: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 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 180.2 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 221.4 MB / 229.9 MB, free: 3.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009794/0.0009805, allocations: 104.1 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.474e-06, allocations: 0 / 336.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 50.4 MB / 386.9 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08286/0.284, allocations: 78.49 MB / 465.4 MB, free: 8.289 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.2842, allocations: 79.89 kB / 465.5 MB, free: 8.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01923/0.3034, allocations: 5.987 MB / 471.5 MB, free: 2.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.3035, allocations: 4 kB / 471.5 MB, free: 2.238 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.0006805/0.3042, allocations: 490.2 kB / 472 MB, free: 1.715 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3042, allocations: 8.031 kB / 472 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.3044, allocations: 31.7 kB / 472 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.3047, allocations: 247.7 kB / 472.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3048, allocations: 4 kB / 472.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.3048, allocations: 7.938 kB / 472.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000148/0.3049, allocations: 75.89 kB / 472.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3051, allocations: 94.27 kB / 472.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3051, allocations: 0 / 472.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3051, allocations: 0 / 472.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3051, allocations: 0.8438 kB / 472.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.3057, allocations: 409 kB / 472.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.3059, allocations: 89.62 kB / 472.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.306, allocations: 52.84 kB / 472.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.306, allocations: 0 / 472.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.3061, allocations: 108.4 kB / 473.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3062, allocations: 1.969 kB / 473.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002893/0.3065, allocations: 153.6 kB / 473.2 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.3065, allocations: 55.41 kB / 473.3 MB, free: 284 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3067, allocations: 194.9 kB / 473.5 MB, free: 84 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.3067, allocations: 41.69 kB / 473.5 MB, free: 36 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.3068, allocations: 92.12 kB / 473.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.3069, allocations: 47.53 kB / 473.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.3069, allocations: 4 kB / 473.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.307, allocations: 334.7 kB / 474 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3071, allocations: 67.98 kB / 474 MB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3072, allocations: 93.86 kB / 474.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.3074, allocations: 84.3 kB / 474.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3075, allocations: 0 / 474.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003995/0.3079, allocations: 233.8 kB / 474.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3079, allocations: 12.03 kB / 474.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.3079, allocations: 0 / 474.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3079, allocations: 3.984 kB / 474.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.3081, allocations: 31.89 kB / 474.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3081, allocations: 0 / 474.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.3084, allocations: 19.89 kB / 474.5 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.3084, allocations: 16.69 kB / 474.5 MB, free: 14.99 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 () * 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.012e-05/0.3085, allocations: 116.9 kB / 474.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.3085, allocations: 18.06 kB / 474.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.3086, allocations: 21.38 kB / 474.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3086, allocations: 0 / 474.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3086, allocations: 0 / 474.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3086, allocations: 7.984 kB / 474.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.3088, allocations: 218 kB / 474.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3088, allocations: 1.031 kB / 474.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.309, allocations: 19.98 kB / 474.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.309, allocations: 3.938 kB / 474.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.309, allocations: 4 kB / 474.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.309, allocations: 0 / 474.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.309, allocations: 0 / 474.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003743/0.3094, allocations: 246.1 kB / 475.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.3095, allocations: 104.9 kB / 475.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.3096, allocations: 8.047 kB / 475.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3098, allocations: 19.98 kB / 475.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.3098, allocations: 8.172 kB / 475.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3098, allocations: 4.5 kB / 475.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001354/0.31, allocations: 165.4 kB / 475.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004284/0.3104, allocations: 107.7 kB / 475.6 MB, free: 13.86 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]) * 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.0008368/0.3113, allocations: 333.2 kB / 475.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.3116, allocations: 181.8 kB / 476.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3116, allocations: 4 kB / 476.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.3117, allocations: 59.92 kB / 476.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.3119, allocations: 14.92 kB / 476.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.3125, allocations: 260.6 kB / 476.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.3128, allocations: 0.7544 MB / 477.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3128, allocations: 0 / 477.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of Templates: time 0.006458/0.3193, allocations: 3.328 MB / 480.5 MB, free: 8.945 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