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.001465/0.001465, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.44/1.44, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0009054/0.0009054, allocations: 90.98 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.977e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1546, allocations: 50.42 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.366/0.5206, allocations: 78.57 MB / 466 MB, free: 300 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.521, allocations: 71.97 kB / 466.1 MB, free: 228 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01969/0.5407, allocations: 6.341 MB / 472.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5407, allocations: 0 / 472.4 MB, free: 9.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.5408, allocations: 4 kB / 472.4 MB, free: 9.871 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.0008701/0.5417, allocations: 498.9 kB / 472.9 MB, free: 9.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.5417, allocations: 8.031 kB / 472.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.542, allocations: 31.7 kB / 473 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.5423, allocations: 243.7 kB / 473.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.5423, allocations: 7.984 kB / 473.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.5424, allocations: 4 kB / 473.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001474/0.5425, allocations: 63.97 kB / 473.3 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.5427, allocations: 91.59 kB / 473.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.5427, allocations: 4 kB / 473.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.5427, allocations: 3.953 kB / 473.4 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5427, allocations: 4 kB / 473.4 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007232/0.5435, allocations: 413 kB / 473.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.5437, allocations: 110.5 kB / 473.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.5438, allocations: 48.84 kB / 473.9 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.5438, allocations: 4 kB / 473.9 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.544, allocations: 107.3 kB / 474 MB, free: 8.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.544, allocations: 0 / 474 MB, free: 8.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003345/0.5443, allocations: 169.6 kB / 474.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.5444, allocations: 55.41 kB / 474.3 MB, free: 7.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.5446, allocations: 206.9 kB / 474.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.5446, allocations: 33.69 kB / 474.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.5447, allocations: 116.9 kB / 474.6 MB, free: 7.504 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.5448, allocations: 35.59 kB / 474.6 MB, free: 7.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.5448, allocations: 4 kB / 474.7 MB, free: 7.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5449, allocations: 326.8 kB / 475 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.545, allocations: 67.97 kB / 475 MB, free: 7.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.5452, allocations: 96.23 kB / 475.1 MB, free: 6.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.5454, allocations: 88.08 kB / 475.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5454, allocations: 0 / 475.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003785/0.5458, allocations: 218.3 kB / 475.4 MB, free: 6.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.5458, allocations: 13.19 kB / 475.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.5458, allocations: 0 / 475.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.5459, allocations: 3.953 kB / 475.4 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.546, allocations: 39.91 kB / 475.5 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5461, allocations: 0 / 475.5 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.5463, allocations: 31.84 kB / 475.5 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.5463, allocations: 8 kB / 475.5 MB, free: 6.57 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 0.000112/0.5464, allocations: 116.9 kB / 475.6 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.5465, allocations: 15.75 kB / 475.7 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.5465, allocations: 21.95 kB / 475.7 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5465, allocations: 4 kB / 475.7 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5465, allocations: 3.953 kB / 475.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5466, allocations: 4 kB / 475.7 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.5468, allocations: 214 kB / 475.9 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5468, allocations: 0 / 475.9 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.5469, allocations: 19.98 kB / 475.9 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.279e-06/0.5469, allocations: 4 kB / 475.9 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.547, allocations: 0 / 475.9 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.547, allocations: 4 kB / 475.9 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.547, allocations: 3.984 kB / 475.9 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.5475, allocations: 266.4 kB / 476.2 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.5476, allocations: 104.9 kB / 476.3 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.5477, allocations: 7.984 kB / 476.3 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.5478, allocations: 19.97 kB / 476.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.5479, allocations: 11.97 kB / 476.3 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.5479, allocations: 8 kB / 476.3 MB, free: 5.676 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.5481, allocations: 153.5 kB / 476.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.264e-06/0.5481, allocations: 4 kB / 476.5 MB, free: 5.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005328/0.5487, allocations: 107.9 kB / 476.6 MB, free: 5.418 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.0008425/0.5495, allocations: 310.7 kB / 476.9 MB, free: 5.133 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.5499, allocations: 176.4 kB / 477.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5499, allocations: 0 / 477.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.55, allocations: 59.91 kB / 477.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.5502, allocations: 16.06 kB / 477.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.5507, allocations: 257.4 kB / 477.4 MB, free: 4.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.5511, allocations: 0.7319 MB / 478.1 MB, free: 3.848 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.5512, allocations: 37.17 kB / 478.2 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.5512, allocations: 19.38 kB / 478.2 MB, free: 3.793 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5512, allocations: 0 / 478.2 MB, free: 3.793 MB / 346.7 MB Notification: Performance of Templates: time 0.006224/0.5575, allocations: 2.915 MB / 481.1 MB, free: 0.8828 MB / 346.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