Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.599/1.599, allocations: 171.2 MB / 186.8 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 8 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08336/0.08377, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7287/0.8125, allocations: 182.4 MB / 454.5 MB, free: 91.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.8128, allocations: 73.73 kB / 454.5 MB, free: 91.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07788/0.8907, allocations: 22.33 MB / 476.9 MB, free: 79.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8908, allocations: 0 / 476.9 MB, free: 79.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.8908, allocations: 0 / 476.9 MB, free: 79.53 MB / 346.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.0006188/0.8914, allocations: 453.7 kB / 477.3 MB, free: 79.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.8915, allocations: 8.031 kB / 477.3 MB, free: 79.04 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.247e-05/0.8916, allocations: 42.48 kB / 477.4 MB, free: 79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004072/0.892, allocations: 23.27 kB / 477.4 MB, free: 78.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.8922, allocations: 206.5 kB / 477.6 MB, free: 78.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.8922, allocations: 3.688 kB / 477.6 MB, free: 78.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.8922, allocations: 8 kB / 477.6 MB, free: 78.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.8926, allocations: 130.9 kB / 477.7 MB, free: 78.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.8926, allocations: 11.92 kB / 477.7 MB, free: 78.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.8926, allocations: 3 kB / 477.7 MB, free: 78.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.8926, allocations: 4 kB / 477.7 MB, free: 78.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.8929, allocations: 107.7 kB / 477.9 MB, free: 78.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.8936, allocations: 0.6237 MB / 478.5 MB, free: 77.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.8938, allocations: 86.5 kB / 478.6 MB, free: 77.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.8945, allocations: 0.8065 MB / 479.4 MB, free: 76.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.8945, allocations: 34.5 kB / 479.4 MB, free: 76.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.336e-06/0.8945, allocations: 0 / 479.4 MB, free: 76.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003883/0.8949, allocations: 128.7 kB / 479.5 MB, free: 76.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.895, allocations: 59.41 kB / 479.6 MB, free: 76.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.8951, allocations: 111.3 kB / 479.7 MB, free: 76.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.8951, allocations: 25.7 kB / 479.7 MB, free: 76.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.8952, allocations: 173.8 kB / 479.9 MB, free: 76.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.8952, allocations: 41.45 kB / 479.9 MB, free: 76.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.8952, allocations: 3.312 kB / 479.9 MB, free: 76.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.8953, allocations: 310.8 kB / 480.2 MB, free: 75.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.8954, allocations: 33.67 kB / 480.3 MB, free: 75.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.8955, allocations: 74.91 kB / 480.3 MB, free: 75.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.132e-05/0.8956, allocations: 27.94 kB / 480.4 MB, free: 75.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8956, allocations: 4 kB / 480.4 MB, free: 75.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003315/0.8959, allocations: 132.7 kB / 480.5 MB, free: 75.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.896, allocations: 14.14 kB / 480.5 MB, free: 75.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.896, allocations: 0 / 480.5 MB, free: 75.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.896, allocations: 4 kB / 480.5 MB, free: 75.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.8962, allocations: 32.92 kB / 480.5 MB, free: 75.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.8963, allocations: 7.938 kB / 480.6 MB, free: 75.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.8964, allocations: 14.16 kB / 480.6 MB, free: 75.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.8964, allocations: 9.266 kB / 480.6 MB, free: 75.64 MB / 346.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.0001051/0.8965, allocations: 128 kB / 480.7 MB, free: 75.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.8966, allocations: 7.906 kB / 480.7 MB, free: 75.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.897, allocations: 152.4 kB / 480.9 MB, free: 75.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8971, allocations: 4 kB / 480.9 MB, free: 75.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8971, allocations: 0 / 480.9 MB, free: 75.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.8971, allocations: 7.984 kB / 480.9 MB, free: 75.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.8976, allocations: 386.1 kB / 481.3 MB, free: 74.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.8977, allocations: 3.953 kB / 481.3 MB, free: 74.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.8978, allocations: 27.11 kB / 481.3 MB, free: 74.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.8978, allocations: 0 / 481.3 MB, free: 74.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.8979, allocations: 0 / 481.3 MB, free: 74.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8979, allocations: 4 kB / 481.3 MB, free: 74.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8979, allocations: 0 / 481.3 MB, free: 74.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.8981, allocations: 205.3 kB / 481.5 MB, free: 74.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.8982, allocations: 106.8 kB / 481.6 MB, free: 74.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.8982, allocations: 7.125 kB / 481.6 MB, free: 74.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.8984, allocations: 4 kB / 481.6 MB, free: 74.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.8984, allocations: 7.984 kB / 481.6 MB, free: 74.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.8985, allocations: 7.188 kB / 481.6 MB, free: 74.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.278e-05/0.8985, allocations: 94.52 kB / 481.7 MB, free: 74.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.8985, allocations: 0 / 481.7 MB, free: 74.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004833/0.899, allocations: 70.16 kB / 481.8 MB, free: 74.46 MB / 346.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.0006512/0.8997, allocations: 0.7958 MB / 482.6 MB, free: 73.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.9, allocations: 82.66 kB / 482.7 MB, free: 73.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.9, allocations: 0 / 482.7 MB, free: 73.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.9001, allocations: 37.98 kB / 482.7 MB, free: 73.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.9006, allocations: 45.02 kB / 482.7 MB, free: 73.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.9019, allocations: 1.44 MB / 484.2 MB, free: 72.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.9021, allocations: 0.7008 MB / 484.9 MB, free: 71.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.9022, allocations: 37.05 kB / 484.9 MB, free: 71.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.9022, allocations: 0 / 484.9 MB, free: 71.31 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.56/3.462, allocations: 2.627 MB / 487.5 MB, free: 68.7 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat