Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",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.01085/0.01086, allocations: 106 kB / 15.06 MB, free: 6.031 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.001178/0.001177, allocations: 174.5 kB / 15.93 MB, free: 5.965 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.825/1.825, allocations: 170.9 MB / 187.5 MB, free: 1.016 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.3206/0.3206, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004741, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09481, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02028/0.1151, allocations: 11.69 MB / 384 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03929/0.1545, allocations: 22.28 MB / 406.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.1548, allocations: 0 / 406.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.1552, allocations: 75.58 kB / 406.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02745/0.1827, allocations: 6.654 MB / 413 MB, free: 4.035 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1841, allocations: 307.2 kB / 413.3 MB, free: 3.734 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008766/0.1928, allocations: 3.006 MB / 416.3 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.193, allocations: 20.38 kB / 416.3 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009374/0.1939, allocations: 275 kB / 416.6 MB, free: 448 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0162/0.2102, allocations: 5.509 MB / 422.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.16e-05/0.2103, allocations: 8 kB / 422.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03061/0.2409, allocations: 10.53 MB / 432.6 MB, free: 388 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.2411, allocations: 47.8 kB / 432.7 MB, free: 340 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.2413, allocations: 77.58 kB / 432.8 MB, free: 256 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2956/0.537, allocations: 4.148 MB / 436.9 MB, free: 26.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.537, allocations: 1.156 kB / 436.9 MB, free: 26.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.537, allocations: 0 / 436.9 MB, free: 26.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.5371, allocations: 0 / 436.9 MB, free: 26.09 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009587/0.5467, allocations: 1.461 MB / 438.4 MB, free: 25.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5467, allocations: 9.062 kB / 438.4 MB, free: 25.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.5469, allocations: 64.64 kB / 438.4 MB, free: 25.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/0.5494, allocations: 228.4 kB / 438.7 MB, free: 25.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.55, allocations: 274.1 kB / 438.9 MB, free: 25.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.55, allocations: 25.64 kB / 439 MB, free: 25.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.5501, allocations: 30.62 kB / 439 MB, free: 25.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/0.5539, allocations: 0.8254 MB / 439.8 MB, free: 24.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.554, allocations: 1.406 kB / 439.8 MB, free: 24.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-05/0.5541, allocations: 14.97 kB / 439.8 MB, free: 24.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.5541, allocations: 12.7 kB / 439.8 MB, free: 24.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/0.5583, allocations: 0.9602 MB / 440.8 MB, free: 24.87 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.004911/0.5632, allocations: 2.578 MB / 443.4 MB, free: 23.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.5655, allocations: 388.2 kB / 443.8 MB, free: 23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385/1.95, allocations: 226.6 MB / 0.6547 GB, free: 124.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001984/1.952, allocations: 470.7 kB / 0.6551 GB, free: 124.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 2.966e-06/1.953, allocations: 0 / 0.6551 GB, free: 124.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.004387/1.957, allocations: 0.7847 MB / 0.6559 GB, free: 123.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.957, allocations: 376.9 kB / 0.6562 GB, free: 123.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/1.957, allocations: 174.9 kB / 0.6564 GB, free: 122.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/1.957, allocations: 41.69 kB / 0.6565 GB, free: 122.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/1.957, allocations: 178.2 kB / 0.6566 GB, free: 122.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/1.958, allocations: 116.9 kB / 0.6567 GB, free: 122.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/1.958, allocations: 8 kB / 0.6567 GB, free: 122.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.101e-05/1.958, allocations: 326.8 kB / 0.6571 GB, free: 122.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/1.958, allocations: 81.06 kB / 0.6571 GB, free: 122.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/1.958, allocations: 337.7 kB / 0.6575 GB, free: 121.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/1.959, allocations: 131.8 kB / 0.6576 GB, free: 121.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.959, allocations: 8 kB / 0.6576 GB, free: 121.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001321/1.96, allocations: 466.8 kB / 0.658 GB, free: 121.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.96, allocations: 8.938 kB / 0.658 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.96, allocations: 12 kB / 0.658 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/1.96, allocations: 16 kB / 0.6581 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/1.961, allocations: 139.8 kB / 0.6582 GB, free: 121 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/1.961, allocations: 19.92 kB / 0.6582 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/1.962, allocations: 59.2 kB / 0.6583 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/1.962, allocations: 39.98 kB / 0.6583 GB, free: 120.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * 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.0002527/1.962, allocations: 161.6 kB / 0.6585 GB, free: 120.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/1.962, allocations: 27.72 kB / 0.6585 GB, free: 120.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/1.966, allocations: 2.658 MB / 0.6611 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/1.966, allocations: 15.98 kB / 0.6611 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.966, allocations: 4 kB / 0.6611 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.966, allocations: 8.828 kB / 0.6611 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/1.967, allocations: 0.93 MB / 0.662 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.967, allocations: 3.938 kB / 0.662 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/1.968, allocations: 79.86 kB / 0.6621 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/1.968, allocations: 4 kB / 0.6621 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/1.968, allocations: 12 kB / 0.6621 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/1.968, allocations: 8.734 kB / 0.6621 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.968, allocations: 8 kB / 0.6621 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/1.969, allocations: 0.8353 MB / 0.663 GB, free: 115.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/1.97, allocations: 375.6 kB / 0.6633 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/1.97, allocations: 19.98 kB / 0.6633 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/1.971, allocations: 19.98 kB / 0.6633 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/1.971, allocations: 38.73 kB / 0.6634 GB, free: 115.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/1.971, allocations: 12 kB / 0.6634 GB, free: 115.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008164/1.972, allocations: 0.4976 MB / 0.6639 GB, free: 114.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-07/1.972, allocations: 4 kB / 0.6639 GB, free: 114.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007678/1.979, allocations: 1.499 MB / 0.6653 GB, free: 113.6 MB / 458.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: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01718/1.997, allocations: 3.819 MB / 0.6691 GB, free: 109.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/1.998, allocations: 420.5 kB / 0.6695 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.998, allocations: 0 / 0.6695 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006546/1.999, allocations: 276.9 kB / 0.6697 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/2, allocations: 124.7 kB / 0.6699 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/2.017, allocations: 10.47 MB / 0.6801 GB, free: 98.53 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/2.018, allocations: 1.005 MB / 0.6811 GB, free: 97.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001807/2.02, allocations: 0.5226 MB / 0.6816 GB, free: 96.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000715/2.021, allocations: 331.1 kB / 0.6819 GB, free: 96.65 MB / 458.7 MB Notification: Performance of SimCode: time 1.232e-06/2.021, allocations: 0 / 0.6819 GB, free: 96.65 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1676/2.188, allocations: 63.6 MB / 0.744 GB, free: 33.09 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/2.189, allocations: 201.7 kB / 0.7442 GB, free: 32.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/10.19, allocations: 4 kB / 0.7442 GB, free: 32.85 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat