Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 194.9 MB / 211.1 MB, free: 8.547 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004084, allocations: 8 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3251, allocations: 44.5 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.396, allocations: 362.6 MB / 0.6554 GB, free: 61.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/1.396, allocations: 91.31 kB / 0.6555 GB, free: 61.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5123/1.909, allocations: 81.3 MB / 0.7349 GB, free: 133.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.909, allocations: 0 / 0.7349 GB, free: 133.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.602e-05/1.909, allocations: 10.31 kB / 0.7349 GB, free: 133.9 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001302/1.91, allocations: 0.6264 MB / 0.7356 GB, free: 133.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.91, allocations: 10.5 kB / 0.7356 GB, free: 133.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/1.91, allocations: 66.97 kB / 0.7356 GB, free: 133.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003364/1.911, allocations: 36.97 kB / 0.7357 GB, free: 133.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/1.911, allocations: 281.3 kB / 0.7359 GB, free: 133.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/1.911, allocations: 18.53 kB / 0.7359 GB, free: 133.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/1.911, allocations: 29.03 kB / 0.736 GB, free: 133.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/1.912, allocations: 303.2 kB / 0.7363 GB, free: 133.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/1.912, allocations: 0 / 0.7363 GB, free: 133.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/1.912, allocations: 12.34 kB / 0.7363 GB, free: 133.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/1.912, allocations: 7.188 kB / 0.7363 GB, free: 133.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/1.913, allocations: 196.5 kB / 0.7365 GB, free: 133.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/1.915, allocations: 1.432 MB / 0.7379 GB, free: 132.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/1.915, allocations: 167.9 kB / 0.738 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/1.915, allocations: 3.625 kB / 0.738 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.915, allocations: 45.38 kB / 0.7381 GB, free: 132.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.995e-06/1.915, allocations: 2.297 kB / 0.7381 GB, free: 132.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003771/1.919, allocations: 1.007 MB / 0.7391 GB, free: 131.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/1.919, allocations: 55.36 kB / 0.7391 GB, free: 131.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/1.919, allocations: 239.3 kB / 0.7393 GB, free: 131.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/1.92, allocations: 29.27 kB / 0.7394 GB, free: 131.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/1.92, allocations: 180.4 kB / 0.7395 GB, free: 131.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/1.92, allocations: 91.72 kB / 0.7396 GB, free: 131.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/1.92, allocations: 7.062 kB / 0.7396 GB, free: 131.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/1.92, allocations: 337.5 kB / 0.74 GB, free: 131 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/1.92, allocations: 82.77 kB / 0.74 GB, free: 131 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/1.92, allocations: 175.2 kB / 0.7402 GB, free: 130.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/1.921, allocations: 110.6 kB / 0.7403 GB, free: 130.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.921, allocations: 0 / 0.7403 GB, free: 130.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001055/1.922, allocations: 379.3 kB / 0.7407 GB, free: 130.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.922, allocations: 13.64 kB / 0.7407 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.922, allocations: 7.062 kB / 0.7407 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/1.922, allocations: 66.67 kB / 0.7408 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/1.923, allocations: 71.28 kB / 0.7408 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/1.925, allocations: 2.682 MB / 0.7434 GB, free: 128.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/1.926, allocations: 22.34 kB / 0.7435 GB, free: 128.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/1.926, allocations: 13.22 kB / 0.7435 GB, free: 128.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002437/1.926, allocations: 154 kB / 0.7436 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/1.926, allocations: 35.11 kB / 0.7437 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/1.926, allocations: 36.27 kB / 0.7437 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.926, allocations: 7.422 kB / 0.7437 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.926, allocations: 0 / 0.7437 GB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008203/1.927, allocations: 0.5582 MB / 0.7442 GB, free: 127.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/1.929, allocations: 0.7008 MB / 0.7449 GB, free: 127.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.929, allocations: 0 / 0.7449 GB, free: 127.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/1.929, allocations: 48.58 kB / 0.745 GB, free: 127.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/1.93, allocations: 57.91 kB / 0.745 GB, free: 127.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/1.93, allocations: 10.64 kB / 0.745 GB, free: 127.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/1.931, allocations: 1.398 MB / 0.7464 GB, free: 126.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.931, allocations: 3.719 kB / 0.7464 GB, free: 126.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/1.932, allocations: 486.7 kB / 0.7469 GB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/1.933, allocations: 102.2 kB / 0.747 GB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/1.933, allocations: 10.88 kB / 0.747 GB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/1.933, allocations: 11.25 kB / 0.747 GB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/1.933, allocations: 17.48 kB / 0.747 GB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/1.933, allocations: 11.73 kB / 0.747 GB, free: 125.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002534/1.933, allocations: 186.4 kB / 0.7472 GB, free: 125.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.933, allocations: 0 / 0.7472 GB, free: 125.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007245/1.934, allocations: 99.38 kB / 0.7473 GB, free: 125.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/1.936, allocations: 1.161 MB / 0.7484 GB, free: 125 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/1.937, allocations: 470.4 kB / 0.7489 GB, free: 124.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.937, allocations: 3.969 kB / 0.7489 GB, free: 124.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005371/1.937, allocations: 234.8 kB / 0.7491 GB, free: 124.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/1.939, allocations: 157.6 kB / 0.7493 GB, free: 124.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/1.943, allocations: 3.652 MB / 0.7528 GB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/1.944, allocations: 0.7792 MB / 0.7536 GB, free: 121.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005596/1.944, allocations: 50.84 kB / 0.7536 GB, free: 121.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/1.944, allocations: 87.05 kB / 0.7537 GB, free: 121.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.804e-06/1.944, allocations: 0 / 0.7537 GB, free: 121.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04158/1.986, allocations: 9.02 MB / 0.7625 GB, free: 120.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/1.986, allocations: 231.1 kB / 0.7627 GB, free: 120.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/4.683, allocations: 6.312 kB / 0.7627 GB, free: 120.4 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat