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.001159/0.001159, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001275/0.001275, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 55.55 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1218, allocations: 49.44 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003548/0.1254, allocations: 1.633 MB / 353.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.128, allocations: 1.202 MB / 354.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.1281, allocations: 4 kB / 354.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.1285, allocations: 31.78 kB / 354.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1287, allocations: 39.77 kB / 354.4 MB, free: 0.7539 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.0008708/0.1295, allocations: 291.2 kB / 354.7 MB, free: 480 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.1299, allocations: 179.5 kB / 354.9 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.13, allocations: 21.11 kB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1301, allocations: 79.73 kB / 355 MB, free: 200 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006816/0.1308, allocations: 109.2 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.1309, allocations: 12 kB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.1314, allocations: 263.6 kB / 355.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1315, allocations: 59.8 kB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1317, allocations: 67.53 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.1322, allocations: 327.2 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1322, allocations: 0 / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1322, allocations: 0 / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1323, allocations: 4 kB / 355.8 MB, free: 15.37 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.001355/0.1336, allocations: 0.557 MB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1337, allocations: 15.89 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.134, allocations: 28.73 kB / 356.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.1346, allocations: 272.8 kB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1346, allocations: 11.88 kB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.1346, allocations: 11.91 kB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.1349, allocations: 101.6 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1349, allocations: 3.938 kB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.135, allocations: 4 kB / 356.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.135, allocations: 4 kB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.1352, allocations: 75.94 kB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.1362, allocations: 444.6 kB / 357.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.1366, allocations: 126.5 kB / 357.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1367, allocations: 56.83 kB / 357.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1368, allocations: 0 / 357.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.137, allocations: 119.9 kB / 357.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.1371, allocations: 0 / 357.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006102/0.1377, allocations: 239.4 kB / 357.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.1377, allocations: 59.39 kB / 357.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.1383, allocations: 247.7 kB / 358.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.1383, allocations: 37.7 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.1384, allocations: 116.3 kB / 358.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.1385, allocations: 43.3 kB / 358.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1386, allocations: 57.69 kB / 358.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1387, allocations: 330.8 kB / 358.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.139, allocations: 79.95 kB / 358.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.1392, allocations: 101.7 kB / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.1396, allocations: 185.4 kB / 359.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1396, allocations: 0 / 359.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000558/0.1402, allocations: 273.4 kB / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1402, allocations: 4 kB / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1402, allocations: 4 kB / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1402, allocations: 0 / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.1405, allocations: 27.98 kB / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1405, allocations: 3.984 kB / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.1407, allocations: 23.89 kB / 359.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1408, allocations: 8.078 kB / 359.4 MB, free: 11.52 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.0001431/0.1409, allocations: 149.7 kB / 359.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.141, allocations: 23.73 kB / 359.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.189e-05/0.1411, allocations: 21.53 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1411, allocations: 0 / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1411, allocations: 0 / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1411, allocations: 0 / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1414, allocations: 237.5 kB / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1414, allocations: 0 / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.1416, allocations: 27.92 kB / 359.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1416, allocations: 0 / 359.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.1416, allocations: 8 kB / 359.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1416, allocations: 0 / 359.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1416, allocations: 0 / 359.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.1422, allocations: 272.8 kB / 360.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.1424, allocations: 108.8 kB / 360.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.1424, allocations: 15.98 kB / 360.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1427, allocations: 19.98 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.1427, allocations: 7.984 kB / 360.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1427, allocations: 0 / 360.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004008/0.1432, allocations: 192.2 kB / 360.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1432, allocations: 0 / 360.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004729/0.1436, allocations: 83.98 kB / 360.5 MB, free: 10.28 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.0006789/0.1443, allocations: 271.6 kB / 360.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.1448, allocations: 171 kB / 361 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1448, allocations: 0 / 361 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.145, allocations: 63.95 kB / 361 MB, free: 9.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1453, allocations: 23.88 kB / 361.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.1461, allocations: 350.4 kB / 361.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1465, allocations: 0.7281 MB / 362.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.1466, allocations: 29.41 kB / 362.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.1467, allocations: 19.42 kB / 362.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1467, allocations: 192 / 362.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of Templates: time 0.00835/0.1551, allocations: 2.98 MB / 365.2 MB, free: 5.648 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 -s gbode -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