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.001248/0.001248, allocations: 175.2 kB / 17.4 MB, free: 4.395 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.569/1.569, allocations: 223.3 MB / 241.4 MB, free: 9.863 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.0008052/0.0008051, allocations: 93.02 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.000427, allocations: 8 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2826, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.4163, allocations: 79.36 MB / 482.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.4167, allocations: 75.97 kB / 482.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02729/0.444, allocations: 6.395 MB / 488.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.799e-06/0.444, allocations: 0 / 488.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.4441, allocations: 7.938 kB / 488.6 MB, free: 10.48 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.001347/0.4454, allocations: 0.5381 MB / 489.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4455, allocations: 12.03 kB / 489.1 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.4458, allocations: 28.64 kB / 489.2 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006014/0.4464, allocations: 288.7 kB / 489.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.4464, allocations: 8.375 kB / 489.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.4465, allocations: 12.38 kB / 489.5 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.4468, allocations: 98.19 kB / 489.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4468, allocations: 192 / 489.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.4468, allocations: 7.938 kB / 489.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4468, allocations: 4 kB / 489.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.4471, allocations: 87.88 kB / 489.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009965/0.4481, allocations: 440.5 kB / 490.1 MB, free: 8.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.4485, allocations: 130.5 kB / 490.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.4487, allocations: 56.83 kB / 490.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.4487, allocations: 4.031 kB / 490.3 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.449, allocations: 120.2 kB / 490.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.907e-06/0.449, allocations: 0 / 490.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007055/0.4497, allocations: 244.7 kB / 490.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.4498, allocations: 59.39 kB / 490.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.4504, allocations: 247.8 kB / 490.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.4504, allocations: 33.7 kB / 491 MB, free: 7.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4505, allocations: 124 kB / 491.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.4506, allocations: 43.59 kB / 491.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.4506, allocations: 0 / 491.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4508, allocations: 330.8 kB / 491.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.451, allocations: 79.95 kB / 491.5 MB, free: 7.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.4513, allocations: 112.4 kB / 491.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/0.4518, allocations: 179 kB / 491.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4518, allocations: 0 / 491.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006555/0.4524, allocations: 253.5 kB / 492.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4525, allocations: 4 kB / 492.1 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.4525, allocations: 4 kB / 492.1 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4525, allocations: 96 / 492.1 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.4528, allocations: 35.86 kB / 492.1 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4528, allocations: 3.938 kB / 492.1 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.4531, allocations: 31.81 kB / 492.1 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.4531, allocations: 8 kB / 492.1 MB, free: 6.688 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.000183/0.4533, allocations: 149.9 kB / 492.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.4534, allocations: 19.7 kB / 492.3 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.4535, allocations: 21.53 kB / 492.3 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4535, allocations: 0 / 492.3 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4535, allocations: 3.938 kB / 492.3 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4535, allocations: 0 / 492.3 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.4538, allocations: 245.5 kB / 492.6 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4538, allocations: 0 / 492.6 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.454, allocations: 19.98 kB / 492.6 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.454, allocations: 0 / 492.6 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.4541, allocations: 7.984 kB / 492.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4541, allocations: 0 / 492.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4541, allocations: 3.938 kB / 492.6 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.4548, allocations: 280.9 kB / 492.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.455, allocations: 112.8 kB / 493 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.455, allocations: 11.98 kB / 493 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.4553, allocations: 23.92 kB / 493 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.4554, allocations: 15.92 kB / 493 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.4554, allocations: 4 kB / 493 MB, free: 5.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004312/0.4558, allocations: 188.2 kB / 493.2 MB, free: 5.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4558, allocations: 0 / 493.2 MB, free: 5.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007147/0.4566, allocations: 107.9 kB / 493.3 MB, free: 5.402 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.001036/0.4576, allocations: 312.8 kB / 493.6 MB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.4582, allocations: 205.5 kB / 493.8 MB, free: 4.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4582, allocations: 4.062 kB / 493.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.4584, allocations: 71.89 kB / 493.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.4587, allocations: 12 kB / 493.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009174/0.4597, allocations: 400.5 kB / 494.3 MB, free: 4.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.46, allocations: 0.7322 MB / 495 MB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.4602, allocations: 33.39 kB / 495.1 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.4603, allocations: 15.44 kB / 495.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4603, allocations: 0 / 495.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of Templates: time 0.009461/0.4698, allocations: 3.135 MB / 498.2 MB, free: 496 kB / 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/jenkins1/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