Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_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.1/package.mo): time 0.01472/0.01472, allocations: 104.4 kB / 15.05 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.1.mo): time 0.001631/0.001631, allocations: 168 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.636/1.636, allocations: 170.9 MB / 187.6 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2791/0.2791, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004697, allocations: 8 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09903, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0719/0.171, allocations: 32.7 MB / 405 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04171/0.2128, allocations: 17.02 MB / 422 MB, free: 11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.214, allocations: 27.75 kB / 422.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.2162, allocations: 390.2 kB / 422.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01717/0.2334, allocations: 3.95 MB / 426.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008518/0.2419, allocations: 2.076 MB / 428.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.2445, allocations: 1.134 MB / 429.6 MB, free: 3.414 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008464/0.2454, allocations: 397.3 kB / 430 MB, free: 3.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3041/0.5496, allocations: 6.185 MB / 436.2 MB, free: 16.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02504/0.5747, allocations: 8.66 MB / 444.8 MB, free: 16.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.575, allocations: 33.84 kB / 444.9 MB, free: 16.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01756/0.5925, allocations: 6.922 MB / 451.8 MB, free: 16.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005436/0.5931, allocations: 224.2 kB / 452 MB, free: 16.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.5935, allocations: 185.7 kB / 452.2 MB, free: 16.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007909/0.6014, allocations: 3.319 MB / 455.5 MB, free: 16.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6015, allocations: 0 / 455.5 MB, free: 16.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6015, allocations: 0 / 455.5 MB, free: 16.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.01e-05/0.6015, allocations: 0 / 455.5 MB, free: 16.51 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005397/0.6069, allocations: 1.452 MB / 457 MB, free: 15.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.607, allocations: 9.969 kB / 457 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002926/0.6073, allocations: 114.2 kB / 457.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.6094, allocations: 213.7 kB / 457.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.6107, allocations: 0.5207 MB / 457.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.6109, allocations: 113.7 kB / 457.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.611, allocations: 61.61 kB / 458 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.6138, allocations: 1.062 MB / 459 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.6138, allocations: 2.625 kB / 459 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.614, allocations: 33.52 kB / 459.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.25e-05/0.6141, allocations: 44.78 kB / 459.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.6166, allocations: 0.8148 MB / 459.9 MB, free: 13.82 MB / 330.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.007884/0.6245, allocations: 5.531 MB / 465.5 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.6261, allocations: 0.5226 MB / 466 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1957/0.8219, allocations: 53.94 MB / 0.5077 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.652e-05/0.822, allocations: 35.33 kB / 0.5078 GB, free: 12.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 4.879e-06/0.822, allocations: 4 kB / 0.5078 GB, free: 12.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.01884/0.8409, allocations: 2.113 MB / 0.5098 GB, free: 11.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.8411, allocations: 187.9 kB / 0.51 GB, free: 10.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.8433, allocations: 0.6152 MB / 0.5106 GB, free: 10.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.8435, allocations: 37.05 kB / 0.5107 GB, free: 10.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.844, allocations: 414.6 kB / 0.5111 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.8444, allocations: 164.9 kB / 0.5112 GB, free: 10.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.8445, allocations: 17.56 kB / 0.5112 GB, free: 10.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004799/0.845, allocations: 379.8 kB / 0.5116 GB, free: 9.672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.8462, allocations: 224.1 kB / 0.5118 GB, free: 9.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.848, allocations: 0.6107 MB / 0.5124 GB, free: 8.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.8495, allocations: 343.9 kB / 0.5127 GB, free: 8.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.8495, allocations: 4 kB / 0.5127 GB, free: 8.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003216/0.8527, allocations: 0.9061 MB / 0.5136 GB, free: 8.023 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.8528, allocations: 12 kB / 0.5136 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.8528, allocations: 15.38 kB / 0.5136 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007389/0.8602, allocations: 274.2 kB / 0.5139 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003655/0.8639, allocations: 290.4 kB / 0.5142 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.8674, allocations: 2.04 MB / 0.5162 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.8691, allocations: 50.27 kB / 0.5162 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.8693, allocations: 46.48 kB / 0.5163 GB, free: 5.352 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008507/0.8701, allocations: 277.7 kB / 0.5165 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.8705, allocations: 75.11 kB / 0.5166 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005713/0.8762, allocations: 2.015 MB / 0.5186 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.435e-05/0.8764, allocations: 23.2 kB / 0.5186 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8764, allocations: 4 kB / 0.5186 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.8764, allocations: 3.984 kB / 0.5186 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007935/0.8844, allocations: 2.99 MB / 0.5215 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.8844, allocations: 4 kB / 0.5215 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002838/0.8873, allocations: 182.8 kB / 0.5217 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004499/0.8918, allocations: 307.9 kB / 0.522 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.8921, allocations: 17.73 kB / 0.522 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/0.8957, allocations: 2.091 MB / 0.5241 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.8958, allocations: 4.031 kB / 0.5241 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005173/0.901, allocations: 1.949 MB / 0.526 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.9021, allocations: 284.5 kB / 0.5262 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.9024, allocations: 9.75 kB / 0.5262 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.9037, allocations: 30.28 kB / 0.5263 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.9038, allocations: 33.09 kB / 0.5263 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/0.9039, allocations: 20.86 kB / 0.5263 GB, free: 13.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001632/0.9056, allocations: 0.5504 MB / 0.5269 GB, free: 13.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.324e-06/0.9056, allocations: 0 / 0.5269 GB, free: 13.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007044/0.9127, allocations: 1.089 MB / 0.5279 GB, free: 12.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01603/0.9288, allocations: 3.718 MB / 0.5316 GB, free: 9.098 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004344/0.9332, allocations: 0.9191 MB / 0.5324 GB, free: 8.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.9332, allocations: 0 / 0.5324 GB, free: 8.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/0.936, allocations: 0.6384 MB / 0.5331 GB, free: 8.074 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004139/0.9401, allocations: 357.3 kB / 0.5334 GB, free: 7.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/0.9663, allocations: 14.18 MB / 0.5473 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.9678, allocations: 1.121 MB / 0.5484 GB, free: 9.176 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002132/0.9699, allocations: 341.8 kB / 0.5487 GB, free: 8.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.971, allocations: 380.7 kB / 0.549 GB, free: 8.754 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.971, allocations: 0 / 0.549 GB, free: 8.754 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4657/1.437, allocations: 53.83 MB / 0.6016 GB, free: 178.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/1.437, allocations: 270.8 kB / 0.6019 GB, free: 178.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.877/7.314, allocations: 1.859 kB / 0.6019 GB, free: 178.4 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat