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") [: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 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 183.7 kB / 8.48 MB, free: 1.891 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.2 MB / 214.1 MB, free: 5.18 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 79.41 kB / 262.1 MB, free: 5.219 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.556e-06, allocations: 4 kB / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08629/0.08631, allocations: 47.57 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2765/0.3628, allocations: 77.56 MB / 440.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.3631, allocations: 72.92 kB / 440.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01909/0.3822, allocations: 5.933 MB / 446.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3823, allocations: 7.875 kB / 446.1 MB, free: 10.11 MB / 314.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.0008365/0.3831, allocations: 0.489 MB / 446.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3832, allocations: 7.75 kB / 446.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.3834, allocations: 31.08 kB / 446.6 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.3838, allocations: 254.5 kB / 446.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3838, allocations: 0 / 446.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.3838, allocations: 10.53 kB / 446.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001488/0.384, allocations: 71.45 kB / 447 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3841, allocations: 92.05 kB / 447.1 MB, free: 9.344 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3842, allocations: 0 / 447.1 MB, free: 9.344 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3842, allocations: 4 kB / 447.1 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3842, allocations: 0 / 447.1 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.3848, allocations: 389.9 kB / 447.4 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.3849, allocations: 100.3 kB / 447.5 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.607e-05/0.385, allocations: 52.84 kB / 447.6 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.3851, allocations: 0 / 447.6 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.3852, allocations: 109.2 kB / 447.7 MB, free: 8.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.3852, allocations: 0 / 447.7 MB, free: 8.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003323/0.3855, allocations: 153.9 kB / 447.8 MB, free: 8.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.3856, allocations: 63.27 kB / 447.9 MB, free: 8.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3858, allocations: 192.9 kB / 448.1 MB, free: 8.691 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.3858, allocations: 40.36 kB / 448.1 MB, free: 8.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.3859, allocations: 99.61 kB / 448.2 MB, free: 8.566 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.3859, allocations: 43.03 kB / 448.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.3859, allocations: 0 / 448.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.478e-05/0.386, allocations: 329.2 kB / 448.6 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.3861, allocations: 74.28 kB / 448.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.3862, allocations: 94.97 kB / 448.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3865, allocations: 97.64 kB / 448.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3865, allocations: 0 / 448.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003726/0.3868, allocations: 230 kB / 449.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3869, allocations: 7.75 kB / 449.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.3869, allocations: 0 / 449.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3869, allocations: 3.906 kB / 449.1 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.3871, allocations: 31 kB / 449.1 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3871, allocations: 3.938 kB / 449.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.3873, allocations: 31.36 kB / 449.2 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.3874, allocations: 10.44 kB / 449.2 MB, free: 8.051 MB / 314.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 8.115e-05/0.3874, allocations: 113.3 kB / 449.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3875, allocations: 19.55 kB / 449.3 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.3875, allocations: 26.89 kB / 449.3 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3876, allocations: 0 / 449.3 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3876, allocations: 4 kB / 449.3 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3876, allocations: 0 / 449.3 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.3878, allocations: 217.4 kB / 449.5 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3878, allocations: 0 / 449.5 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.3879, allocations: 19.44 kB / 449.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3879, allocations: 7.797 kB / 449.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3879, allocations: 0 / 449.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3879, allocations: 0 / 449.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3879, allocations: 0 / 449.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003157/0.3883, allocations: 244.2 kB / 449.8 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.3884, allocations: 107.8 kB / 449.9 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.3884, allocations: 7.828 kB / 449.9 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3886, allocations: 18.67 kB / 449.9 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.3887, allocations: 7.859 kB / 449.9 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3887, allocations: 3.938 kB / 450 MB, free: 7.488 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001115/0.3888, allocations: 161.3 kB / 450.1 MB, free: 7.402 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005754/0.3894, allocations: 115.3 kB / 450.2 MB, free: 7.363 MB / 314.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.0008591/0.3902, allocations: 331.7 kB / 450.5 MB, free: 7.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003139/0.3906, allocations: 187.5 kB / 450.7 MB, free: 7.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3906, allocations: 3.938 kB / 450.7 MB, free: 7.102 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.492e-05/0.3907, allocations: 62.52 kB / 450.8 MB, free: 7.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.3909, allocations: 13.94 kB / 450.8 MB, free: 7.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.3915, allocations: 254.5 kB / 451.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.3917, allocations: 0.7552 MB / 451.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3918, allocations: 0 / 451.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of Templates: time 0.006565/0.3983, allocations: 3.364 MB / 455.2 MB, free: 4.523 MB / 314.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