Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_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.001628/0.001628, allocations: 105 kB / 16.4 MB, free: 6.5 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.001819/0.001819, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1919/0.1919, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 70.03 kB / 441.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, allocations: 57.8 MB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01898/0.1292, allocations: 13.82 MB / 0.5009 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03345/0.1627, allocations: 26.58 MB / 0.5269 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.163, allocations: 0 / 0.5269 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.1634, allocations: 91.45 kB / 0.527 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2904/0.4539, allocations: 8.504 MB / 0.5353 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009412/0.4549, allocations: 346.5 kB / 0.5356 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004448/0.4593, allocations: 2.004 MB / 0.5376 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.4594, allocations: 18.92 kB / 0.5376 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.4599, allocations: 272.9 kB / 0.5379 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006967/0.4669, allocations: 3.259 MB / 0.541 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.509e-05/0.467, allocations: 11.44 kB / 0.5411 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0258/0.4928, allocations: 10.81 MB / 0.5516 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.493, allocations: 50.02 kB / 0.5517 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.4934, allocations: 140.1 kB / 0.5518 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01825/0.5116, allocations: 6.299 MB / 0.5579 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.5117, allocations: 0 / 0.5579 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5117, allocations: 0 / 0.5579 GB, free: 1.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.5117, allocations: 0 / 0.5579 GB, free: 1.574 MB / 414.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.006712/0.5184, allocations: 1.562 MB / 0.5595 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.5185, allocations: 14.58 kB / 0.5595 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.728e-05/0.5186, allocations: 74.16 kB / 0.5595 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.5203, allocations: 214.1 kB / 0.5598 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.5208, allocations: 273.4 kB / 0.56 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.5208, allocations: 23.91 kB / 0.56 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.5209, allocations: 36.61 kB / 0.5601 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.5233, allocations: 0.8221 MB / 0.5609 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5234, allocations: 0 / 0.5609 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.5234, allocations: 16.5 kB / 0.5609 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.5234, allocations: 12.28 kB / 0.5609 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.526, allocations: 0.9395 MB / 0.5618 GB, free: 15.27 MB / 430.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.003695/0.5297, allocations: 2.563 MB / 0.5643 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.5312, allocations: 384.2 kB / 0.5647 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.5313, allocations: 83.44 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9014/1.433, allocations: 227.4 MB / 0.7868 GB, free: 202.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/1.434, allocations: 471 kB / 0.7873 GB, free: 202 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/1.434, allocations: 0 / 0.7873 GB, free: 202 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.002852/1.437, allocations: 0.7814 MB / 0.788 GB, free: 201.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/1.437, allocations: 375.8 kB / 0.7884 GB, free: 201.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/1.437, allocations: 186.8 kB / 0.7886 GB, free: 201.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/1.437, allocations: 34.3 kB / 0.7886 GB, free: 201.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/1.437, allocations: 187.3 kB / 0.7888 GB, free: 201 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/1.438, allocations: 115.7 kB / 0.7889 GB, free: 200.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/1.438, allocations: 122.7 kB / 0.789 GB, free: 200.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/1.438, allocations: 332.3 kB / 0.7893 GB, free: 200.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/1.438, allocations: 84.02 kB / 0.7894 GB, free: 200.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/1.438, allocations: 348.8 kB / 0.7897 GB, free: 200.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/1.439, allocations: 477.2 kB / 0.7902 GB, free: 199.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.439, allocations: 4.75 kB / 0.7902 GB, free: 199.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007841/1.44, allocations: 475.8 kB / 0.7906 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.44, allocations: 9.594 kB / 0.7906 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.44, allocations: 9.25 kB / 0.7906 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/1.44, allocations: 12.59 kB / 0.7907 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/1.44, allocations: 144.1 kB / 0.7908 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/1.44, allocations: 19.08 kB / 0.7908 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/1.44, allocations: 53.98 kB / 0.7909 GB, free: 199.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/1.441, allocations: 43.47 kB / 0.7909 GB, free: 199.7 MB / 0.6075 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.0001681/1.441, allocations: 169.2 kB / 0.7911 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/1.441, allocations: 27.09 kB / 0.7911 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/1.443, allocations: 2.597 MB / 0.7936 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/1.443, allocations: 23.05 kB / 0.7937 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.443, allocations: 4 kB / 0.7937 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.443, allocations: 3.984 kB / 0.7937 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/1.444, allocations: 0.9291 MB / 0.7946 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.444, allocations: 4 kB / 0.7946 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/1.444, allocations: 70.78 kB / 0.7946 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/1.444, allocations: 4 kB / 0.7946 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/1.444, allocations: 18.3 kB / 0.7947 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.444, allocations: 13.2 kB / 0.7947 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.444, allocations: 4 kB / 0.7947 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008398/1.445, allocations: 0.6944 MB / 0.7954 GB, free: 196.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/1.445, allocations: 132.2 kB / 0.7955 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/1.445, allocations: 106.3 kB / 0.7956 GB, free: 196.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/1.446, allocations: 15.67 kB / 0.7956 GB, free: 196.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/1.446, allocations: 28.31 kB / 0.7956 GB, free: 196.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/1.446, allocations: 20.8 kB / 0.7956 GB, free: 196.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004666/1.446, allocations: 0.4993 MB / 0.7961 GB, free: 195.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.446, allocations: 0 / 0.7961 GB, free: 195.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005349/1.452, allocations: 1.513 MB / 0.7976 GB, free: 194.5 MB / 0.6075 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.007705/1.459, allocations: 2.857 MB / 0.8004 GB, free: 192.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007322/1.46, allocations: 419.6 kB / 0.8008 GB, free: 191.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.46, allocations: 0 / 0.8008 GB, free: 191.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/1.46, allocations: 284.3 kB / 0.8011 GB, free: 191.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/1.461, allocations: 136.8 kB / 0.8012 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.482/2.944, allocations: 0.6046 GB / 1.406 GB, free: 234.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/2.944, allocations: 0.9838 MB / 1.407 GB, free: 233.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00101/2.945, allocations: 0.525 MB / 1.407 GB, free: 233.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/2.946, allocations: 342.5 kB / 1.408 GB, free: 233.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.323e-06/2.946, allocations: 0 / 1.408 GB, free: 233.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/3.058, allocations: 63.61 MB / 1.47 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/15.76, allocations: 7.938 kB / 1.47 GB, free: 188.1 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches