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.0008626/0.0008625, allocations: 94.02 kB / 17.31 MB, free: 6.535 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.001084/0.001084, allocations: 175.8 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.0002256, allocations: 15.94 kB / 302.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07361/0.07385, allocations: 50.4 MB / 352.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001565/0.07545, allocations: 1.375 MB / 353.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.0773, allocations: 1.213 MB / 355.1 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.07739, allocations: 0 / 355.1 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.07766, allocations: 27.84 kB / 355.1 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.07777, allocations: 35.83 kB / 355.1 MB, free: 1.031 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.0005868/0.07837, allocations: 231.5 kB / 355.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.07858, allocations: 171.6 kB / 355.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.537e-05/0.07866, allocations: 21.06 kB / 355.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.0788, allocations: 71.73 kB / 355.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005171/0.07933, allocations: 95.62 kB / 355.7 MB, free: 464 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.07937, allocations: 11.94 kB / 355.7 MB, free: 452 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.0798, allocations: 287.4 kB / 356 MB, free: 164 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.07989, allocations: 51.81 kB / 356.1 MB, free: 112 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.869e-05/0.07998, allocations: 85.3 kB / 356.1 MB, free: 20 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.08028, allocations: 231.9 kB / 356.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.0803, allocations: 0 / 356.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.0803, allocations: 0 / 356.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.08031, allocations: 3.938 kB / 356.4 MB, free: 15.79 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.001031/0.08135, allocations: 0.5222 MB / 356.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.08139, allocations: 12.03 kB / 356.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.08159, allocations: 32.67 kB / 356.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.08203, allocations: 276.6 kB / 357.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.08206, allocations: 7.938 kB / 357.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.08209, allocations: 15.98 kB / 357.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.08231, allocations: 108.6 kB / 357.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.08233, allocations: 0 / 357.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.08235, allocations: 0 / 357.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.08236, allocations: 0 / 357.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.08256, allocations: 87.88 kB / 357.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000777/0.08334, allocations: 448.5 kB / 357.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.08362, allocations: 126.5 kB / 358 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.08375, allocations: 60.81 kB / 358 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.08377, allocations: 8.031 kB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.08399, allocations: 130.7 kB / 358.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.084, allocations: 0 / 358.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004744/0.08448, allocations: 233.4 kB / 358.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.08453, allocations: 67.33 kB / 358.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.08494, allocations: 252.6 kB / 358.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.08498, allocations: 37.7 kB / 358.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.08506, allocations: 116.2 kB / 358.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.08511, allocations: 47.39 kB / 358.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.08516, allocations: 25.72 kB / 358.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.08526, allocations: 330.8 kB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.08543, allocations: 83.95 kB / 359.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.08561, allocations: 108.9 kB / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.08592, allocations: 193.4 kB / 359.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.08593, allocations: 96 / 359.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004371/0.08638, allocations: 269.3 kB / 359.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.0864, allocations: 8 kB / 359.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.08641, allocations: 0 / 359.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.08643, allocations: 4.031 kB / 359.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.08661, allocations: 31.92 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.08663, allocations: 0 / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.08683, allocations: 31.88 kB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.08686, allocations: 4 kB / 360 MB, free: 11.94 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.0001129/0.08698, allocations: 145.7 kB / 360.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.08702, allocations: 19.75 kB / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.08707, allocations: 25.52 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.08708, allocations: 0 / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.08709, allocations: 0 / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.0871, allocations: 0 / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.08731, allocations: 241.5 kB / 360.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.08732, allocations: 0 / 360.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.08745, allocations: 23.92 kB / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.08746, allocations: 0 / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.08749, allocations: 4 kB / 360.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.0875, allocations: 4 kB / 360.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.08751, allocations: 0 / 360.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.08799, allocations: 288.7 kB / 360.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/0.08809, allocations: 112.8 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.08813, allocations: 11.98 kB / 360.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.08833, allocations: 20.05 kB / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.08838, allocations: 7.984 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.08839, allocations: 0 / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003317/0.08873, allocations: 196.4 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.08874, allocations: 0 / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.08907, allocations: 83.98 kB / 361.1 MB, free: 10.69 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.0005307/0.08961, allocations: 251.9 kB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.08997, allocations: 183 kB / 361.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.08999, allocations: 0 / 361.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.09013, allocations: 67.95 kB / 361.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.09036, allocations: 18.69 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.091, allocations: 458.3 kB / 362.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.09125, allocations: 0.7283 MB / 362.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.09132, allocations: 15.44 kB / 362.8 MB, free: 8.957 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09133, allocations: 0 / 362.8 MB, free: 8.957 MB / 302.1 MB Notification: Performance of Templates: time 0.005336/0.09667, allocations: 3.454 MB / 366.3 MB, free: 5.5 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