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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 109.2 kB / 17.17 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.118/2.118, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 48.23 kB / 300.6 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1757, allocations: 49.44 MB / 350.1 MB, free: 4.879 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.004923/0.1807, allocations: 1.708 MB / 351.8 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.1842, allocations: 1.24 MB / 353 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.1844, allocations: 4 kB / 353 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.1849, allocations: 27.83 kB / 353 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.1852, allocations: 35.83 kB / 353.1 MB, free: 1.836 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.00117/0.1864, allocations: 231.5 kB / 353.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.1868, allocations: 175.5 kB / 353.5 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.187, allocations: 17.11 kB / 353.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.1873, allocations: 67.75 kB / 353.6 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.1885, allocations: 107.1 kB / 353.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.541e-05/0.1886, allocations: 11.94 kB / 353.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.1897, allocations: 283.5 kB / 353.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1899, allocations: 47.81 kB / 354 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.1901, allocations: 71.52 kB / 354.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005657/0.1907, allocations: 231.8 kB / 354.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1907, allocations: 3.938 kB / 354.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1907, allocations: 0 / 354.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1907, allocations: 0 / 354.3 MB, free: 0.6172 MB / 286.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.00183/0.1925, allocations: 0.5493 MB / 354.8 MB, free: 20 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1926, allocations: 8.031 kB / 354.9 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.193, allocations: 28.91 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.1937, allocations: 276.8 kB / 355.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1938, allocations: 7.938 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.1938, allocations: 8 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.1942, allocations: 109.5 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1942, allocations: 3.906 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.1943, allocations: 4 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1943, allocations: 0 / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.1946, allocations: 87.81 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.1959, allocations: 440.6 kB / 355.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.1964, allocations: 122.5 kB / 355.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.1966, allocations: 60.95 kB / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1966, allocations: 0 / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003432/0.197, allocations: 119.3 kB / 356.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.946e-06/0.197, allocations: 3.938 kB / 356.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007986/0.1978, allocations: 236.6 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.1979, allocations: 59.39 kB / 356.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.1986, allocations: 256.7 kB / 356.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.1986, allocations: 37.7 kB / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1988, allocations: 108.3 kB / 356.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.1989, allocations: 51.3 kB / 356.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.199, allocations: 41.7 kB / 356.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.1992, allocations: 334.8 kB / 357.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.1995, allocations: 83.95 kB / 357.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.1998, allocations: 109.6 kB / 357.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.2004, allocations: 181.5 kB / 357.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2004, allocations: 0 / 357.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006997/0.2011, allocations: 261.4 kB / 357.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.2011, allocations: 4 kB / 357.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.2011, allocations: 4.031 kB / 357.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.2012, allocations: 4 kB / 357.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.2015, allocations: 27.98 kB / 357.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.2015, allocations: 4 kB / 357.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.2018, allocations: 23.88 kB / 357.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.2018, allocations: 8 kB / 357.9 MB, free: 12.78 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.000205/0.202, allocations: 145.7 kB / 358 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.2021, allocations: 15.75 kB / 358 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.682e-05/0.2022, allocations: 21.52 kB / 358.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2022, allocations: 4 kB / 358.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.2022, allocations: 3.938 kB / 358.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2022, allocations: 0 / 358.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.2026, allocations: 245.5 kB / 358.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2026, allocations: 0 / 358.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.2028, allocations: 23.92 kB / 358.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2028, allocations: 4.031 kB / 358.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.2028, allocations: 7.938 kB / 358.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2028, allocations: 4 kB / 358.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2029, allocations: 0 / 358.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.2035, allocations: 276.8 kB / 358.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.2037, allocations: 112.8 kB / 358.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.2038, allocations: 7.984 kB / 358.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.204, allocations: 12.05 kB / 358.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.2041, allocations: 19.98 kB / 358.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2041, allocations: 3.938 kB / 358.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004641/0.2046, allocations: 192.4 kB / 359 MB, free: 11.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2046, allocations: 0 / 359 MB, free: 11.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005877/0.2052, allocations: 83.98 kB / 359 MB, free: 11.52 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.0008533/0.2061, allocations: 253.6 kB / 359.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005072/0.2066, allocations: 163.9 kB / 359.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2066, allocations: 4.062 kB / 359.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.2068, allocations: 71.89 kB / 359.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2072, allocations: 19.94 kB / 359.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2082, allocations: 417.8 kB / 360 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.2086, allocations: 0.7283 MB / 360.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-05/0.2087, allocations: 23.42 kB / 360.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2087, allocations: 0 / 360.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of Templates: time 0.009172/0.2179, allocations: 3.487 MB / 364.2 MB, free: 6.34 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches