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_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.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01052/0.01053, allocations: 104.9 kB / 15.06 MB, free: 5.551 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.001142/0.001142, allocations: 168.8 kB / 15.93 MB, free: 5.523 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.798/1.798, allocations: 170.9 MB / 187.5 MB, free: 0.9922 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.2562/0.2562, allocations: 38.09 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006406/0.0006409, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09642, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02028/0.1168, allocations: 11.69 MB / 384 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04035/0.1572, allocations: 22.27 MB / 406.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.1575, allocations: 0 / 406.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.158, allocations: 83.62 kB / 406.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02844/0.1865, allocations: 6.654 MB / 413 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.1879, allocations: 315.2 kB / 413.3 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008941/0.1968, allocations: 3.002 MB / 416.3 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.197, allocations: 20.39 kB / 416.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008126/0.1978, allocations: 267.1 kB / 416.6 MB, free: 444 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01627/0.2141, allocations: 5.513 MB / 422.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.331e-05/0.2142, allocations: 8 kB / 422.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3047/0.5189, allocations: 11.23 MB / 433.3 MB, free: 26.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.5191, allocations: 46.98 kB / 433.4 MB, free: 26.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.5193, allocations: 74.17 kB / 433.5 MB, free: 26.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.5331, allocations: 4.434 MB / 437.9 MB, free: 25.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5331, allocations: 1.219 kB / 437.9 MB, free: 25.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5331, allocations: 2.734 kB / 437.9 MB, free: 25.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.5332, allocations: 0 / 437.9 MB, free: 25.94 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.009136/0.5423, allocations: 1.512 MB / 439.4 MB, free: 25.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.5424, allocations: 9.906 kB / 439.4 MB, free: 25.09 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.5425, allocations: 68.67 kB / 439.5 MB, free: 25.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/0.5446, allocations: 192.1 kB / 439.7 MB, free: 25.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.5451, allocations: 261 kB / 439.9 MB, free: 24.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.5452, allocations: 28.45 kB / 440 MB, free: 24.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/0.5453, allocations: 31.75 kB / 440 MB, free: 24.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/0.5483, allocations: 0.752 MB / 440.7 MB, free: 24.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.5484, allocations: 2.5 kB / 440.7 MB, free: 24.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/0.5485, allocations: 16.34 kB / 440.8 MB, free: 24.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.5485, allocations: 11.48 kB / 440.8 MB, free: 24.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003181/0.5517, allocations: 0.8162 MB / 441.6 MB, free: 24.68 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.005016/0.5568, allocations: 2.711 MB / 444.3 MB, free: 22.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.5585, allocations: 345.9 kB / 444.6 MB, free: 22.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7069/1.265, allocations: 142 MB / 0.5729 GB, free: 14.99 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001848/1.267, allocations: 443.5 kB / 0.5733 GB, free: 14.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 3.297e-06/1.267, allocations: 0 / 0.5733 GB, free: 14.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.005946/1.273, allocations: 1.114 MB / 0.5744 GB, free: 13.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/1.274, allocations: 374 kB / 0.5748 GB, free: 13.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/1.274, allocations: 186.8 kB / 0.575 GB, free: 13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/1.274, allocations: 34.08 kB / 0.575 GB, free: 12.97 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/1.274, allocations: 189.6 kB / 0.5752 GB, free: 12.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/1.274, allocations: 112.9 kB / 0.5753 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/1.274, allocations: 6.188 kB / 0.5753 GB, free: 12.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/1.274, allocations: 336.4 kB / 0.5756 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/1.275, allocations: 79.88 kB / 0.5757 GB, free: 12.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/1.275, allocations: 343.2 kB / 0.576 GB, free: 11.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/1.276, allocations: 129.5 kB / 0.5761 GB, free: 11.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.276, allocations: 4 kB / 0.5761 GB, free: 11.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001339/1.277, allocations: 467.6 kB / 0.5766 GB, free: 11.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.277, allocations: 12.03 kB / 0.5766 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.277, allocations: 12 kB / 0.5766 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/1.277, allocations: 12 kB / 0.5766 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/1.28, allocations: 214 kB / 0.5768 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007783/1.281, allocations: 1.18 MB / 0.578 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/1.281, allocations: 27.66 kB / 0.578 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.282, allocations: 47.66 kB / 0.578 GB, free: 10 MB / 458.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.0002706/1.282, allocations: 156.9 kB / 0.5782 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/1.282, allocations: 27.8 kB / 0.5782 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/1.287, allocations: 2.891 MB / 0.581 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/1.287, allocations: 21.66 kB / 0.5811 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.287, allocations: 4.875 kB / 0.5811 GB, free: 7.887 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.287, allocations: 4 kB / 0.5811 GB, free: 7.883 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/1.288, allocations: 0.9686 MB / 0.582 GB, free: 7.145 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/1.288, allocations: 384 / 0.582 GB, free: 7.145 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/1.289, allocations: 108.1 kB / 0.5821 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/1.29, allocations: 167.3 kB / 0.5823 GB, free: 6.918 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/1.29, allocations: 14.66 kB / 0.5823 GB, free: 6.914 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005477/1.29, allocations: 0.6387 MB / 0.5829 GB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.29, allocations: 4 kB / 0.5829 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/1.292, allocations: 1.115 MB / 0.584 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005614/1.293, allocations: 350.9 kB / 0.5844 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/1.293, allocations: 15.36 kB / 0.5844 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/1.294, allocations: 21.97 kB / 0.5844 GB, free: 5.035 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/1.294, allocations: 34.81 kB / 0.5844 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/1.294, allocations: 15.25 kB / 0.5844 GB, free: 4.996 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008791/1.295, allocations: 465.8 kB / 0.5849 GB, free: 4.629 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.12e-07/1.295, allocations: 4 kB / 0.5849 GB, free: 4.625 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008899/1.304, allocations: 1.602 MB / 0.5864 GB, free: 3.086 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: 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.2828/1.587, allocations: 4.06 MB / 0.5904 GB, free: 187.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002631/1.589, allocations: 0.533 MB / 0.5909 GB, free: 187.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.589, allocations: 3.969 kB / 0.5909 GB, free: 187.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008028/1.59, allocations: 357.7 kB / 0.5913 GB, free: 187.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/1.591, allocations: 127 kB / 0.5914 GB, free: 187.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.606, allocations: 10.6 MB / 0.6018 GB, free: 179 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/1.607, allocations: 0.9999 MB / 0.6027 GB, free: 178.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001432/1.608, allocations: 0.5094 MB / 0.6032 GB, free: 178.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/1.609, allocations: 311.2 kB / 0.6035 GB, free: 178.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.194e-06/1.609, allocations: 3.312 kB / 0.6035 GB, free: 178.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1428/1.752, allocations: 66.29 MB / 0.6683 GB, free: 118.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/1.752, allocations: 233.1 kB / 0.6685 GB, free: 118.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/9.898, allocations: 0 / 0.6685 GB, free: 118.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat