Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.31/2.31, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.42e-05, allocations: 7.984 kB / 309.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4287, allocations: 54.84 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.668, allocations: 414.8 MB / 0.7612 GB, free: 129.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/1.668, allocations: 97.27 kB / 0.7613 GB, free: 129.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4224/2.091, allocations: 117.6 MB / 0.8761 GB, free: 27.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/2.091, allocations: 0 / 0.8761 GB, free: 27.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.77e-05/2.091, allocations: 23.98 kB / 0.8762 GB, free: 27.72 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002972/2.094, allocations: 0.971 MB / 0.8771 GB, free: 26.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/2.094, allocations: 8.031 kB / 0.8771 GB, free: 26.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/2.094, allocations: 94.5 kB / 0.8772 GB, free: 26.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000516/2.095, allocations: 87.16 kB / 0.8773 GB, free: 26.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/2.096, allocations: 0.552 MB / 0.8778 GB, free: 25.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/2.096, allocations: 100.4 kB / 0.8779 GB, free: 25.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/2.097, allocations: 51.98 kB / 0.878 GB, free: 25.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/2.098, allocations: 0.795 MB / 0.8787 GB, free: 24.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/2.098, allocations: 3.938 kB / 0.8787 GB, free: 24.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/2.099, allocations: 27.98 kB / 0.8788 GB, free: 24.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.151e-05/2.099, allocations: 40.98 kB / 0.8788 GB, free: 24.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/2.1, allocations: 0.6205 MB / 0.8794 GB, free: 24.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006304/2.106, allocations: 3.9 MB / 0.8832 GB, free: 20.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/2.108, allocations: 387.7 kB / 0.8836 GB, free: 19.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/2.108, allocations: 193.5 kB / 0.8838 GB, free: 19.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/2.109, allocations: 0.5029 MB / 0.8843 GB, free: 18.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/2.109, allocations: 38.89 kB / 0.8843 GB, free: 18.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.747e-06/2.109, allocations: 0 / 0.8843 GB, free: 18.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.004018/2.113, allocations: 1.31 MB / 0.8856 GB, free: 17.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/2.113, allocations: 144.5 kB / 0.8857 GB, free: 17.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/2.114, allocations: 484.8 kB / 0.8862 GB, free: 16.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/2.114, allocations: 41.7 kB / 0.8862 GB, free: 16.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/2.114, allocations: 401.9 kB / 0.8866 GB, free: 16.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/2.114, allocations: 165.7 kB / 0.8868 GB, free: 16.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/2.114, allocations: 12 kB / 0.8868 GB, free: 16.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/2.114, allocations: 346.8 kB / 0.8871 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/2.115, allocations: 209.5 kB / 0.8873 GB, free: 15.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/2.116, allocations: 0.5273 MB / 0.8878 GB, free: 14.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/2.116, allocations: 317.3 kB / 0.8881 GB, free: 14.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/2.116, allocations: 4 kB / 0.8881 GB, free: 14.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002589/2.119, allocations: 0.91 MB / 0.889 GB, free: 13.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/2.119, allocations: 12 kB / 0.889 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/2.119, allocations: 8 kB / 0.889 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/2.121, allocations: 259.6 kB / 0.8893 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/2.121, allocations: 135.8 kB / 0.8894 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/2.122, allocations: 0.845 MB / 0.8902 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/2.123, allocations: 44.05 kB / 0.8903 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/2.124, allocations: 39.98 kB / 0.8903 GB, free: 12.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002126/2.124, allocations: 160.6 kB / 0.8905 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/2.124, allocations: 63.25 kB / 0.8905 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/2.126, allocations: 0.684 MB / 0.8912 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/2.126, allocations: 8 kB / 0.8912 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/2.126, allocations: 0 / 0.8912 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/2.126, allocations: 7.938 kB / 0.8912 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/2.129, allocations: 1.356 MB / 0.8925 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/2.129, allocations: 4.25 kB / 0.8925 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/2.131, allocations: 199.8 kB / 0.8927 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/2.131, allocations: 56.73 kB / 0.8928 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/2.131, allocations: 11.98 kB / 0.8928 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/2.134, allocations: 2.778 MB / 0.8955 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/2.134, allocations: 3.938 kB / 0.8955 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/2.137, allocations: 1.039 MB / 0.8965 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007048/2.138, allocations: 208.2 kB / 0.8967 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/2.138, allocations: 15.98 kB / 0.8967 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/2.139, allocations: 28.05 kB / 0.8968 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/2.139, allocations: 35.95 kB / 0.8968 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.542e-05/2.14, allocations: 23.92 kB / 0.8968 GB, free: 5.223 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009748/2.141, allocations: 373.5 kB / 0.8972 GB, free: 4.859 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.51e-07/2.141, allocations: 4 kB / 0.8972 GB, free: 4.855 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00207/2.143, allocations: 223.9 kB / 0.8974 GB, free: 4.637 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004457/2.147, allocations: 2.224 MB / 0.8996 GB, free: 2.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002521/2.15, allocations: 0.5896 MB / 0.9002 GB, free: 1.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/2.15, allocations: 0 / 0.9002 GB, free: 1.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/2.152, allocations: 450.6 kB / 0.9006 GB, free: 1.297 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/2.156, allocations: 317 kB / 0.9009 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3714/2.528, allocations: 1.216 MB / 0.9021 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/2.529, allocations: 0.9475 MB / 0.903 GB, free: 120.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006317/2.529, allocations: 235.4 kB / 0.9032 GB, free: 120.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/2.529, allocations: 0 / 0.9032 GB, free: 120.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.209/5.738, allocations: 17.64 MB / 0.9204 GB, free: 120.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat