Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 194.8 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004839, allocations: 8 kB / 264 MB, free: 13.45 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.101, allocations: 44.5 MB / 308.5 MB, free: 0.875 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.547/0.6481, allocations: 185.9 MB / 494.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/0.6485, allocations: 92.31 kB / 494.5 MB, free: 6.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9843/1.633, allocations: 200.6 MB / 0.6789 GB, free: 12.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.633, allocations: 4 kB / 0.6789 GB, free: 12.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.445e-05/1.633, allocations: 4.375 kB / 0.6789 GB, free: 12.55 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002579/1.636, allocations: 1.001 MB / 0.6799 GB, free: 11.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.636, allocations: 15.97 kB / 0.6799 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/1.636, allocations: 62.53 kB / 0.6799 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/1.636, allocations: 51.61 kB / 0.68 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/1.637, allocations: 278.6 kB / 0.6802 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/1.637, allocations: 20.56 kB / 0.6803 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/1.637, allocations: 24 kB / 0.6803 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/1.637, allocations: 330.7 kB / 0.6806 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/1.637, allocations: 11.86 kB / 0.6806 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/1.637, allocations: 12 kB / 0.6806 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/1.638, allocations: 4 kB / 0.6806 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/1.638, allocations: 193.5 kB / 0.6808 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/1.64, allocations: 2.065 MB / 0.6828 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/1.641, allocations: 188.8 kB / 0.683 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/1.641, allocations: 255.2 kB / 0.6833 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/1.641, allocations: 38.5 kB / 0.6833 GB, free: 7.613 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 3.627e-06/1.641, allocations: 0 / 0.6833 GB, free: 7.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.003546/1.645, allocations: 1.027 MB / 0.6843 GB, free: 6.512 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/1.645, allocations: 59.34 kB / 0.6844 GB, free: 6.441 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/1.645, allocations: 237.7 kB / 0.6846 GB, free: 6.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/1.645, allocations: 33.7 kB / 0.6846 GB, free: 6.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/1.645, allocations: 234.6 kB / 0.6848 GB, free: 5.934 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.381e-05/1.645, allocations: 110.5 kB / 0.6849 GB, free: 5.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/1.645, allocations: 8 kB / 0.685 GB, free: 5.816 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/1.646, allocations: 322.8 kB / 0.6853 GB, free: 5.492 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/1.646, allocations: 84.72 kB / 0.6853 GB, free: 5.406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/1.646, allocations: 166.6 kB / 0.6855 GB, free: 5.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/1.646, allocations: 123.6 kB / 0.6856 GB, free: 5.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.646, allocations: 0 / 0.6856 GB, free: 5.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008165/1.647, allocations: 357.9 kB / 0.686 GB, free: 4.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.647, allocations: 7.953 kB / 0.686 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.647, allocations: 4.312 kB / 0.686 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/1.648, allocations: 100.8 kB / 0.6861 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/1.648, allocations: 63.91 kB / 0.6861 GB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006089/1.649, allocations: 0.6499 MB / 0.6868 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/1.649, allocations: 24.06 kB / 0.6868 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/1.649, allocations: 12 kB / 0.6868 GB, free: 3.844 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002328/1.65, allocations: 165.7 kB / 0.687 GB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/1.65, allocations: 23.72 kB / 0.687 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008963/1.651, allocations: 384.8 kB / 0.6873 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.651, allocations: 4 kB / 0.6873 GB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.651, allocations: 0 / 0.6873 GB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007566/1.651, allocations: 0.5748 MB / 0.6879 GB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/1.653, allocations: 0.7351 MB / 0.6886 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.653, allocations: 7.938 kB / 0.6886 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/1.653, allocations: 31.98 kB / 0.6887 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007255/1.654, allocations: 108.6 kB / 0.6888 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/1.654, allocations: 4 kB / 0.6888 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005706/1.654, allocations: 0.6383 MB / 0.6894 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.655, allocations: 0 / 0.6894 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/1.656, allocations: 0.4936 MB / 0.6899 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.656, allocations: 116.7 kB / 0.69 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/1.656, allocations: 8 kB / 0.69 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/1.656, allocations: 15.97 kB / 0.69 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/1.656, allocations: 20.05 kB / 0.69 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/1.656, allocations: 15.98 kB / 0.69 GB, free: 240 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002713/1.657, allocations: 198 kB / 0.6902 GB, free: 44 kB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.657, allocations: 3.938 kB / 0.6902 GB, free: 40 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.2739/1.931, allocations: 153.8 kB / 0.6904 GB, free: 97.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00189/1.932, allocations: 1.304 MB / 0.6917 GB, free: 96.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008857/1.933, allocations: 237.5 kB / 0.6919 GB, free: 96.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.933, allocations: 3.719 kB / 0.6919 GB, free: 96.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/1.934, allocations: 122.5 kB / 0.692 GB, free: 96.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/1.935, allocations: 151.8 kB / 0.6921 GB, free: 96.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/1.94, allocations: 3.359 MB / 0.6954 GB, free: 93.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/1.94, allocations: 0.7764 MB / 0.6962 GB, free: 93.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/1.941, allocations: 102.2 kB / 0.6963 GB, free: 93.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/1.941, allocations: 0 / 0.6963 GB, free: 93.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.966/4.907, allocations: 8.678 MB / 0.7048 GB, free: 93.08 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat