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.0009724/0.0009724, allocations: 86.53 kB / 16.65 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.001174/0.001174, allocations: 177.8 kB / 17.56 MB, free: 6.18 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.459/1.459, allocations: 223.2 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003015, allocations: 12.12 kB / 301.4 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.104, allocations: 50.41 MB / 351.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001881/0.1059, allocations: 1.375 MB / 353.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1081, allocations: 1.213 MB / 354.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.1082, allocations: 4 kB / 354.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.1085, allocations: 19.86 kB / 354.4 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.1087, allocations: 39.83 kB / 354.5 MB, free: 1.047 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.0005939/0.1093, allocations: 235.5 kB / 354.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1095, allocations: 167.6 kB / 354.9 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.1096, allocations: 13.12 kB / 354.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1097, allocations: 75.67 kB / 355 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006216/0.1104, allocations: 102.9 kB / 355.1 MB, free: 480 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.1104, allocations: 4 kB / 355.1 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.1109, allocations: 295.4 kB / 355.4 MB, free: 180 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.357e-05/0.111, allocations: 39.83 kB / 355.4 MB, free: 140 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.111, allocations: 93.28 kB / 355.5 MB, free: 40 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.1115, allocations: 323.3 kB / 355.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1115, allocations: 0 / 355.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1115, allocations: 0 / 355.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1115, allocations: 4 kB / 355.8 MB, free: 15.72 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.001149/0.1127, allocations: 0.5309 MB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1127, allocations: 12.03 kB / 356.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.1129, allocations: 28.73 kB / 356.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.1134, allocations: 272.8 kB / 356.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.1135, allocations: 15.92 kB / 356.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1135, allocations: 4 kB / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.1137, allocations: 113.5 kB / 356.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1138, allocations: 4 kB / 356.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1138, allocations: 4 kB / 356.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1138, allocations: 0 / 356.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.114, allocations: 87.92 kB / 356.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008431/0.1148, allocations: 444.5 kB / 357.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.1151, allocations: 126.5 kB / 357.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.1152, allocations: 68.83 kB / 357.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1153, allocations: 0 / 357.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.1155, allocations: 115.3 kB / 357.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.955e-06/0.1155, allocations: 96 / 357.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004727/0.116, allocations: 237.5 kB / 357.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.116, allocations: 63.41 kB / 357.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.1164, allocations: 256.6 kB / 358.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1165, allocations: 33.7 kB / 358.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.1166, allocations: 116.2 kB / 358.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.1166, allocations: 43.39 kB / 358.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.1167, allocations: 33.7 kB / 358.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1168, allocations: 330.8 kB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.117, allocations: 87.94 kB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1171, allocations: 109.6 kB / 358.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.1175, allocations: 185.5 kB / 359.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1175, allocations: 0 / 359.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004169/0.1179, allocations: 273.2 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1179, allocations: 4 kB / 359.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1179, allocations: 0 / 359.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1179, allocations: 4 kB / 359.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.1181, allocations: 31.97 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1181, allocations: 0 / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.1183, allocations: 35.91 kB / 359.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1184, allocations: 7.938 kB / 359.4 MB, free: 11.86 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.0001213/0.1185, allocations: 141.8 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.1185, allocations: 19.75 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.1186, allocations: 17.62 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1186, allocations: 3.938 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1186, allocations: 7.984 kB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1186, allocations: 4 kB / 359.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1188, allocations: 233.6 kB / 359.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1189, allocations: 0 / 359.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.119, allocations: 27.86 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.119, allocations: 0 / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.119, allocations: 3.984 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.119, allocations: 0 / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.119, allocations: 4 kB / 359.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.1195, allocations: 276.8 kB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.1196, allocations: 112.8 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.1197, allocations: 8 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.1198, allocations: 19.97 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.1199, allocations: 11.92 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1199, allocations: 12.06 kB / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000303/0.1202, allocations: 184.4 kB / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1202, allocations: 7.938 kB / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.1206, allocations: 83.98 kB / 360.6 MB, free: 10.61 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.0005825/0.1212, allocations: 268.5 kB / 360.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.1216, allocations: 171.8 kB / 361 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1216, allocations: 0 / 361 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1217, allocations: 67.91 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1219, allocations: 26.11 kB / 361.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/0.1227, allocations: 404.7 kB / 361.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.123, allocations: 0.7322 MB / 362.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.169e-05/0.1231, allocations: 29.41 kB / 362.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.1232, allocations: 15.44 kB / 362.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1232, allocations: 3.938 kB / 362.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of Templates: time 0.006771/0.13, allocations: 2.843 MB / 365.1 MB, free: 6.051 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/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