Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",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.001061/0.001062, 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.001411/0.001411, 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.356/1.356, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.2127/0.2127, allocations: 44.18 MB / 336.6 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002142, allocations: 60.88 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1317, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01597/0.1478, allocations: 13.82 MB / 483.2 MB, free: 384 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02965/0.1775, allocations: 26.6 MB / 0.4978 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003084/0.1778, allocations: 0 / 0.4978 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.1784, allocations: 99.38 kB / 0.4979 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2961/0.4744, allocations: 8.51 MB / 0.5062 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.4755, allocations: 349.7 kB / 0.5066 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005055/0.4806, allocations: 2.002 MB / 0.5085 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.057e-05/0.4807, allocations: 20.8 kB / 0.5085 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.4813, allocations: 271.4 kB / 0.5088 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007197/0.4885, allocations: 3.26 MB / 0.512 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.969e-05/0.4886, allocations: 15.53 kB / 0.512 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0238/0.5124, allocations: 10.56 MB / 0.5223 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.5126, allocations: 52.22 kB / 0.5224 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003586/0.5129, allocations: 138 kB / 0.5225 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01965/0.5326, allocations: 6.324 MB / 0.5287 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.5326, allocations: 3.844 kB / 0.5287 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5326, allocations: 0 / 0.5287 GB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.5327, allocations: 0 / 0.5287 GB, free: 10.23 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.004552/0.5372, allocations: 1.557 MB / 0.5302 GB, free: 9.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.5373, allocations: 11.22 kB / 0.5302 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.5373, allocations: 68.94 kB / 0.5303 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.539, allocations: 218.9 kB / 0.5305 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.5392, allocations: 275.3 kB / 0.5307 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.5393, allocations: 24 kB / 0.5308 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.5393, allocations: 39.53 kB / 0.5308 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.5415, allocations: 0.8186 MB / 0.5316 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5415, allocations: 3.469 kB / 0.5316 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.5416, allocations: 11.09 kB / 0.5316 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.5416, allocations: 9.984 kB / 0.5316 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.5438, allocations: 0.9422 MB / 0.5325 GB, free: 7.746 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.002793/0.5466, allocations: 2.585 MB / 0.5351 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.5479, allocations: 379 kB / 0.5354 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.5481, allocations: 77.39 kB / 0.5355 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8226/1.371, allocations: 225 MB / 0.7552 GB, free: 176.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/1.372, allocations: 471 kB / 0.7556 GB, free: 176.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.875e-06/1.372, allocations: 4 kB / 0.7556 GB, free: 176.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.002879/1.375, allocations: 0.7746 MB / 0.7564 GB, free: 175.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/1.375, allocations: 376 kB / 0.7568 GB, free: 175.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/1.375, allocations: 187 kB / 0.7569 GB, free: 174.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/1.375, allocations: 33.7 kB / 0.757 GB, free: 174.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/1.375, allocations: 186.8 kB / 0.7571 GB, free: 174.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/1.375, allocations: 108.6 kB / 0.7572 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/1.376, allocations: 126.1 kB / 0.7574 GB, free: 174.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/1.376, allocations: 341.2 kB / 0.7577 GB, free: 174.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/1.376, allocations: 81.06 kB / 0.7578 GB, free: 174.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/1.376, allocations: 345.5 kB / 0.7581 GB, free: 173.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/1.377, allocations: 484.8 kB / 0.7586 GB, free: 173 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.377, allocations: 4 kB / 0.7586 GB, free: 173 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008131/1.378, allocations: 471.5 kB / 0.759 GB, free: 172.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.378, allocations: 10.5 kB / 0.759 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.378, allocations: 15.31 kB / 0.759 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/1.378, allocations: 12 kB / 0.7591 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/1.378, allocations: 145.6 kB / 0.7592 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.378, allocations: 15.94 kB / 0.7592 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/1.378, allocations: 51.52 kB / 0.7593 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/1.378, allocations: 44.33 kB / 0.7593 GB, free: 172.3 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/1.379, allocations: 169.5 kB / 0.7595 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/1.379, allocations: 27.72 kB / 0.7595 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/1.381, allocations: 2.606 MB / 0.762 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/1.381, allocations: 19.97 kB / 0.7621 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.381, allocations: 4 kB / 0.7621 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/1.381, allocations: 7.984 kB / 0.7621 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/1.382, allocations: 0.9291 MB / 0.763 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.382, allocations: 4.375 kB / 0.763 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/1.382, allocations: 83.86 kB / 0.7631 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/1.382, allocations: 4 kB / 0.7631 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/1.382, allocations: 8 kB / 0.7631 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.382, allocations: 7.844 kB / 0.7631 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.382, allocations: 7.938 kB / 0.7631 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/1.383, allocations: 0.7043 MB / 0.7638 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/1.383, allocations: 124.5 kB / 0.7639 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.383, allocations: 102.5 kB / 0.764 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/1.383, allocations: 19.98 kB / 0.764 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/1.383, allocations: 43.64 kB / 0.764 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/1.383, allocations: 18.19 kB / 0.7641 GB, free: 167.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000543/1.384, allocations: 0.504 MB / 0.7646 GB, free: 166.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.384, allocations: 0 / 0.7646 GB, free: 166.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006059/1.39, allocations: 1.508 MB / 0.766 GB, free: 165.4 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01002/1.4, allocations: 2.854 MB / 0.7688 GB, free: 162.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.401, allocations: 428.7 kB / 0.7692 GB, free: 162.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.401, allocations: 0 / 0.7692 GB, free: 162.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/1.401, allocations: 284.4 kB / 0.7695 GB, free: 162 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/1.402, allocations: 132.8 kB / 0.7696 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.362/2.764, allocations: 0.6054 GB / 1.375 GB, free: 124.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/2.764, allocations: 0.9817 MB / 1.376 GB, free: 123.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007868/2.765, allocations: 0.5273 MB / 1.376 GB, free: 122.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/2.766, allocations: 335.3 kB / 1.377 GB, free: 122.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/2.766, allocations: 1.422 kB / 1.377 GB, free: 122.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09981/2.865, allocations: 63.48 MB / 1.439 GB, free: 58.92 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/14.63, allocations: 10.42 kB / 1.439 GB, free: 58.91 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_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_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches