Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.002292/0.002292, allocations: 187.9 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 59.91 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1127, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003733/0.1165, allocations: 1.638 MB / 329 MB, free: 2.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1191, allocations: 1.233 MB / 330.3 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.1193, allocations: 0 / 330.3 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.1197, allocations: 35.78 kB / 330.3 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.1199, allocations: 35.77 kB / 330.3 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009093/0.1208, allocations: 299.1 kB / 330.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1211, allocations: 175.6 kB / 330.8 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1212, allocations: 21.34 kB / 330.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.1214, allocations: 83.69 kB / 330.9 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1216, allocations: 99.62 kB / 331 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.1216, allocations: 12 kB / 331 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000505/0.1222, allocations: 283.5 kB / 331.3 MB, free: 472 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1223, allocations: 59.81 kB / 331.3 MB, free: 412 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1224, allocations: 67.58 kB / 331.4 MB, free: 344 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006656/0.1231, allocations: 339.1 kB / 331.7 MB, free: 4 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1231, allocations: 4 kB / 331.7 MB, free: 0 / 270.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1231, allocations: 0 / 331.7 MB, free: 0 / 270.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1231, allocations: 0 / 331.7 MB, free: 0 / 270.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.001496/0.1246, allocations: 0.5532 MB / 332.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1247, allocations: 8.031 kB / 332.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.1247, allocations: 42.69 kB / 332.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.125, allocations: 28.73 kB / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.1255, allocations: 268.8 kB / 332.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1255, allocations: 12.36 kB / 332.6 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.1256, allocations: 16.28 kB / 332.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1258, allocations: 105.7 kB / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1258, allocations: 0 / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1259, allocations: 0 / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1259, allocations: 4 kB / 332.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.1261, allocations: 79.92 kB / 332.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009256/0.127, allocations: 452.5 kB / 333.3 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.1273, allocations: 118.5 kB / 333.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1274, allocations: 56.83 kB / 333.5 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.1275, allocations: 8 kB / 333.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.1277, allocations: 127.3 kB / 333.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/0.1277, allocations: 0 / 333.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005111/0.1282, allocations: 225.5 kB / 333.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1283, allocations: 67.34 kB / 333.9 MB, free: 13.67 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.1287, allocations: 247.8 kB / 334.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.1288, allocations: 37.69 kB / 334.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.1289, allocations: 116 kB / 334.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.1289, allocations: 43.59 kB / 334.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1291, allocations: 41.7 kB / 334.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1292, allocations: 338.8 kB / 334.7 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.1294, allocations: 79.95 kB / 334.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1296, allocations: 109.7 kB / 334.9 MB, free: 12.63 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.1299, allocations: 181.8 kB / 335 MB, free: 12.45 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1299, allocations: 0 / 335 MB, free: 12.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004457/0.1304, allocations: 261.2 kB / 335.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1304, allocations: 8 kB / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1304, allocations: 0 / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1304, allocations: 7.969 kB / 335.3 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.1306, allocations: 31.92 kB / 335.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1307, allocations: 3.984 kB / 335.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.1309, allocations: 31.81 kB / 335.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.1309, allocations: 4 kB / 335.4 MB, free: 12.1 MB / 286.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.0001407/0.1311, allocations: 145.7 kB / 335.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.1311, allocations: 23.69 kB / 335.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.1312, allocations: 25.52 kB / 335.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1312, allocations: 3.938 kB / 335.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1312, allocations: 0 / 335.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1312, allocations: 0 / 335.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.1315, allocations: 241.5 kB / 335.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1315, allocations: 4 kB / 335.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.1316, allocations: 19.98 kB / 335.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1316, allocations: 4 kB / 335.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1316, allocations: 0 / 335.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1317, allocations: 3.938 kB / 335.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1317, allocations: 0 / 335.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.1322, allocations: 276.8 kB / 336.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.1323, allocations: 104.9 kB / 336.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.1323, allocations: 11.98 kB / 336.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.1325, allocations: 19.92 kB / 336.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.1326, allocations: 7.984 kB / 336.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.1326, allocations: 8.062 kB / 336.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003412/0.1329, allocations: 193.4 kB / 336.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1329, allocations: 3.938 kB / 336.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004059/0.1334, allocations: 91.98 kB / 336.5 MB, free: 10.84 MB / 286.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.00144/0.1348, allocations: 0.9844 MB / 337.5 MB, free: 9.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004261/0.1352, allocations: 179.8 kB / 337.7 MB, free: 9.664 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1353, allocations: 0 / 337.7 MB, free: 9.664 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1354, allocations: 67.89 kB / 337.8 MB, free: 9.598 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.1357, allocations: 27.91 kB / 337.8 MB, free: 9.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.1393, allocations: 2.368 MB / 340.2 MB, free: 7.109 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.1397, allocations: 0.728 MB / 340.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1398, allocations: 33.34 kB / 340.9 MB, free: 6.324 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1399, allocations: 51.41 kB / 341 MB, free: 6.273 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.14, allocations: 0 / 341 MB, free: 6.273 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.1694, allocations: 5.162 MB / 346.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/7.96, allocations: 11.94 kB / 346.1 MB, free: 1.035 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches