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.001426/0.001426, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001166/0.001166, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1989/0.1989, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 67.88 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3372, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01515/0.3524, allocations: 13.82 MB / 0.532 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02887/0.3813, allocations: 26.6 MB / 0.5579 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.3817, allocations: 4 kB / 0.5579 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.3821, allocations: 95.39 kB / 0.558 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02724/0.4093, allocations: 8.531 MB / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009411/0.4103, allocations: 350.2 kB / 0.5667 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.4149, allocations: 2.006 MB / 0.5687 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.916e-05/0.415, allocations: 16.41 kB / 0.5687 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.4155, allocations: 266.9 kB / 0.5689 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007309/0.4229, allocations: 3.254 MB / 0.5721 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.423, allocations: 8 kB / 0.5721 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02545/0.4484, allocations: 11.61 MB / 0.5834 GB, free: 9.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.4486, allocations: 47.7 kB / 0.5835 GB, free: 9.312 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.4488, allocations: 139.3 kB / 0.5836 GB, free: 9.176 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02178/0.4706, allocations: 6.758 MB / 0.5902 GB, free: 2.402 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.4707, allocations: 11.92 kB / 0.5902 GB, free: 2.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4707, allocations: 0 / 0.5902 GB, free: 2.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.4707, allocations: 0 / 0.5902 GB, free: 2.391 MB / 446.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.004816/0.4755, allocations: 1.658 MB / 0.5919 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4756, allocations: 8.031 kB / 0.5919 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.912e-05/0.4757, allocations: 70.72 kB / 0.5919 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.4773, allocations: 188.6 kB / 0.5921 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.4777, allocations: 275.8 kB / 0.5924 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.4777, allocations: 21.03 kB / 0.5924 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.4778, allocations: 35.94 kB / 0.5924 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.48, allocations: 0.7565 MB / 0.5932 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.48, allocations: 0 / 0.5932 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.4801, allocations: 16 kB / 0.5932 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4801, allocations: 8 kB / 0.5932 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.4822, allocations: 0.8215 MB / 0.594 GB, free: 14.38 MB / 462.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.003613/0.4859, allocations: 2.707 MB / 0.5966 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.4872, allocations: 353.1 kB / 0.597 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.4874, allocations: 72.81 kB / 0.597 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6712/1.159, allocations: 142.7 MB / 0.7364 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/1.16, allocations: 448.2 kB / 0.7369 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/1.16, allocations: 0 / 0.7369 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003765/1.164, allocations: 1.14 MB / 0.738 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/1.164, allocations: 376.2 kB / 0.7383 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/1.164, allocations: 187 kB / 0.7385 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/1.164, allocations: 31.42 kB / 0.7385 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/1.164, allocations: 195.9 kB / 0.7387 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.5e-05/1.164, allocations: 118.8 kB / 0.7388 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/1.164, allocations: 126.6 kB / 0.739 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.705e-05/1.164, allocations: 330.9 kB / 0.7393 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/1.165, allocations: 82.38 kB / 0.7394 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/1.165, allocations: 350.8 kB / 0.7397 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/1.165, allocations: 482.5 kB / 0.7402 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.165, allocations: 4.094 kB / 0.7402 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008465/1.166, allocations: 470.4 kB / 0.7406 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.166, allocations: 8.969 kB / 0.7406 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.166, allocations: 10 kB / 0.7406 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.166, allocations: 13.5 kB / 0.7406 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/1.168, allocations: 215.1 kB / 0.7408 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003551/1.168, allocations: 1.189 MB / 0.742 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/1.169, allocations: 25.39 kB / 0.742 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/1.169, allocations: 46.28 kB / 0.7421 GB, free: 162.3 MB / 0.5762 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.0001716/1.169, allocations: 168.2 kB / 0.7422 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.376e-05/1.169, allocations: 29.81 kB / 0.7423 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/1.171, allocations: 2.829 MB / 0.745 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/1.171, allocations: 24.75 kB / 0.745 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.171, allocations: 3.906 kB / 0.7451 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.171, allocations: 4.312 kB / 0.7451 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/1.172, allocations: 0.9709 MB / 0.746 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.172, allocations: 2.438 kB / 0.746 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/1.173, allocations: 107.9 kB / 0.7461 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/1.173, allocations: 152.2 kB / 0.7463 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/1.173, allocations: 15.62 kB / 0.7463 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002804/1.173, allocations: 0.6418 MB / 0.7469 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.173, allocations: 7.5 kB / 0.7469 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.174, allocations: 0.9767 MB / 0.7479 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/1.174, allocations: 138.4 kB / 0.748 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.174, allocations: 98.67 kB / 0.7481 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/1.175, allocations: 16.12 kB / 0.7481 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/1.175, allocations: 38.98 kB / 0.7481 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/1.175, allocations: 15.64 kB / 0.7482 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004636/1.175, allocations: 474.6 kB / 0.7486 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.175, allocations: 0 / 0.7486 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004198/1.179, allocations: 1.629 MB / 0.7502 GB, free: 160.1 MB / 0.5762 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.00933/1.189, allocations: 3.155 MB / 0.7533 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001834/1.191, allocations: 0.5409 MB / 0.7538 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.191, allocations: 0 / 0.7538 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004297/1.191, allocations: 368 kB / 0.7542 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/1.192, allocations: 127.3 kB / 0.7543 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7045/1.897, allocations: 352.6 MB / 1.099 GB, free: 81.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/1.897, allocations: 0.9781 MB / 1.1 GB, free: 80.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001009/1.898, allocations: 0.5103 MB / 1.1 GB, free: 80.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/1.899, allocations: 315.3 kB / 1.1 GB, free: 80.06 MB / 0.6075 GB Notification: Performance of SimCode: time 1.663e-06/1.899, allocations: 0 / 1.1 GB, free: 80.06 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09441/1.993, allocations: 66.3 MB / 1.165 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/18.83, allocations: 14.83 kB / 1.165 GB, free: 14 MB / 0.6075 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