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.001759/0.001759, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.002002/0.002002, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.436/1.436, 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.2516/0.2516, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 71.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3545, allocations: 60.81 MB / 0.5185 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02017/0.3748, allocations: 13.82 MB / 0.532 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03526/0.4101, allocations: 26.6 MB / 0.5579 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.4104, allocations: 4 kB / 0.5579 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.4109, allocations: 95.38 kB / 0.558 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02981/0.4407, allocations: 8.534 MB / 0.5664 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.4417, allocations: 346.4 kB / 0.5667 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004951/0.4467, allocations: 2.006 MB / 0.5686 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.711e-05/0.4468, allocations: 24.39 kB / 0.5687 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005755/0.4474, allocations: 258.9 kB / 0.5689 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007672/0.4551, allocations: 3.258 MB / 0.5721 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.619e-05/0.4552, allocations: 15.98 kB / 0.5721 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02406/0.4792, allocations: 10.8 MB / 0.5827 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4794, allocations: 59.62 kB / 0.5827 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.4797, allocations: 143.3 kB / 0.5829 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0195/0.4992, allocations: 6.329 MB / 0.589 GB, free: 3.629 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4993, allocations: 0 / 0.589 GB, free: 3.629 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4993, allocations: 0 / 0.589 GB, free: 3.629 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.4993, allocations: 0 / 0.589 GB, free: 3.629 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.005026/0.5043, allocations: 1.615 MB / 0.5906 GB, free: 1.961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.5044, allocations: 8.031 kB / 0.5906 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.107e-05/0.5045, allocations: 70.72 kB / 0.5907 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.5062, allocations: 220.5 kB / 0.5909 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.5066, allocations: 272 kB / 0.5912 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.5067, allocations: 21.03 kB / 0.5912 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.5067, allocations: 39.94 kB / 0.5912 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.5091, allocations: 0.821 MB / 0.592 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5091, allocations: 3.984 kB / 0.592 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.5091, allocations: 12 kB / 0.592 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.5092, allocations: 8 kB / 0.592 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.5117, allocations: 0.9348 MB / 0.593 GB, free: 15.47 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.003361/0.5151, allocations: 2.57 MB / 0.5955 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.5165, allocations: 386.2 kB / 0.5958 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.5167, allocations: 76.81 kB / 0.5959 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8934/1.41, allocations: 227.5 MB / 0.818 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/1.412, allocations: 478.2 kB / 0.8185 GB, free: 109 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 3.036e-06/1.412, allocations: 0 / 0.8185 GB, free: 109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.00291/1.414, allocations: 0.7762 MB / 0.8193 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/1.415, allocations: 371.8 kB / 0.8196 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/1.415, allocations: 182.1 kB / 0.8198 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/1.415, allocations: 37.7 kB / 0.8198 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/1.415, allocations: 187.3 kB / 0.82 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/1.415, allocations: 121 kB / 0.8201 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/1.415, allocations: 126.2 kB / 0.8202 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/1.415, allocations: 333.8 kB / 0.8205 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/1.415, allocations: 77.06 kB / 0.8206 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/1.416, allocations: 345.7 kB / 0.821 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/1.416, allocations: 479.3 kB / 0.8214 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.416, allocations: 4 kB / 0.8214 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008171/1.417, allocations: 480.5 kB / 0.8219 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.417, allocations: 11.98 kB / 0.8219 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.417, allocations: 8 kB / 0.8219 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/1.417, allocations: 16 kB / 0.8219 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/1.417, allocations: 136.4 kB / 0.822 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/1.418, allocations: 23.86 kB / 0.8221 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/1.418, allocations: 55.48 kB / 0.8221 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/1.418, allocations: 47.97 kB / 0.8222 GB, free: 105 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.000148/1.418, allocations: 161.9 kB / 0.8223 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.339e-05/1.418, allocations: 23.91 kB / 0.8223 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/1.42, allocations: 2.61 MB / 0.8249 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/1.42, allocations: 19.97 kB / 0.8249 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.42, allocations: 7.938 kB / 0.8249 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/1.42, allocations: 4 kB / 0.8249 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007928/1.421, allocations: 0.934 MB / 0.8258 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.421, allocations: 4 kB / 0.8258 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/1.421, allocations: 75.31 kB / 0.8259 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.421, allocations: 8.344 kB / 0.8259 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/1.421, allocations: 15.98 kB / 0.8259 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/1.421, allocations: 4 kB / 0.8259 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.421, allocations: 11.88 kB / 0.8259 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/1.422, allocations: 0.7011 MB / 0.8266 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/1.422, allocations: 132.6 kB / 0.8267 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/1.423, allocations: 103 kB / 0.8268 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/1.423, allocations: 19.98 kB / 0.8269 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/1.423, allocations: 31.89 kB / 0.8269 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/1.423, allocations: 12 kB / 0.8269 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004779/1.423, allocations: 0.5117 MB / 0.8274 GB, free: 99.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.423, allocations: 0 / 0.8274 GB, free: 99.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003677/1.427, allocations: 1.528 MB / 0.8289 GB, free: 98.02 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.007933/1.435, allocations: 2.887 MB / 0.8317 GB, free: 95.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008041/1.436, allocations: 410.3 kB / 0.8321 GB, free: 94.83 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.436, allocations: 4 kB / 0.8321 GB, free: 94.83 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/1.436, allocations: 285.4 kB / 0.8324 GB, free: 94.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/1.437, allocations: 133 kB / 0.8325 GB, free: 94.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.571/3.009, allocations: 0.6055 GB / 1.438 GB, free: 194.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/3.009, allocations: 0.9817 MB / 1.439 GB, free: 193.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006121/3.01, allocations: 0.5181 MB / 1.439 GB, free: 192.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/3.01, allocations: 339.3 kB / 1.44 GB, free: 192.4 MB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/3.01, allocations: 4 kB / 1.44 GB, free: 192.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08671/3.097, allocations: 63.39 MB / 1.502 GB, free: 129.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/16.18, allocations: 19.06 kB / 1.502 GB, free: 129.2 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