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.001242/0.001242, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2522/0.2522, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 79.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3466, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01744/0.364, allocations: 13.92 MB / 0.5442 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03014/0.3942, allocations: 26.6 MB / 0.5701 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.3945, allocations: 3.938 kB / 0.5701 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.395, allocations: 99.38 kB / 0.5702 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02519/0.4202, allocations: 8.533 MB / 0.5786 GB, free: 468 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4212, allocations: 349.5 kB / 0.5789 GB, free: 124 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004527/0.4258, allocations: 2.006 MB / 0.5809 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.139e-05/0.4259, allocations: 20.39 kB / 0.5809 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.4264, allocations: 278.8 kB / 0.5811 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006944/0.4334, allocations: 3.258 MB / 0.5843 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.686e-05/0.4335, allocations: 12 kB / 0.5843 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02327/0.4567, allocations: 10.82 MB / 0.5949 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.4569, allocations: 51.75 kB / 0.595 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.4571, allocations: 139.4 kB / 0.5951 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01639/0.4735, allocations: 6.333 MB / 0.6013 GB, free: 9.098 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.4736, allocations: 0 / 0.6013 GB, free: 9.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4736, allocations: 0 / 0.6013 GB, free: 9.098 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.4736, allocations: 0 / 0.6013 GB, free: 9.098 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.005442/0.4791, allocations: 1.612 MB / 0.6029 GB, free: 7.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4791, allocations: 12.03 kB / 0.6029 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.222e-05/0.4792, allocations: 70.72 kB / 0.6029 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.4811, allocations: 224.5 kB / 0.6031 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.4816, allocations: 271.9 kB / 0.6034 GB, free: 6.816 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.4817, allocations: 25.03 kB / 0.6034 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.4817, allocations: 31.94 kB / 0.6035 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.4841, allocations: 0.8211 MB / 0.6043 GB, free: 5.898 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.4841, allocations: 4 kB / 0.6043 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.4842, allocations: 20 kB / 0.6043 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.4842, allocations: 15.88 kB / 0.6043 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.4867, allocations: 0.927 MB / 0.6052 GB, free: 4.93 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.003373/0.4901, allocations: 2.577 MB / 0.6077 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.4915, allocations: 380.8 kB / 0.6081 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.4917, allocations: 76.83 kB / 0.6082 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7899/1.282, allocations: 241.3 MB / 0.8438 GB, free: 72.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/1.283, allocations: 478.8 kB / 0.8442 GB, free: 71.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/1.283, allocations: 0 / 0.8442 GB, free: 71.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002799/1.286, allocations: 0.7867 MB / 0.845 GB, free: 71.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/1.286, allocations: 367.8 kB / 0.8453 GB, free: 70.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/1.286, allocations: 180.7 kB / 0.8455 GB, free: 70.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/1.286, allocations: 33.7 kB / 0.8455 GB, free: 70.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/1.286, allocations: 190.8 kB / 0.8457 GB, free: 70.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/1.286, allocations: 123 kB / 0.8458 GB, free: 70.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.286, allocations: 126.2 kB / 0.846 GB, free: 69.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/1.286, allocations: 329.1 kB / 0.8463 GB, free: 69.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/1.287, allocations: 81.06 kB / 0.8464 GB, free: 69.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/1.287, allocations: 348.5 kB / 0.8467 GB, free: 69.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/1.287, allocations: 483.2 kB / 0.8472 GB, free: 68.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.287, allocations: 0 / 0.8472 GB, free: 68.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000798/1.288, allocations: 469.1 kB / 0.8476 GB, free: 68.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.288, allocations: 12 kB / 0.8476 GB, free: 68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.288, allocations: 8 kB / 0.8476 GB, free: 68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/1.288, allocations: 15.94 kB / 0.8476 GB, free: 67.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/1.289, allocations: 144.3 kB / 0.8478 GB, free: 67.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.289, allocations: 23.2 kB / 0.8478 GB, free: 67.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/1.289, allocations: 54.98 kB / 0.8478 GB, free: 67.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/1.289, allocations: 39.98 kB / 0.8479 GB, free: 67.74 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.0001339/1.289, allocations: 164.2 kB / 0.848 GB, free: 67.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/1.289, allocations: 23.86 kB / 0.8481 GB, free: 67.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/1.291, allocations: 2.606 MB / 0.8506 GB, free: 64.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/1.291, allocations: 19.98 kB / 0.8506 GB, free: 64.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.291, allocations: 4 kB / 0.8506 GB, free: 64.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.291, allocations: 7.984 kB / 0.8506 GB, free: 64.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/1.292, allocations: 0.9311 MB / 0.8515 GB, free: 63.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.292, allocations: 0 / 0.8515 GB, free: 63.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/1.292, allocations: 79.86 kB / 0.8516 GB, free: 63.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.292, allocations: 7.844 kB / 0.8516 GB, free: 63.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/1.292, allocations: 15.94 kB / 0.8516 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.292, allocations: 15.86 kB / 0.8517 GB, free: 63.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.292, allocations: 4 kB / 0.8517 GB, free: 63.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/1.293, allocations: 0.701 MB / 0.8523 GB, free: 63.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/1.293, allocations: 132.6 kB / 0.8525 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/1.293, allocations: 110.9 kB / 0.8526 GB, free: 62.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/1.294, allocations: 22.75 kB / 0.8526 GB, free: 62.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/1.294, allocations: 27.91 kB / 0.8526 GB, free: 62.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/1.294, allocations: 19.98 kB / 0.8526 GB, free: 62.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004633/1.294, allocations: 0.5001 MB / 0.8531 GB, free: 62.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.294, allocations: 0 / 0.8531 GB, free: 62.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004469/1.299, allocations: 1.528 MB / 0.8546 GB, free: 60.75 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.008289/1.307, allocations: 2.893 MB / 0.8575 GB, free: 57.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008555/1.308, allocations: 422.5 kB / 0.8579 GB, free: 57.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.308, allocations: 0 / 0.8579 GB, free: 57.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/1.308, allocations: 282 kB / 0.8581 GB, free: 57.26 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008179/1.309, allocations: 135 kB / 0.8583 GB, free: 57.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.515/2.824, allocations: 0.6073 GB / 1.466 GB, free: 201.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/2.824, allocations: 0.9817 MB / 1.467 GB, free: 200.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006143/2.825, allocations: 0.5221 MB / 1.467 GB, free: 199.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/2.825, allocations: 339.3 kB / 1.467 GB, free: 199.4 MB / 0.6231 GB Notification: Performance of SimCode: time 1.513e-06/2.825, allocations: 3.938 kB / 1.467 GB, free: 199.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/2.938, allocations: 63.49 MB / 1.529 GB, free: 136.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/15.95, allocations: 1.438 kB / 1.529 GB, free: 136.1 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