Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001658/0.001658, allocations: 122.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00196/0.00196, allocations: 206 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.254/0.254, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 79.86 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3577, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01809/0.3759, allocations: 13.93 MB / 0.5442 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03049/0.4064, allocations: 26.6 MB / 0.5701 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.4068, allocations: 4 kB / 0.5701 GB, free: 9.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.4073, allocations: 103.4 kB / 0.5702 GB, free: 9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03108/0.4384, allocations: 8.53 MB / 0.5786 GB, free: 480 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.4399, allocations: 342.3 kB / 0.5789 GB, free: 140 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00578/0.4457, allocations: 2.006 MB / 0.5808 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.4458, allocations: 16.41 kB / 0.5809 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/0.4466, allocations: 274.8 kB / 0.5811 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008051/0.4547, allocations: 3.262 MB / 0.5843 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.4548, allocations: 12 kB / 0.5843 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02528/0.4801, allocations: 10.83 MB / 0.5949 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.4803, allocations: 47.81 kB / 0.5949 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.4806, allocations: 139.3 kB / 0.5951 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01849/0.4991, allocations: 6.337 MB / 0.6013 GB, free: 9.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4991, allocations: 0 / 0.6013 GB, free: 9.113 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4991, allocations: 0 / 0.6013 GB, free: 9.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.4991, allocations: 0 / 0.6013 GB, free: 9.113 MB / 462.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.005/0.5042, allocations: 1.616 MB / 0.6028 GB, free: 7.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.5042, allocations: 12.03 kB / 0.6029 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.5043, allocations: 66.72 kB / 0.6029 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.5062, allocations: 228.5 kB / 0.6031 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.5067, allocations: 275.9 kB / 0.6034 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.5067, allocations: 21.03 kB / 0.6034 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.5068, allocations: 35.94 kB / 0.6035 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/0.5094, allocations: 0.8172 MB / 0.6043 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.5094, allocations: 4 kB / 0.6043 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.5095, allocations: 12 kB / 0.6043 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.5095, allocations: 12 kB / 0.6043 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.5121, allocations: 0.9347 MB / 0.6052 GB, free: 4.945 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.003701/0.5158, allocations: 2.577 MB / 0.6077 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.5173, allocations: 376.6 kB / 0.6081 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.5175, allocations: 80.81 kB / 0.6081 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8518/1.369, allocations: 241.3 MB / 0.8437 GB, free: 72.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/1.371, allocations: 479.2 kB / 0.8442 GB, free: 71.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.963e-06/1.371, allocations: 4 kB / 0.8442 GB, free: 71.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002799/1.374, allocations: 0.7787 MB / 0.845 GB, free: 70.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/1.374, allocations: 380 kB / 0.8453 GB, free: 70.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.374, allocations: 180.4 kB / 0.8455 GB, free: 70.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/1.374, allocations: 33.64 kB / 0.8455 GB, free: 70.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/1.374, allocations: 187 kB / 0.8457 GB, free: 70.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/1.374, allocations: 123.5 kB / 0.8458 GB, free: 70.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/1.374, allocations: 126.2 kB / 0.846 GB, free: 69.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/1.374, allocations: 333.1 kB / 0.8463 GB, free: 69.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/1.374, allocations: 81.06 kB / 0.8463 GB, free: 69.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/1.375, allocations: 348.5 kB / 0.8467 GB, free: 69.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/1.375, allocations: 486.2 kB / 0.8471 GB, free: 68.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.375, allocations: 4 kB / 0.8471 GB, free: 68.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000781/1.376, allocations: 469.3 kB / 0.8476 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.376, allocations: 8 kB / 0.8476 GB, free: 67.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/1.376, allocations: 8 kB / 0.8476 GB, free: 67.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.376, allocations: 15.94 kB / 0.8476 GB, free: 67.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/1.376, allocations: 147.7 kB / 0.8478 GB, free: 67.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/1.376, allocations: 19.92 kB / 0.8478 GB, free: 67.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/1.377, allocations: 49.08 kB / 0.8478 GB, free: 67.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/1.377, allocations: 48.34 kB / 0.8479 GB, free: 67.67 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.000133/1.377, allocations: 160.5 kB / 0.848 GB, free: 67.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/1.377, allocations: 27.86 kB / 0.8481 GB, free: 67.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/1.379, allocations: 2.606 MB / 0.8506 GB, free: 64.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/1.379, allocations: 19.98 kB / 0.8506 GB, free: 64.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.379, allocations: 4.375 kB / 0.8506 GB, free: 64.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.379, allocations: 7.984 kB / 0.8506 GB, free: 64.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/1.38, allocations: 0.9343 MB / 0.8515 GB, free: 63.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.38, allocations: 7.984 kB / 0.8516 GB, free: 63.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/1.38, allocations: 67.88 kB / 0.8516 GB, free: 63.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.38, allocations: 4.875 kB / 0.8516 GB, free: 63.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/1.38, allocations: 23.92 kB / 0.8516 GB, free: 63.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/1.38, allocations: 7.938 kB / 0.8517 GB, free: 63.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.38, allocations: 4 kB / 0.8517 GB, free: 63.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/1.381, allocations: 0.7019 MB / 0.8523 GB, free: 63.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/1.381, allocations: 128.7 kB / 0.8525 GB, free: 62.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.381, allocations: 110.9 kB / 0.8526 GB, free: 62.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/1.381, allocations: 19.3 kB / 0.8526 GB, free: 62.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/1.381, allocations: 35.91 kB / 0.8526 GB, free: 62.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/1.381, allocations: 15.98 kB / 0.8526 GB, free: 62.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004839/1.382, allocations: 0.5038 MB / 0.8531 GB, free: 62.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.382, allocations: 0 / 0.8531 GB, free: 62.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003707/1.386, allocations: 1.528 MB / 0.8546 GB, free: 60.71 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.006484/1.392, allocations: 2.9 MB / 0.8575 GB, free: 57.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006897/1.393, allocations: 419.9 kB / 0.8579 GB, free: 57.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.393, allocations: 0 / 0.8579 GB, free: 57.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/1.393, allocations: 274.2 kB / 0.8581 GB, free: 57.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/1.394, allocations: 138.4 kB / 0.8582 GB, free: 57.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.564/2.957, allocations: 0.6073 GB / 1.466 GB, free: 201 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/2.958, allocations: 0.9855 MB / 1.467 GB, free: 200 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005662/2.958, allocations: 0.5194 MB / 1.467 GB, free: 199.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/2.959, allocations: 339.3 kB / 1.467 GB, free: 199.1 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/2.959, allocations: 0 / 1.467 GB, free: 199.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08134/3.04, allocations: 63.5 MB / 1.529 GB, free: 135.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/15.77, allocations: 10.14 kB / 1.529 GB, free: 135.8 MB / 0.6231 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches