Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 64.36 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1593, allocations: 50.52 MB / 358.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00428/0.1636, allocations: 1.664 MB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.1664, allocations: 1.253 MB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1666, allocations: 0 / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.167, allocations: 27.78 kB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1672, allocations: 43.77 kB / 361.9 MB, free: 10.38 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0009703/0.1682, allocations: 295.1 kB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.1685, allocations: 175.6 kB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1686, allocations: 21.05 kB / 362.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.1689, allocations: 91.61 kB / 362.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007256/0.1696, allocations: 99.64 kB / 362.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.1697, allocations: 12 kB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005242/0.1702, allocations: 271.5 kB / 362.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1703, allocations: 55.88 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1704, allocations: 71.59 kB / 363 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.1711, allocations: 327 kB / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1711, allocations: 0 / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1711, allocations: 0 / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1711, allocations: 0 / 363.3 MB, free: 8.984 MB / 302.1 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.001518/0.1726, allocations: 0.5532 MB / 363.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1727, allocations: 12.03 kB / 363.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.173, allocations: 32.64 kB / 363.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.1735, allocations: 272.7 kB / 364.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1735, allocations: 8.375 kB / 364.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1736, allocations: 20.12 kB / 364.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1738, allocations: 101.6 kB / 364.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1738, allocations: 0 / 364.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1738, allocations: 3.984 kB / 364.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1738, allocations: 7.938 kB / 364.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1741, allocations: 79.88 kB / 364.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008854/0.175, allocations: 460.5 kB / 364.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1752, allocations: 118.5 kB / 364.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1754, allocations: 56.83 kB / 365 MB, free: 7.125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1754, allocations: 4 kB / 365 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1756, allocations: 123.4 kB / 365.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.1756, allocations: 0 / 365.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005013/0.1761, allocations: 229.5 kB / 365.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.1762, allocations: 63.39 kB / 365.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.1766, allocations: 243.8 kB / 365.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.1767, allocations: 37.7 kB / 365.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.1768, allocations: 116.2 kB / 365.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.1768, allocations: 51.38 kB / 365.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/0.1769, allocations: 45.69 kB / 365.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1771, allocations: 334.8 kB / 366.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.1772, allocations: 83.94 kB / 366.3 MB, free: 5.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.1774, allocations: 102.8 kB / 366.4 MB, free: 5.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.1777, allocations: 186.5 kB / 366.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1777, allocations: 0 / 366.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004337/0.1782, allocations: 253.3 kB / 366.8 MB, free: 5.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1782, allocations: 4 kB / 366.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.1782, allocations: 3.938 kB / 366.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1782, allocations: 3.938 kB / 366.8 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.1784, allocations: 43.94 kB / 366.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1784, allocations: 0 / 366.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.1786, allocations: 19.89 kB / 366.9 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.1787, allocations: 15.98 kB / 366.9 MB, free: 5.117 MB / 302.1 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,globalSeed.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.1788, allocations: 137.7 kB / 367 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1789, allocations: 15.81 kB / 367 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.1789, allocations: 25.47 kB / 367.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1789, allocations: 4 kB / 367.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.1789, allocations: 4 kB / 367.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.179, allocations: 0 / 367.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1792, allocations: 237.5 kB / 367.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1792, allocations: 4 kB / 367.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.1793, allocations: 15.98 kB / 367.3 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1794, allocations: 0 / 367.3 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1794, allocations: 3.938 kB / 367.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1794, allocations: 4.078 kB / 367.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1794, allocations: 3.938 kB / 367.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.1799, allocations: 280 kB / 367.6 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/0.18, allocations: 112.9 kB / 367.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.18, allocations: 11.92 kB / 367.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.1802, allocations: 15.97 kB / 367.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.1803, allocations: 8 kB / 367.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1803, allocations: 7.984 kB / 367.8 MB, free: 4.156 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000335/0.1806, allocations: 184.2 kB / 367.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1806, allocations: 0 / 367.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004229/0.1811, allocations: 91.89 kB / 368 MB, free: 3.887 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006677/0.1818, allocations: 263 kB / 368.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1822, allocations: 175.4 kB / 368.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1822, allocations: 3.938 kB / 368.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1823, allocations: 63.95 kB / 368.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.1826, allocations: 26.55 kB / 368.6 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.1833, allocations: 341.8 kB / 368.9 MB, free: 3.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1836, allocations: 0.7241 MB / 369.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1838, allocations: 37.39 kB / 369.6 MB, free: 2.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.1838, allocations: 19.62 kB / 369.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1838, allocations: 0 / 369.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of Templates: time 0.2033/0.3871, allocations: 3 MB / 372.7 MB, free: 19.57 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches