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.001367/0.001367, allocations: 113.8 kB / 17.77 MB, free: 5.367 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.001286/0.001286, allocations: 183.1 kB / 18.7 MB, free: 4.441 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.221/0.221, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.83 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3665, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01465/0.3812, allocations: 13.81 MB / 0.5319 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02779/0.409, allocations: 26.59 MB / 0.5579 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.4093, allocations: 0 / 0.5579 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.4097, allocations: 99.38 kB / 0.558 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02767/0.4374, allocations: 8.535 MB / 0.5663 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.4385, allocations: 358.2 kB / 0.5667 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004661/0.4431, allocations: 1.998 MB / 0.5686 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.4432, allocations: 20.41 kB / 0.5687 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005976/0.4438, allocations: 270.8 kB / 0.5689 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007163/0.451, allocations: 3.266 MB / 0.5721 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.886e-05/0.4511, allocations: 8 kB / 0.5721 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02174/0.4728, allocations: 10.81 MB / 0.5827 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.473, allocations: 51.7 kB / 0.5827 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.4732, allocations: 135.4 kB / 0.5829 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.4906, allocations: 6.329 MB / 0.589 GB, free: 3.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4906, allocations: 0 / 0.589 GB, free: 3.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4906, allocations: 0 / 0.589 GB, free: 3.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.4906, allocations: 11.94 kB / 0.589 GB, free: 3.594 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.004833/0.4955, allocations: 1.595 MB / 0.5906 GB, free: 1.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4955, allocations: 12.03 kB / 0.5906 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.386e-05/0.4956, allocations: 70.72 kB / 0.5907 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.4974, allocations: 224.5 kB / 0.5909 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.4978, allocations: 279.9 kB / 0.5912 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.4979, allocations: 21.03 kB / 0.5912 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/0.4979, allocations: 35.94 kB / 0.5912 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.5004, allocations: 0.8172 MB / 0.592 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.5005, allocations: 7.938 kB / 0.592 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.5005, allocations: 16 kB / 0.592 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.5005, allocations: 8 kB / 0.592 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.5031, allocations: 0.9309 MB / 0.593 GB, free: 15.44 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.003506/0.5066, allocations: 2.574 MB / 0.5955 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.5081, allocations: 378.2 kB / 0.5958 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.5083, allocations: 84.8 kB / 0.5959 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8601/1.368, allocations: 227.5 MB / 0.818 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/1.37, allocations: 474.2 kB / 0.8185 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 3.327e-06/1.37, allocations: 0 / 0.8185 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003014/1.373, allocations: 0.782 MB / 0.8192 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/1.373, allocations: 379.8 kB / 0.8196 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/1.373, allocations: 181.8 kB / 0.8198 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/1.373, allocations: 30.08 kB / 0.8198 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/1.373, allocations: 196.5 kB / 0.82 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/1.373, allocations: 108.2 kB / 0.8201 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.373, allocations: 126.2 kB / 0.8202 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.711e-05/1.374, allocations: 333.8 kB / 0.8205 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/1.374, allocations: 81.06 kB / 0.8206 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/1.374, allocations: 345.7 kB / 0.8209 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/1.375, allocations: 481.2 kB / 0.8214 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.375, allocations: 8 kB / 0.8214 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008508/1.375, allocations: 472.7 kB / 0.8219 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.376, allocations: 11.72 kB / 0.8219 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.376, allocations: 8 kB / 0.8219 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.376, allocations: 16 kB / 0.8219 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/1.376, allocations: 146.1 kB / 0.822 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.376, allocations: 19.88 kB / 0.8221 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/1.376, allocations: 51.48 kB / 0.8221 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/1.376, allocations: 47.97 kB / 0.8222 GB, free: 104.9 MB / 0.5762 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.0001477/1.377, allocations: 154.4 kB / 0.8223 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.377, allocations: 27.89 kB / 0.8223 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/1.379, allocations: 2.61 MB / 0.8249 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/1.379, allocations: 19.97 kB / 0.8249 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.379, allocations: 7.938 kB / 0.8249 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.379, allocations: 7.938 kB / 0.8249 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008008/1.38, allocations: 0.9326 MB / 0.8258 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.38, allocations: 4 kB / 0.8258 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/1.38, allocations: 71.88 kB / 0.8259 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.38, allocations: 8.281 kB / 0.8259 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/1.38, allocations: 15.98 kB / 0.8259 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.38, allocations: 4 kB / 0.8259 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.38, allocations: 14.31 kB / 0.8259 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/1.381, allocations: 0.6934 MB / 0.8266 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/1.381, allocations: 136.6 kB / 0.8267 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/1.381, allocations: 105.7 kB / 0.8268 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/1.381, allocations: 15.98 kB / 0.8269 GB, free: 100 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/1.381, allocations: 39.83 kB / 0.8269 GB, free: 100 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/1.381, allocations: 16 kB / 0.8269 GB, free: 99.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004773/1.382, allocations: 0.5001 MB / 0.8274 GB, free: 99.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/1.382, allocations: 4 kB / 0.8274 GB, free: 99.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00384/1.386, allocations: 1.528 MB / 0.8289 GB, free: 97.94 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: 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.007905/1.394, allocations: 2.888 MB / 0.8317 GB, free: 95.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007327/1.394, allocations: 422.2 kB / 0.8321 GB, free: 94.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.394, allocations: 0 / 0.8321 GB, free: 94.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003071/1.395, allocations: 277.5 kB / 0.8324 GB, free: 94.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/1.396, allocations: 133.7 kB / 0.8325 GB, free: 94.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.597/2.992, allocations: 0.6055 GB / 1.438 GB, free: 194.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/2.993, allocations: 0.9817 MB / 1.439 GB, free: 193.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006076/2.993, allocations: 0.521 MB / 1.439 GB, free: 192.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/2.994, allocations: 339.3 kB / 1.44 GB, free: 192.5 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/2.994, allocations: 4 kB / 1.44 GB, free: 192.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08196/3.076, allocations: 63.37 MB / 1.502 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/16, allocations: 15 kB / 1.502 GB, free: 129.3 MB / 0.6075 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