Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.178/2.178, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006085/0.0006087, allocations: 23.92 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3702, allocations: 48.69 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.241/7.611, allocations: 2.473 GB / 2.796 GB, free: 49.74 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/7.612, allocations: 86.89 kB / 2.796 GB, free: 49.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.227/8.838, allocations: 211.7 MB / 3.003 GB, free: 28.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.985e-06/8.838, allocations: 0 / 3.003 GB, free: 28.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/8.838, allocations: 4 kB / 3.003 GB, free: 28.1 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008737/8.847, allocations: 1.707 MB / 3.005 GB, free: 26.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/8.847, allocations: 19.95 kB / 3.005 GB, free: 26.32 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/8.847, allocations: 62.89 kB / 3.005 GB, free: 26.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/8.85, allocations: 191.5 kB / 3.005 GB, free: 26.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/8.85, allocations: 270.6 kB / 3.005 GB, free: 25.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/8.85, allocations: 24.66 kB / 3.005 GB, free: 25.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/8.85, allocations: 32 kB / 3.005 GB, free: 25.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/8.853, allocations: 0.7447 MB / 3.006 GB, free: 24.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/8.853, allocations: 3.938 kB / 3.006 GB, free: 24.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/8.853, allocations: 16 kB / 3.006 GB, free: 24.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/8.853, allocations: 8 kB / 3.006 GB, free: 24.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/8.856, allocations: 0.802 MB / 3.007 GB, free: 24.08 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/8.861, allocations: 2.908 MB / 3.01 GB, free: 20.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/8.863, allocations: 338.4 kB / 3.01 GB, free: 20.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9161/9.779, allocations: 139.5 MB / 3.146 GB, free: 17.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/9.781, allocations: 434.7 kB / 3.147 GB, free: 17.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 3.857e-06/9.781, allocations: 0 / 3.147 GB, free: 17.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.005309/9.786, allocations: 1.107 MB / 3.148 GB, free: 16.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/9.786, allocations: 370.8 kB / 3.148 GB, free: 15.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/9.787, allocations: 169.2 kB / 3.148 GB, free: 15.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/9.787, allocations: 35.52 kB / 3.148 GB, free: 15.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/9.787, allocations: 259.9 kB / 3.149 GB, free: 15.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/9.787, allocations: 114 kB / 3.149 GB, free: 15.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/9.787, allocations: 5.438 kB / 3.149 GB, free: 15.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/9.787, allocations: 332.7 kB / 3.149 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/9.787, allocations: 75.84 kB / 3.149 GB, free: 15.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/9.788, allocations: 342.8 kB / 3.15 GB, free: 14.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/9.788, allocations: 130.1 kB / 3.15 GB, free: 14.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/9.788, allocations: 0 / 3.15 GB, free: 14.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001132/9.789, allocations: 464.7 kB / 3.15 GB, free: 14.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/9.789, allocations: 8 kB / 3.15 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/9.789, allocations: 12 kB / 3.15 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/9.789, allocations: 17.55 kB / 3.15 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/9.792, allocations: 201.2 kB / 3.15 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004973/9.792, allocations: 1.188 MB / 3.151 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/9.793, allocations: 23 kB / 3.151 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.159e-05/9.793, allocations: 41.03 kB / 3.152 GB, free: 12.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002543/9.793, allocations: 174.6 kB / 3.152 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/9.793, allocations: 26.28 kB / 3.152 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/9.797, allocations: 2.831 MB / 3.154 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/9.797, allocations: 25.64 kB / 3.155 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/9.797, allocations: 4.375 kB / 3.155 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/9.797, allocations: 8 kB / 3.155 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/9.799, allocations: 0.9694 MB / 3.155 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/9.799, allocations: 7.953 kB / 3.155 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/9.8, allocations: 99.44 kB / 3.156 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/9.8, allocations: 158.1 kB / 3.156 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/9.8, allocations: 15 kB / 3.156 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003772/9.8, allocations: 0.6372 MB / 3.156 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/9.801, allocations: 7.609 kB / 3.156 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/9.802, allocations: 1.103 MB / 3.157 GB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/9.802, allocations: 357 kB / 3.158 GB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/9.803, allocations: 11.94 kB / 3.158 GB, free: 8.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/9.803, allocations: 19.75 kB / 3.158 GB, free: 8.812 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/9.803, allocations: 37.31 kB / 3.158 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/9.803, allocations: 15.81 kB / 3.158 GB, free: 8.777 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007122/9.804, allocations: 464.9 kB / 3.158 GB, free: 8.492 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/9.804, allocations: 0 / 3.158 GB, free: 8.492 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0075/9.812, allocations: 1.62 MB / 3.16 GB, free: 7.273 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01617/9.828, allocations: 4.243 MB / 3.164 GB, free: 3.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002151/9.83, allocations: 0.5216 MB / 3.165 GB, free: 3.383 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/9.83, allocations: 0.6875 kB / 3.165 GB, free: 3.383 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006218/9.831, allocations: 364.9 kB / 3.165 GB, free: 3.203 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/9.832, allocations: 130.1 kB / 3.165 GB, free: 3.141 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.765/12.6, allocations: 0.5545 GB / 3.719 GB, free: 68.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/12.6, allocations: 1.002 MB / 3.72 GB, free: 68.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/12.6, allocations: 313.5 kB / 3.721 GB, free: 68.01 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/12.6, allocations: 0 / 3.721 GB, free: 68.01 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.822/16.42, allocations: 41.39 MB / 3.761 GB, free: 65.66 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat