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.001453/0.001454, allocations: 110.4 kB / 17.06 MB, free: 6.023 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.001231/0.001231, allocations: 191 kB / 18 MB, free: 5.105 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.493/1.493, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001613, allocations: 51.91 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.392, allocations: 49.43 MB / 400.7 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002985/0.395, allocations: 1.65 MB / 402.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.3975, allocations: 1.191 MB / 403.6 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3976, allocations: 0 / 403.6 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004673/0.3981, allocations: 35.78 kB / 403.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.3982, allocations: 43.7 kB / 403.6 MB, free: 5.98 MB / 318.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.0008155/0.3991, allocations: 287.1 kB / 403.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.3994, allocations: 187.5 kB / 404.1 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3995, allocations: 21.09 kB / 404.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.3997, allocations: 83.73 kB / 404.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.4003, allocations: 95.64 kB / 404.3 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.4004, allocations: 12 kB / 404.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.4008, allocations: 271.5 kB / 404.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.4009, allocations: 51.83 kB / 404.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.816e-05/0.401, allocations: 75.56 kB / 404.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.4016, allocations: 324.6 kB / 405 MB, free: 4.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.4016, allocations: 0 / 405 MB, free: 4.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4016, allocations: 0 / 405 MB, free: 4.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4016, allocations: 0 / 405 MB, free: 4.602 MB / 318.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.001388/0.403, allocations: 0.5607 MB / 405.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4031, allocations: 11.89 kB / 405.6 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.4033, allocations: 24.75 kB / 405.6 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.4039, allocations: 284.5 kB / 405.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.4039, allocations: 8 kB / 405.9 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.4039, allocations: 4 kB / 405.9 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.4042, allocations: 101.6 kB / 406 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4042, allocations: 0 / 406 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.4042, allocations: 4 kB / 406 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4042, allocations: 0 / 406 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.4045, allocations: 87.88 kB / 406.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.4053, allocations: 448.5 kB / 406.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.4056, allocations: 118.5 kB / 406.7 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.4057, allocations: 64.83 kB / 406.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.4057, allocations: 96 / 406.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.4059, allocations: 118.8 kB / 406.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.406, allocations: 0 / 406.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.000472/0.4064, allocations: 229.3 kB / 407.1 MB, free: 2.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.4065, allocations: 67.34 kB / 407.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.4069, allocations: 248.7 kB / 407.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.407, allocations: 37.8 kB / 407.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.4071, allocations: 112.1 kB / 407.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.4072, allocations: 51.52 kB / 407.6 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.4072, allocations: 41.7 kB / 407.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4074, allocations: 338.8 kB / 407.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.4076, allocations: 79.95 kB / 408 MB, free: 1.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.4077, allocations: 105.7 kB / 408.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.4081, allocations: 185.7 kB / 408.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4081, allocations: 0 / 408.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004115/0.4085, allocations: 262.9 kB / 408.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4085, allocations: 6.344 kB / 408.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4085, allocations: 0 / 408.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.4086, allocations: 4 kB / 408.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.4088, allocations: 27.92 kB / 408.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4088, allocations: 7.984 kB / 408.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.409, allocations: 39.81 kB / 408.6 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.409, allocations: 4 kB / 408.6 MB, free: 0.7539 MB / 318.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.0001462/0.4091, allocations: 141.8 kB / 408.8 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.4092, allocations: 19.75 kB / 408.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.4093, allocations: 21.52 kB / 408.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4093, allocations: 4 kB / 408.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4093, allocations: 0 / 408.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4093, allocations: 0 / 408.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.4095, allocations: 249.6 kB / 409.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4096, allocations: 3.938 kB / 409.1 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.4097, allocations: 15.98 kB / 409.1 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4097, allocations: 4 kB / 409.1 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.4097, allocations: 0 / 409.1 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4097, allocations: 4 kB / 409.1 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4097, allocations: 0 / 409.1 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.4102, allocations: 284.7 kB / 409.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/0.4103, allocations: 108.8 kB / 409.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.4104, allocations: 4 kB / 409.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.4105, allocations: 20.03 kB / 409.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.4106, allocations: 11.98 kB / 409.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4106, allocations: 4 kB / 409.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002944/0.4109, allocations: 188.4 kB / 409.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4109, allocations: 0 / 409.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.4113, allocations: 83.98 kB / 409.8 MB, free: 15.5 MB / 334.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.0006856/0.412, allocations: 261.3 kB / 410 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.4124, allocations: 175.8 kB / 410.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4125, allocations: 3.938 kB / 410.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.4126, allocations: 67.97 kB / 410.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.4129, allocations: 22.89 kB / 410.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/0.4137, allocations: 350.3 kB / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.4141, allocations: 0.7319 MB / 411.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.631e-05/0.4142, allocations: 29.41 kB / 411.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.4143, allocations: 19.42 kB / 411.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4143, allocations: 0 / 411.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Templates: time 0.007169/0.4214, allocations: 3.004 MB / 414.4 MB, free: 10.84 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/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