Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004869, allocations: 15.92 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09762/0.09814, allocations: 44.5 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5741/0.6722, allocations: 187.8 MB / 496.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.6726, allocations: 77.66 kB / 496.4 MB, free: 4.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09421/0.7668, allocations: 22.77 MB / 0.507 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.96e-06/0.7669, allocations: 0 / 0.507 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.7669, allocations: 7.938 kB / 0.507 GB, free: 0.8594 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000745/0.7677, allocations: 441.8 kB / 0.5074 GB, free: 396 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.7677, allocations: 8.031 kB / 0.5074 GB, free: 388 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.007e-05/0.7678, allocations: 39.44 kB / 0.5075 GB, free: 344 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.7682, allocations: 34.73 kB / 0.5075 GB, free: 312 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.7685, allocations: 192.4 kB / 0.5077 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.7685, allocations: 6.312 kB / 0.5077 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.7686, allocations: 13.81 kB / 0.5077 GB, free: 72 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.769, allocations: 139.3 kB / 0.5078 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.769, allocations: 0 / 0.5078 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.769, allocations: 3.25 kB / 0.5078 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.769, allocations: 4 kB / 0.5078 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.7693, allocations: 110.2 kB / 0.508 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009714/0.7703, allocations: 0.6255 MB / 0.5086 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.7705, allocations: 84.17 kB / 0.5086 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008515/0.7714, allocations: 0.8076 MB / 0.5094 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.7715, allocations: 34.56 kB / 0.5095 GB, free: 14.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.7715, allocations: 0 / 0.5095 GB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.00044/0.7719, allocations: 126.5 kB / 0.5096 GB, free: 14.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.772, allocations: 57.34 kB / 0.5096 GB, free: 13.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.7721, allocations: 111.2 kB / 0.5097 GB, free: 13.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.7722, allocations: 25.7 kB / 0.5098 GB, free: 13.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.7723, allocations: 170.4 kB / 0.5099 GB, free: 13.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.7724, allocations: 43.3 kB / 0.51 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.7724, allocations: 8 kB / 0.51 GB, free: 13.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7726, allocations: 322.8 kB / 0.5103 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.7726, allocations: 19.98 kB / 0.5103 GB, free: 13.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.7728, allocations: 65.14 kB / 0.5104 GB, free: 13.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.7729, allocations: 43.94 kB / 0.5104 GB, free: 13.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7729, allocations: 0 / 0.5104 GB, free: 13.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003457/0.7733, allocations: 129.5 kB / 0.5105 GB, free: 12.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.7733, allocations: 7.984 kB / 0.5105 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.7734, allocations: 0 / 0.5105 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.7734, allocations: 4 kB / 0.5105 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.7736, allocations: 31.92 kB / 0.5106 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.7737, allocations: 4.156 kB / 0.5106 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.7738, allocations: 20.22 kB / 0.5106 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.7738, allocations: 8 kB / 0.5106 GB, free: 12.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.774, allocations: 125.7 kB / 0.5107 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.774, allocations: 7.906 kB / 0.5107 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.7745, allocations: 158.6 kB / 0.5109 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7746, allocations: 4 kB / 0.5109 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7746, allocations: 0 / 0.5109 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.7746, allocations: 0 / 0.5109 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007009/0.7753, allocations: 394.5 kB / 0.5113 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7753, allocations: 0 / 0.5113 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.7755, allocations: 27.98 kB / 0.5113 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.7755, allocations: 0 / 0.5113 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.7755, allocations: 4 kB / 0.5113 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7755, allocations: 4 kB / 0.5113 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.7756, allocations: 11.92 kB / 0.5113 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.7759, allocations: 199.4 kB / 0.5115 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.776, allocations: 108.9 kB / 0.5116 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.776, allocations: 0 / 0.5116 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.7762, allocations: 4 kB / 0.5116 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.7762, allocations: 7.984 kB / 0.5116 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.7763, allocations: 11.98 kB / 0.5116 GB, free: 11.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.7764, allocations: 95.22 kB / 0.5117 GB, free: 11.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7764, allocations: 0 / 0.5117 GB, free: 11.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005203/0.7769, allocations: 63.92 kB / 0.5118 GB, free: 11.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009282/0.7778, allocations: 0.7904 MB / 0.5126 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.7782, allocations: 83.89 kB / 0.5126 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7782, allocations: 0 / 0.5126 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.141e-05/0.7783, allocations: 39.92 kB / 0.5127 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.7788, allocations: 40.5 kB / 0.5127 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.7806, allocations: 1.452 MB / 0.5141 GB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.781, allocations: 0.697 MB / 0.5148 GB, free: 8.371 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.7812, allocations: 39.42 kB / 0.5148 GB, free: 8.332 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.7812, allocations: 0 / 0.5148 GB, free: 8.332 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.923/3.704, allocations: 2.626 MB / 0.5174 GB, free: 5.719 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat