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.001336/0.001336, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.345/1.345, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0008628/0.0008627, allocations: 98.11 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.353e-05, allocations: 4 kB / 343.8 MB, free: 4.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 50.41 MB / 394.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/0.4157, allocations: 79.23 MB / 473.5 MB, free: 8.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.416, allocations: 83.72 kB / 473.5 MB, free: 8.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01934/0.4353, allocations: 6.364 MB / 479.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4354, allocations: 0 / 479.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.4354, allocations: 4 kB / 479.9 MB, free: 1.934 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.0008095/0.4362, allocations: 494.7 kB / 480.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4363, allocations: 12.03 kB / 480.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.4365, allocations: 31.7 kB / 480.4 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.4369, allocations: 251.7 kB / 480.7 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.4369, allocations: 4 kB / 480.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.437, allocations: 8 kB / 480.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.4372, allocations: 93.64 kB / 480.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4372, allocations: 0 / 480.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.4372, allocations: 4 kB / 480.8 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4372, allocations: 3.953 kB / 480.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.4374, allocations: 78.34 kB / 480.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007914/0.4382, allocations: 444.5 kB / 481.3 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.4384, allocations: 118.5 kB / 481.4 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.79e-05/0.4385, allocations: 56.97 kB / 481.5 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.4385, allocations: 0 / 481.5 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.4387, allocations: 115.3 kB / 481.6 MB, free: 92 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.4387, allocations: 0 / 481.6 MB, free: 92 kB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003489/0.4391, allocations: 169.7 kB / 481.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.4392, allocations: 59.39 kB / 481.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.4394, allocations: 206.9 kB / 482 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.4394, allocations: 45.69 kB / 482.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.4395, allocations: 112.1 kB / 482.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.4395, allocations: 43.58 kB / 482.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.4396, allocations: 4 kB / 482.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4397, allocations: 330.8 kB / 482.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4398, allocations: 71.97 kB / 482.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.44, allocations: 97.8 kB / 482.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.4401, allocations: 84.14 kB / 482.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4401, allocations: 0 / 482.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003521/0.4405, allocations: 234.1 kB / 483 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4405, allocations: 11.78 kB / 483 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.4405, allocations: 4 kB / 483 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4405, allocations: 0 / 483 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4407, allocations: 39.91 kB / 483.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4407, allocations: 0 / 483.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.4409, allocations: 31.86 kB / 483.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.441, allocations: 11.98 kB / 483.1 MB, free: 14.5 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.152e-05/0.4411, allocations: 117 kB / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.4411, allocations: 15.81 kB / 483.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.4412, allocations: 21.61 kB / 483.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4412, allocations: 3.984 kB / 483.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4412, allocations: 0 / 483.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4412, allocations: 0 / 483.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.4414, allocations: 245.5 kB / 483.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4415, allocations: 3.938 kB / 483.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.4416, allocations: 19.98 kB / 483.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4416, allocations: 96 / 483.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.4416, allocations: 3.938 kB / 483.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4416, allocations: 3.953 kB / 483.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4416, allocations: 0 / 483.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.4421, allocations: 269.6 kB / 483.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4422, allocations: 113 kB / 483.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.4422, allocations: 8 kB / 483.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.4424, allocations: 19.97 kB / 483.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.4425, allocations: 11.94 kB / 484 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4425, allocations: 3.938 kB / 484 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.4426, allocations: 165.5 kB / 484.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4426, allocations: 0 / 484.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000415/0.4431, allocations: 107.8 kB / 484.2 MB, free: 13.3 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.0007294/0.4438, allocations: 308.8 kB / 484.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.4441, allocations: 197.9 kB / 484.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4441, allocations: 0 / 484.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.4442, allocations: 55.98 kB / 484.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.4444, allocations: 16.69 kB / 484.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.445, allocations: 258.5 kB / 485 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.4452, allocations: 0.7321 MB / 485.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.833e-05/0.4453, allocations: 29.19 kB / 485.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.4454, allocations: 19.44 kB / 485.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4454, allocations: 3.938 kB / 485.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of Templates: time 0.006205/0.4516, allocations: 3.07 MB / 488.9 MB, free: 8.613 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