Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 92.67 kB / 17.35 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001663/0.001664, allocations: 200 kB / 18.28 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.8 MB / 246.8 MB, free: 9.758 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002326/0.0002326, allocations: 4 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1262, allocations: 51.52 MB / 359.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002001/0.1283, allocations: 1.388 MB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.1304, allocations: 1.263 MB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.1305, allocations: 4 kB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.1309, allocations: 31.84 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.131, allocations: 31.84 kB / 362 MB, free: 10.35 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.000651/0.1317, allocations: 235.5 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.1319, allocations: 167.6 kB / 362.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.132, allocations: 21.06 kB / 362.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.1322, allocations: 79.67 kB / 362.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006023/0.1328, allocations: 91.64 kB / 362.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1329, allocations: 8 kB / 362.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.1333, allocations: 295.4 kB / 362.9 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1334, allocations: 47.88 kB / 362.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.1335, allocations: 89.23 kB / 363 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.134, allocations: 327.3 kB / 363.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.134, allocations: 0 / 363.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.134, allocations: 0 / 363.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.134, allocations: 8 kB / 363.3 MB, free: 9 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.001236/0.1353, allocations: 0.5267 MB / 363.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1353, allocations: 12.03 kB / 363.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.1355, allocations: 28.73 kB / 363.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.136, allocations: 272.8 kB / 364.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.136, allocations: 8.312 kB / 364.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.1361, allocations: 12.12 kB / 364.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.1363, allocations: 105.6 kB / 364.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1363, allocations: 7.938 kB / 364.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1364, allocations: 0 / 364.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1364, allocations: 4 kB / 364.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.1366, allocations: 79.94 kB / 364.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000869/0.1374, allocations: 460.4 kB / 364.8 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.1377, allocations: 126.5 kB / 364.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.1379, allocations: 60.83 kB / 365 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1379, allocations: 4 kB / 365 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.1381, allocations: 123.4 kB / 365.1 MB, free: 7.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.1381, allocations: 0 / 365.1 MB, free: 7.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.000505/0.1386, allocations: 237.5 kB / 365.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1387, allocations: 63.39 kB / 365.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.1391, allocations: 251.7 kB / 365.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1392, allocations: 37.7 kB / 365.7 MB, free: 6.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.1393, allocations: 112.3 kB / 365.8 MB, free: 6.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.1393, allocations: 43.39 kB / 365.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.1394, allocations: 29.7 kB / 365.9 MB, free: 6.223 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1395, allocations: 342.8 kB / 366.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.1397, allocations: 87.89 kB / 366.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.1399, allocations: 102.8 kB / 366.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.1402, allocations: 186.5 kB / 366.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1402, allocations: 4 kB / 366.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004404/0.1407, allocations: 265.2 kB / 366.8 MB, free: 5.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1407, allocations: 4 kB / 366.8 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1407, allocations: 3.938 kB / 366.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1407, allocations: 0 / 366.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.1409, allocations: 27.98 kB / 366.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1409, allocations: 11.92 kB / 366.9 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1411, allocations: 35.84 kB / 366.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1411, allocations: 4 kB / 366.9 MB, free: 5.145 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.000156/0.1413, allocations: 145.8 kB / 367.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1413, allocations: 15.81 kB / 367.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.1414, allocations: 25.45 kB / 367.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1414, allocations: 0 / 367.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1414, allocations: 0 / 367.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1414, allocations: 4 kB / 367.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.1417, allocations: 233.7 kB / 367.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1417, allocations: 3.938 kB / 367.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1418, allocations: 23.92 kB / 367.4 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1418, allocations: 4 kB / 367.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1419, allocations: 3.938 kB / 367.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1419, allocations: 0 / 367.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1419, allocations: 0 / 367.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.1424, allocations: 288.3 kB / 367.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1425, allocations: 104.8 kB / 367.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.1425, allocations: 15.88 kB / 367.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1427, allocations: 19.97 kB / 367.8 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.1428, allocations: 7.984 kB / 367.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.1428, allocations: 4.062 kB / 367.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003337/0.1431, allocations: 192.2 kB / 368 MB, free: 3.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1431, allocations: 0 / 368 MB, free: 3.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003619/0.1435, allocations: 83.98 kB / 368.1 MB, free: 3.906 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.0006351/0.1441, allocations: 265.8 kB / 368.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.1445, allocations: 167.9 kB / 368.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1445, allocations: 8.062 kB / 368.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1447, allocations: 67.89 kB / 368.6 MB, free: 3.426 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.1449, allocations: 16 kB / 368.6 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.1456, allocations: 398.8 kB / 369 MB, free: 2.992 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1459, allocations: 0.736 MB / 369.7 MB, free: 2.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.146, allocations: 37.33 kB / 369.8 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.1461, allocations: 15.44 kB / 369.8 MB, free: 2.176 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1461, allocations: 0 / 369.8 MB, free: 2.176 MB / 302.1 MB Notification: Performance of Templates: time 0.2068/0.3529, allocations: 2.873 MB / 372.6 MB, free: 18.79 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches