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.00157/0.00157, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001884/0.001884, allocations: 187 kB / 18.71 MB, free: 4.348 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.379/1.379, 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.2052/0.2052, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3402, allocations: 60.82 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0162/0.3564, allocations: 13.82 MB / 0.532 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03107/0.3876, allocations: 26.59 MB / 0.5579 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003461/0.388, allocations: 7.938 kB / 0.5579 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.3886, allocations: 95.38 kB / 0.558 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02753/0.4162, allocations: 8.527 MB / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.4173, allocations: 354.3 kB / 0.5667 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004706/0.422, allocations: 1.998 MB / 0.5686 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.4222, allocations: 20.39 kB / 0.5687 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007091/0.4229, allocations: 282.7 kB / 0.5689 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00714/0.4301, allocations: 3.25 MB / 0.5721 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.4302, allocations: 16 kB / 0.5721 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02351/0.4537, allocations: 10.81 MB / 0.5827 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.4539, allocations: 51.75 kB / 0.5827 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.4542, allocations: 139.3 kB / 0.5829 GB, free: 9.934 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01845/0.4727, allocations: 6.308 MB / 0.589 GB, free: 3.613 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4727, allocations: 3.938 kB / 0.589 GB, free: 3.609 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4727, allocations: 3.938 kB / 0.589 GB, free: 3.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.4727, allocations: 0 / 0.589 GB, free: 3.605 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.00489/0.4776, allocations: 1.556 MB / 0.5905 GB, free: 2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4777, allocations: 8.031 kB / 0.5906 GB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.556e-05/0.4778, allocations: 70.72 kB / 0.5906 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.4797, allocations: 220.4 kB / 0.5908 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.4802, allocations: 275.9 kB / 0.5911 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.4802, allocations: 29.03 kB / 0.5911 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.4803, allocations: 31.94 kB / 0.5912 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.4828, allocations: 0.8211 MB / 0.592 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4829, allocations: 0 / 0.592 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.4829, allocations: 12 kB / 0.592 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4829, allocations: 8 kB / 0.592 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.4855, allocations: 0.9425 MB / 0.5929 GB, free: 15.5 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.003637/0.4892, allocations: 2.573 MB / 0.5954 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.4906, allocations: 377.3 kB / 0.5958 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.4907, allocations: 80.81 kB / 0.5958 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8592/1.35, allocations: 227.4 MB / 0.8179 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/1.352, allocations: 475.5 kB / 0.8184 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 4.969e-06/1.352, allocations: 4 kB / 0.8184 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002965/1.355, allocations: 0.7811 MB / 0.8191 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.355, allocations: 372 kB / 0.8195 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/1.355, allocations: 184.1 kB / 0.8197 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/1.355, allocations: 33.7 kB / 0.8197 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/1.355, allocations: 185.5 kB / 0.8199 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/1.355, allocations: 113.6 kB / 0.82 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/1.355, allocations: 122.1 kB / 0.8201 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.379e-05/1.355, allocations: 337.8 kB / 0.8204 GB, free: 107 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/1.356, allocations: 77.06 kB / 0.8205 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/1.356, allocations: 345.7 kB / 0.8208 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/1.356, allocations: 484.4 kB / 0.8213 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.356, allocations: 0 / 0.8213 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008624/1.357, allocations: 469.3 kB / 0.8217 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.357, allocations: 12 kB / 0.8218 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/1.357, allocations: 10.97 kB / 0.8218 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/1.357, allocations: 12 kB / 0.8218 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/1.358, allocations: 139.8 kB / 0.8219 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/1.358, allocations: 23.86 kB / 0.8219 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/1.358, allocations: 55.44 kB / 0.822 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/1.358, allocations: 40.3 kB / 0.822 GB, free: 105.1 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.0002061/1.359, allocations: 165.6 kB / 0.8222 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.359, allocations: 23.38 kB / 0.8222 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/1.361, allocations: 2.587 MB / 0.8247 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.361, allocations: 15.98 kB / 0.8247 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.361, allocations: 8.312 kB / 0.8248 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.361, allocations: 11.98 kB / 0.8248 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009245/1.362, allocations: 0.9353 MB / 0.8257 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.362, allocations: 0.875 kB / 0.8257 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/1.362, allocations: 79.86 kB / 0.8258 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.363, allocations: 4 kB / 0.8258 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/1.363, allocations: 14.25 kB / 0.8258 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.363, allocations: 7.984 kB / 0.8258 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.363, allocations: 15.31 kB / 0.8258 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008593/1.363, allocations: 0.6889 MB / 0.8265 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/1.364, allocations: 128.4 kB / 0.8266 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.364, allocations: 106.5 kB / 0.8267 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/1.364, allocations: 15.98 kB / 0.8267 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/1.364, allocations: 35.84 kB / 0.8267 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/1.364, allocations: 19.98 kB / 0.8268 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005014/1.365, allocations: 0.5001 MB / 0.8273 GB, free: 99.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/1.365, allocations: 0 / 0.8273 GB, free: 99.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004433/1.369, allocations: 1.506 MB / 0.8287 GB, free: 98.21 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.008719/1.378, allocations: 2.863 MB / 0.8315 GB, free: 95.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008923/1.379, allocations: 420.1 kB / 0.8319 GB, free: 95.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.379, allocations: 0 / 0.8319 GB, free: 95.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/1.379, allocations: 276.7 kB / 0.8322 GB, free: 94.76 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/1.38, allocations: 142.7 kB / 0.8323 GB, free: 94.63 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.544/2.924, allocations: 0.6051 GB / 1.437 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/2.924, allocations: 0.9855 MB / 1.438 GB, free: 193.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005994/2.925, allocations: 0.521 MB / 1.439 GB, free: 193.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/2.925, allocations: 339.3 kB / 1.439 GB, free: 192.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.132e-06/2.925, allocations: 0 / 1.439 GB, free: 192.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09316/3.019, allocations: 63.68 MB / 1.501 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/15.82, allocations: 15 kB / 1.501 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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