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.001631/0.001631, allocations: 107.9 kB / 16.92 MB, free: 5.895 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.001987/0.001987, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.47/1.47, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 52.77 kB / 300.6 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1126, allocations: 49.45 MB / 350.1 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003484/0.1161, allocations: 1.633 MB / 351.7 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.1184, allocations: 1.198 MB / 352.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.1186, allocations: 4 kB / 352.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.119, allocations: 31.78 kB / 352.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.1191, allocations: 39.77 kB / 353 MB, free: 1.5 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.0009425/0.1201, allocations: 299.1 kB / 353.2 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.1203, allocations: 179.5 kB / 353.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1205, allocations: 13.12 kB / 353.4 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.1207, allocations: 79.73 kB / 353.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000672/0.1214, allocations: 115 kB / 353.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.1215, allocations: 16 kB / 353.6 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.122, allocations: 259.6 kB / 353.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1221, allocations: 63.73 kB / 354 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.346e-05/0.1222, allocations: 71.59 kB / 354 MB, free: 440 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.1228, allocations: 323.4 kB / 354.3 MB, free: 116 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1228, allocations: 0 / 354.3 MB, free: 116 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1228, allocations: 0 / 354.3 MB, free: 116 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1229, allocations: 0 / 354.3 MB, free: 116 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.001226/0.1241, allocations: 0.5518 MB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1241, allocations: 11.89 kB / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.1244, allocations: 28.73 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.1249, allocations: 276.8 kB / 355.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1249, allocations: 11.94 kB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.1249, allocations: 7.906 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.1251, allocations: 109.5 kB / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1252, allocations: 0 / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1252, allocations: 4 kB / 355.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1252, allocations: 0 / 355.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.1254, allocations: 83.94 kB / 355.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008949/0.1263, allocations: 436.6 kB / 355.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1266, allocations: 122.5 kB / 356 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1267, allocations: 67.95 kB / 356 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1267, allocations: 0 / 356 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.1269, allocations: 115.2 kB / 356.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1269, allocations: 0 / 356.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004962/0.1274, allocations: 233.6 kB / 356.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1275, allocations: 71.38 kB / 356.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.1279, allocations: 244.8 kB / 356.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.128, allocations: 41.64 kB / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.128, allocations: 108.3 kB / 356.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.1281, allocations: 51.3 kB / 356.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.1282, allocations: 45.69 kB / 356.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1283, allocations: 334.8 kB / 357.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1285, allocations: 79.95 kB / 357.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.1287, allocations: 105.7 kB / 357.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.129, allocations: 185.4 kB / 357.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.129, allocations: 3.938 kB / 357.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004161/0.1294, allocations: 265.4 kB / 357.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1294, allocations: 7.125 kB / 357.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1294, allocations: 0 / 357.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1295, allocations: 4 kB / 357.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.1296, allocations: 31.97 kB / 357.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1297, allocations: 4 kB / 357.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1298, allocations: 19.89 kB / 357.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.1299, allocations: 8 kB / 357.9 MB, free: 12.28 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.0001326/0.13, allocations: 149.7 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1301, allocations: 19.73 kB / 358.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.1301, allocations: 21.53 kB / 358.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1301, allocations: 4 kB / 358.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1301, allocations: 0 / 358.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1301, allocations: 0 / 358.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.1304, allocations: 241.5 kB / 358.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1304, allocations: 4 kB / 358.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.1305, allocations: 19.92 kB / 358.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1305, allocations: 4 kB / 358.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1305, allocations: 4 kB / 358.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1305, allocations: 7.938 kB / 358.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1305, allocations: 0 / 358.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.131, allocations: 272.9 kB / 358.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.1311, allocations: 108.8 kB / 358.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.1311, allocations: 7.984 kB / 358.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.1313, allocations: 24.03 kB / 358.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.1314, allocations: 4 kB / 358.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1314, allocations: 7.984 kB / 358.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003169/0.1317, allocations: 192.4 kB / 359 MB, free: 11.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1317, allocations: 3.938 kB / 359 MB, free: 11.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.1321, allocations: 79.98 kB / 359.1 MB, free: 11.03 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.0006188/0.1327, allocations: 255 kB / 359.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003712/0.1331, allocations: 183.8 kB / 359.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1331, allocations: 0 / 359.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1333, allocations: 63.91 kB / 359.6 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.000236/0.1335, allocations: 26.06 kB / 359.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.1342, allocations: 354.5 kB / 360 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.1345, allocations: 0.728 MB / 360.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.831e-05/0.1346, allocations: 37.38 kB / 360.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.1347, allocations: 15.44 kB / 360.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1347, allocations: 4 kB / 360.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of Templates: time 0.007156/0.1418, allocations: 2.975 MB / 363.7 MB, free: 6.383 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