Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2345/0.2345, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 69.23 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01605/0.1252, allocations: 13.8 MB / 483.2 MB, free: 408 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02895/0.1542, allocations: 26.6 MB / 0.4978 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.1545, allocations: 0 / 0.4978 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.155, allocations: 95.38 kB / 0.4979 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2497/0.4047, allocations: 8.517 MB / 0.5062 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009896/0.4057, allocations: 349.5 kB / 0.5066 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004744/0.4105, allocations: 1.995 MB / 0.5085 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.4106, allocations: 18.3 kB / 0.5085 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006045/0.4112, allocations: 268.1 kB / 0.5088 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00719/0.4184, allocations: 3.256 MB / 0.512 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/0.4185, allocations: 9.875 kB / 0.512 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02356/0.4421, allocations: 11.34 MB / 0.523 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.4423, allocations: 52.34 kB / 0.5231 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.4428, allocations: 138.5 kB / 0.5232 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02392/0.4667, allocations: 6.756 MB / 0.5298 GB, free: 9.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4668, allocations: 0 / 0.5298 GB, free: 9.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4668, allocations: 0 / 0.5298 GB, free: 9.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.4668, allocations: 0 / 0.5298 GB, free: 9.574 MB / 382.1 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.004688/0.4715, allocations: 1.623 MB / 0.5314 GB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4715, allocations: 8.562 kB / 0.5314 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.964e-05/0.4716, allocations: 68 kB / 0.5315 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.4731, allocations: 191.1 kB / 0.5317 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.4733, allocations: 271.2 kB / 0.5319 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.4733, allocations: 24.42 kB / 0.5319 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.4734, allocations: 34.69 kB / 0.532 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.4752, allocations: 0.7574 MB / 0.5327 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4753, allocations: 3.188 kB / 0.5327 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.4753, allocations: 10.56 kB / 0.5327 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4753, allocations: 9.406 kB / 0.5327 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.4773, allocations: 0.8198 MB / 0.5335 GB, free: 7.152 MB / 382.1 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.002688/0.48, allocations: 2.71 MB / 0.5362 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.4811, allocations: 344 kB / 0.5365 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.4812, allocations: 75.66 kB / 0.5366 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3687/0.8499, allocations: 141 MB / 0.6743 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/0.8514, allocations: 453.8 kB / 0.6747 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.495e-06/0.8514, allocations: 0 / 0.6747 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.003909/0.8553, allocations: 1.128 MB / 0.6758 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.8555, allocations: 371.2 kB / 0.6762 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.8556, allocations: 185.8 kB / 0.6764 GB, free: 11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.8557, allocations: 33.7 kB / 0.6764 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.8558, allocations: 186.5 kB / 0.6766 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.8559, allocations: 118.1 kB / 0.6767 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.8561, allocations: 126.2 kB / 0.6768 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.8562, allocations: 326.8 kB / 0.6771 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.8564, allocations: 81.06 kB / 0.6772 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.8568, allocations: 346.2 kB / 0.6775 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.8575, allocations: 482.4 kB / 0.678 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.8575, allocations: 4 kB / 0.678 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009422/0.8584, allocations: 478 kB / 0.6784 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.8585, allocations: 12 kB / 0.6784 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.8585, allocations: 8 kB / 0.6785 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.8585, allocations: 12 kB / 0.6785 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.8601, allocations: 213.6 kB / 0.6787 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005752/0.8607, allocations: 1.183 MB / 0.6798 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.861, allocations: 23.94 kB / 0.6798 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/0.8611, allocations: 47.97 kB / 0.6799 GB, free: 7.172 MB / 0.5294 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.8613, allocations: 157.1 kB / 0.68 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.8614, allocations: 33.25 kB / 0.6801 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.8643, allocations: 2.838 MB / 0.6828 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.8643, allocations: 20.34 kB / 0.6829 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8643, allocations: 8 kB / 0.6829 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.8643, allocations: 11.92 kB / 0.6829 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009396/0.8653, allocations: 0.9662 MB / 0.6838 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.8653, allocations: 4 kB / 0.6838 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.8658, allocations: 91.34 kB / 0.6839 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.866, allocations: 165.1 kB / 0.6841 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.8661, allocations: 8 kB / 0.6841 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003927/0.8665, allocations: 0.6528 MB / 0.6847 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.8665, allocations: 8.172 kB / 0.6847 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.8677, allocations: 0.9789 MB / 0.6857 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.8678, allocations: 128.4 kB / 0.6858 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.8679, allocations: 94.7 kB / 0.6859 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.8683, allocations: 16 kB / 0.6859 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.8683, allocations: 31 kB / 0.6859 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.8683, allocations: 17.8 kB / 0.686 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005369/0.8689, allocations: 479 kB / 0.6864 GB, free: 396 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8689, allocations: 0 / 0.6864 GB, free: 396 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004629/0.8735, allocations: 1.609 MB / 0.688 GB, free: 14.78 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01043/0.884, allocations: 3.138 MB / 0.691 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.8861, allocations: 0.5536 MB / 0.6916 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.8861, allocations: 0 / 0.6916 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.8867, allocations: 362.5 kB / 0.6919 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009739/0.8876, allocations: 135.4 kB / 0.6921 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8812/1.769, allocations: 352.7 MB / 1.036 GB, free: 93.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/1.769, allocations: 0.9896 MB / 1.037 GB, free: 92.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006665/1.77, allocations: 0.5034 MB / 1.038 GB, free: 92.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/1.77, allocations: 319.3 kB / 1.038 GB, free: 91.87 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/1.77, allocations: 0 / 1.038 GB, free: 91.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3038/2.074, allocations: 66.38 MB / 1.103 GB, free: 178.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/17.42, allocations: 20.2 kB / 1.103 GB, free: 178.1 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches