Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 194.8 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003533, allocations: 12 kB / 264.1 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3004, allocations: 44.51 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5538/0.8543, allocations: 187.8 MB / 496.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.8547, allocations: 77.39 kB / 496.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0834/0.9381, allocations: 22.77 MB / 0.507 GB, free: 8.816 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.9381, allocations: 0 / 0.507 GB, free: 8.816 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.9382, allocations: 4 kB / 0.507 GB, free: 8.812 MB / 362.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.0006769/0.9389, allocations: 446.4 kB / 0.5075 GB, free: 8.336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.9389, allocations: 8.031 kB / 0.5075 GB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.939, allocations: 38.5 kB / 0.5075 GB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.9394, allocations: 36.05 kB / 0.5075 GB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.9396, allocations: 190.8 kB / 0.5077 GB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.9397, allocations: 11.94 kB / 0.5077 GB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.9397, allocations: 4 kB / 0.5077 GB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.94, allocations: 135.6 kB / 0.5079 GB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.9401, allocations: 3.938 kB / 0.5079 GB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.9401, allocations: 3.75 kB / 0.5079 GB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.9401, allocations: 4 kB / 0.5079 GB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.9404, allocations: 110.5 kB / 0.508 GB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/0.9413, allocations: 0.6236 MB / 0.5086 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.9415, allocations: 85.73 kB / 0.5087 GB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008334/0.9423, allocations: 0.8111 MB / 0.5095 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.9424, allocations: 34.56 kB / 0.5095 GB, free: 6.074 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.765e-06/0.9424, allocations: 0 / 0.5095 GB, free: 6.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000389/0.9428, allocations: 129 kB / 0.5096 GB, free: 5.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.9429, allocations: 51.66 kB / 0.5097 GB, free: 5.906 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.943, allocations: 105.1 kB / 0.5098 GB, free: 5.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.943, allocations: 29.45 kB / 0.5098 GB, free: 5.766 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.9431, allocations: 95.89 kB / 0.5099 GB, free: 5.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.9432, allocations: 42.73 kB / 0.5099 GB, free: 5.633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.9432, allocations: 11.88 kB / 0.5099 GB, free: 5.625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.9433, allocations: 322.6 kB / 0.5102 GB, free: 5.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.9434, allocations: 23.86 kB / 0.5103 GB, free: 5.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.9436, allocations: 64.89 kB / 0.5103 GB, free: 5.215 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.9437, allocations: 47.38 kB / 0.5104 GB, free: 5.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9437, allocations: 0 / 0.5104 GB, free: 5.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003135/0.944, allocations: 135.9 kB / 0.5105 GB, free: 5.066 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.944, allocations: 4 kB / 0.5105 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.9441, allocations: 4 kB / 0.5105 GB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.9441, allocations: 0 / 0.5105 GB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.9443, allocations: 35.92 kB / 0.5105 GB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.9443, allocations: 4.156 kB / 0.5106 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.9444, allocations: 15.78 kB / 0.5106 GB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.9445, allocations: 8 kB / 0.5106 GB, free: 5 MB / 362.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.0001246/0.9446, allocations: 121.5 kB / 0.5107 GB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.9447, allocations: 11.89 kB / 0.5107 GB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.9452, allocations: 161.7 kB / 0.5109 GB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.9452, allocations: 0 / 0.5109 GB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9452, allocations: 0 / 0.5109 GB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.9452, allocations: 0 / 0.5109 GB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.9459, allocations: 404.9 kB / 0.5112 GB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.9459, allocations: 0 / 0.5112 GB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.946, allocations: 19.98 kB / 0.5113 GB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.946, allocations: 0 / 0.5113 GB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.9461, allocations: 4 kB / 0.5113 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.9461, allocations: 7.938 kB / 0.5113 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9461, allocations: 0 / 0.5113 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.9464, allocations: 209 kB / 0.5115 GB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.9465, allocations: 104.8 kB / 0.5116 GB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.9465, allocations: 0 / 0.5116 GB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.9467, allocations: 4 kB / 0.5116 GB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.9467, allocations: 11.61 kB / 0.5116 GB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.9468, allocations: 11.98 kB / 0.5116 GB, free: 3.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.9468, allocations: 86.66 kB / 0.5117 GB, free: 3.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.9468, allocations: 3.938 kB / 0.5117 GB, free: 3.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004722/0.9473, allocations: 62.48 kB / 0.5117 GB, free: 3.809 MB / 362.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.0008384/0.9482, allocations: 0.7903 MB / 0.5125 GB, free: 3.016 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.9484, allocations: 83.95 kB / 0.5126 GB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9485, allocations: 4 kB / 0.5126 GB, free: 2.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.9486, allocations: 38.73 kB / 0.5126 GB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.9491, allocations: 42.02 kB / 0.5127 GB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.9508, allocations: 1.418 MB / 0.5141 GB, free: 1.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.9512, allocations: 0.7009 MB / 0.5147 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.9515, allocations: 37.19 kB / 0.5148 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.9516, allocations: 32.78 kB / 0.5148 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9516, allocations: 0 / 0.5148 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.9759, allocations: 3.383 MB / 0.5181 GB, free: 13.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003272/0.9763, allocations: 183.6 kB / 0.5183 GB, free: 13.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.562, allocations: 0 / 0.5183 GB, free: 13.07 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat