Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01314/0.01314, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001227/0.001228, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.943/1.943, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2846/0.2846, allocations: 40.04 MB / 296.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006761/0.0006764, allocations: 12 kB / 361.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1228, allocations: 54.87 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02217/0.145, allocations: 11.76 MB / 427.8 MB, free: 6.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04298/0.1881, allocations: 22.39 MB / 450.2 MB, free: 312 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.1884, allocations: 4 kB / 450.2 MB, free: 308 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.1889, allocations: 71.64 kB / 450.2 MB, free: 236 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4106/0.5995, allocations: 6.706 MB / 456.9 MB, free: 31.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.6008, allocations: 310 kB / 457.3 MB, free: 31.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008214/0.6091, allocations: 3.046 MB / 460.3 MB, free: 31.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.6092, allocations: 18.42 kB / 460.3 MB, free: 31.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007951/0.61, allocations: 273 kB / 460.6 MB, free: 31.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01478/0.6249, allocations: 5.571 MB / 466.2 MB, free: 31.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.625, allocations: 6.5 kB / 466.2 MB, free: 31.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03133/0.6563, allocations: 11.44 MB / 477.6 MB, free: 31.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.6565, allocations: 44.59 kB / 477.6 MB, free: 31.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.6568, allocations: 77.64 kB / 477.7 MB, free: 31.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01528/0.6721, allocations: 4.492 MB / 482.2 MB, free: 31.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6722, allocations: 0 / 482.2 MB, free: 31.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6722, allocations: 0 / 482.2 MB, free: 31.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.6722, allocations: 0 / 482.2 MB, free: 31.17 MB / 378.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.009688/0.6819, allocations: 1.551 MB / 483.8 MB, free: 30.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.682, allocations: 12.2 kB / 483.8 MB, free: 30.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.6821, allocations: 71.12 kB / 483.8 MB, free: 30.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.6844, allocations: 188.3 kB / 484 MB, free: 30.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.6851, allocations: 264.4 kB / 484.3 MB, free: 30.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.6851, allocations: 22.53 kB / 484.3 MB, free: 30.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/0.6852, allocations: 32.66 kB / 484.3 MB, free: 30.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.6888, allocations: 0.7481 MB / 485.1 MB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.6889, allocations: 3.094 kB / 485.1 MB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.689, allocations: 15.62 kB / 485.1 MB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.689, allocations: 8.719 kB / 485.1 MB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003544/0.6926, allocations: 0.8143 MB / 485.9 MB, free: 29.9 MB / 378.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.005109/0.6977, allocations: 2.727 MB / 488.7 MB, free: 27.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.6996, allocations: 348.7 kB / 489 MB, free: 27.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6831/1.383, allocations: 142.5 MB / 0.6167 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002004/1.385, allocations: 438.9 kB / 0.6171 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.807e-06/1.385, allocations: 0 / 0.6171 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.006412/1.391, allocations: 1.109 MB / 0.6182 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002147/1.392, allocations: 378 kB / 0.6186 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/1.392, allocations: 198.8 kB / 0.6187 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/1.392, allocations: 32.2 kB / 0.6188 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/1.392, allocations: 185.8 kB / 0.619 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/1.392, allocations: 112.7 kB / 0.6191 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/1.392, allocations: 14.5 kB / 0.6191 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.393, allocations: 332.3 kB / 0.6194 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/1.393, allocations: 75.38 kB / 0.6195 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/1.393, allocations: 341.1 kB / 0.6198 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/1.394, allocations: 129.5 kB / 0.6199 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.394, allocations: 0 / 0.6199 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001371/1.395, allocations: 470.1 kB / 0.6204 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/1.395, allocations: 8 kB / 0.6204 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.395, allocations: 8 kB / 0.6204 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.357e-05/1.395, allocations: 19.47 kB / 0.6204 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/1.398, allocations: 208.1 kB / 0.6206 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008307/1.399, allocations: 1.193 MB / 0.6218 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/1.4, allocations: 27.09 kB / 0.6218 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.4, allocations: 38.48 kB / 0.6218 GB, free: 8.129 MB / 0.4948 GB 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.0003141/1.4, allocations: 176.8 kB / 0.622 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/1.4, allocations: 27.72 kB / 0.622 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/1.405, allocations: 2.875 MB / 0.6248 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.815e-05/1.405, allocations: 24.97 kB / 0.6248 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.405, allocations: 4 kB / 0.6248 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.405, allocations: 3.984 kB / 0.6249 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/1.407, allocations: 0.9676 MB / 0.6258 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.407, allocations: 7.984 kB / 0.6258 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/1.408, allocations: 99.7 kB / 0.6259 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003926/1.409, allocations: 165.1 kB / 0.6261 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/1.409, allocations: 20.67 kB / 0.6261 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006331/1.409, allocations: 0.6354 MB / 0.6267 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.409, allocations: 4 kB / 0.6267 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/1.411, allocations: 1.107 MB / 0.6278 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/1.412, allocations: 353.5 kB / 0.6281 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/1.412, allocations: 17.27 kB / 0.6281 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006742/1.413, allocations: 15.73 kB / 0.6282 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/1.413, allocations: 34.44 kB / 0.6282 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/1.413, allocations: 18.73 kB / 0.6282 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008922/1.414, allocations: 466.1 kB / 0.6286 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.054e-06/1.414, allocations: 0 / 0.6286 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009627/1.424, allocations: 1.618 MB / 0.6302 GB, free: 1.203 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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.3393/1.763, allocations: 4.08 MB / 0.6342 GB, free: 181.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002421/1.765, allocations: 0.5303 MB / 0.6347 GB, free: 181.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.765, allocations: 0 / 0.6347 GB, free: 181.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/1.766, allocations: 360.7 kB / 0.6351 GB, free: 181.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/1.767, allocations: 121.8 kB / 0.6352 GB, free: 181.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.782, allocations: 10.62 MB / 0.6456 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/1.783, allocations: 1 MB / 0.6465 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001308/1.784, allocations: 0.5022 MB / 0.647 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/1.785, allocations: 310.6 kB / 0.6473 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of SimCode: time 3.136e-06/1.785, allocations: 3.438 kB / 0.6473 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2271/2.012, allocations: 66.9 MB / 0.7127 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/2.012, allocations: 233.3 kB / 0.7129 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/10.38, allocations: 0 / 0.7129 GB, free: 131.5 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat