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.001092/0.001092, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001078/0.001078, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.332/1.332, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 52.39 kB / 301.3 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.0951, allocations: 49.45 MB / 350.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003309/0.09845, allocations: 1.63 MB / 352.4 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.1006, allocations: 1.198 MB / 353.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1008, allocations: 4 kB / 353.6 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.1011, allocations: 35.77 kB / 353.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1013, allocations: 39.77 kB / 353.6 MB, free: 1.508 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.000883/0.1022, allocations: 295.1 kB / 353.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1025, allocations: 179.6 kB / 354.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1026, allocations: 13.11 kB / 354.1 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1027, allocations: 83.73 kB / 354.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006159/0.1034, allocations: 118.6 kB / 354.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.1034, allocations: 12 kB / 354.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.1039, allocations: 267.6 kB / 354.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.104, allocations: 59.7 kB / 354.6 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.98e-05/0.1041, allocations: 71.58 kB / 354.7 MB, free: 444 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.1046, allocations: 319.4 kB / 355 MB, free: 124 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1046, allocations: 4 kB / 355 MB, free: 120 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1046, allocations: 0 / 355 MB, free: 120 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1046, allocations: 0 / 355 MB, free: 120 kB / 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.001134/0.1057, allocations: 0.5493 MB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1058, allocations: 11.89 kB / 355.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.106, allocations: 32.72 kB / 355.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.1064, allocations: 268.8 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1065, allocations: 7.938 kB / 355.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.1065, allocations: 23.89 kB / 355.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1067, allocations: 105.5 kB / 356 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1068, allocations: 0 / 356 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1068, allocations: 4 kB / 356 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1068, allocations: 0 / 356 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.107, allocations: 75.94 kB / 356.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008289/0.1078, allocations: 448.6 kB / 356.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.1081, allocations: 126.4 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1082, allocations: 59.2 kB / 356.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1083, allocations: 0 / 356.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.1085, allocations: 123.2 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/0.1085, allocations: 0 / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004803/0.109, allocations: 229.6 kB / 357.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.109, allocations: 59.39 kB / 357.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.1094, allocations: 248.7 kB / 357.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.1095, allocations: 41.69 kB / 357.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.1096, allocations: 116.3 kB / 357.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.1096, allocations: 47.28 kB / 357.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.1097, allocations: 49.7 kB / 357.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1098, allocations: 326.8 kB / 357.9 MB, free: 13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.11, allocations: 83.94 kB / 358 MB, free: 12.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.1101, allocations: 109.7 kB / 358.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.1104, allocations: 181.4 kB / 358.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1104, allocations: 4 kB / 358.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004161/0.1109, allocations: 261.3 kB / 358.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1109, allocations: 4.094 kB / 358.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1109, allocations: 7.938 kB / 358.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1109, allocations: 0 / 358.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.1111, allocations: 36 kB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1111, allocations: 0 / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1113, allocations: 27.88 kB / 358.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1113, allocations: 4 kB / 358.6 MB, free: 12.27 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.0001263/0.1115, allocations: 145.7 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.1115, allocations: 23.73 kB / 358.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.1116, allocations: 17.53 kB / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1116, allocations: 4 kB / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1116, allocations: 0 / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1116, allocations: 3.984 kB / 358.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1118, allocations: 241.5 kB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1118, allocations: 0 / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.112, allocations: 19.92 kB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.112, allocations: 0 / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.112, allocations: 7.984 kB / 359.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.112, allocations: 3.938 kB / 359.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.112, allocations: 0 / 359.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.1125, allocations: 272.8 kB / 359.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-05/0.1126, allocations: 116.8 kB / 359.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.1126, allocations: 8 kB / 359.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.1128, allocations: 19.97 kB / 359.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.1129, allocations: 7.984 kB / 359.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1129, allocations: 4 kB / 359.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003174/0.1132, allocations: 192.5 kB / 359.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.284e-06/0.1132, allocations: 3.938 kB / 359.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.1136, allocations: 87.92 kB / 359.8 MB, free: 11.02 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.0005987/0.1142, allocations: 247.1 kB / 360 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.1146, allocations: 175 kB / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1146, allocations: 0 / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.1147, allocations: 75.89 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.115, allocations: 23.98 kB / 360.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.1157, allocations: 384.3 kB / 360.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.116, allocations: 0.728 MB / 361.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.116, allocations: 15.44 kB / 361.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.116, allocations: 0 / 361.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of Templates: time 0.006209/0.1223, allocations: 3.496 MB / 364.9 MB, free: 5.867 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