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.001216/0.001216, allocations: 108.1 kB / 16.41 MB, free: 6.453 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.001223/0.001223, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.449/1.449, 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.2429/0.2429, allocations: 43.53 MB / 314.1 MB, free: 436 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.001702/0.001702, allocations: 71.89 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1167, allocations: 57.79 MB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01778/0.1345, allocations: 13.83 MB / 0.5009 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03136/0.1659, allocations: 26.58 MB / 0.5269 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.1662, allocations: 4 kB / 0.5269 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004558/0.1668, allocations: 95.38 kB / 0.527 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2788/0.4456, allocations: 8.495 MB / 0.5353 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009982/0.4466, allocations: 346.6 kB / 0.5356 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004224/0.4508, allocations: 2 MB / 0.5376 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.4509, allocations: 23.97 kB / 0.5376 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005039/0.4514, allocations: 269.6 kB / 0.5379 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006424/0.4579, allocations: 3.263 MB / 0.541 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.839e-05/0.458, allocations: 10.16 kB / 0.5411 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02691/0.4849, allocations: 10.81 MB / 0.5516 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.4851, allocations: 52.73 kB / 0.5517 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.4855, allocations: 141.5 kB / 0.5518 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01736/0.5028, allocations: 6.295 MB / 0.5579 GB, free: 1.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.5029, allocations: 0 / 0.5579 GB, free: 1.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5029, allocations: 1.969 kB / 0.5579 GB, free: 1.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.5029, allocations: 0 / 0.5579 GB, free: 1.543 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.005573/0.5085, allocations: 1.56 MB / 0.5595 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.5085, allocations: 12.8 kB / 0.5595 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.5086, allocations: 68.92 kB / 0.5595 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.5104, allocations: 219.4 kB / 0.5598 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.5107, allocations: 271.9 kB / 0.56 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.5108, allocations: 29.62 kB / 0.56 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.5108, allocations: 36.8 kB / 0.5601 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.5133, allocations: 0.819 MB / 0.5609 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.5134, allocations: 6.469 kB / 0.5609 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.5134, allocations: 17.59 kB / 0.5609 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.5134, allocations: 8.281 kB / 0.5609 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.516, allocations: 0.931 MB / 0.5618 GB, free: 15.25 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.003447/0.5195, allocations: 2.575 MB / 0.5643 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.5209, allocations: 373.8 kB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.5211, allocations: 78.91 kB / 0.5648 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9632/1.484, allocations: 227.4 MB / 0.7868 GB, free: 225 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/1.486, allocations: 478.2 kB / 0.7873 GB, free: 224.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 3.016e-06/1.486, allocations: 3.969 kB / 0.7873 GB, free: 224.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.002806/1.488, allocations: 0.7814 MB / 0.788 GB, free: 224.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/1.489, allocations: 372.6 kB / 0.7884 GB, free: 224 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/1.489, allocations: 187.4 kB / 0.7886 GB, free: 223.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/1.489, allocations: 32.17 kB / 0.7886 GB, free: 223.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/1.489, allocations: 191.9 kB / 0.7888 GB, free: 223.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/1.489, allocations: 109.7 kB / 0.7889 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/1.489, allocations: 125 kB / 0.789 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/1.489, allocations: 336.4 kB / 0.7893 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/1.489, allocations: 80.47 kB / 0.7894 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/1.49, allocations: 342.9 kB / 0.7897 GB, free: 222.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/1.49, allocations: 476.5 kB / 0.7902 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.49, allocations: 3.562 kB / 0.7902 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008392/1.491, allocations: 476.5 kB / 0.7906 GB, free: 222.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.491, allocations: 16.89 kB / 0.7906 GB, free: 222.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.491, allocations: 8 kB / 0.7907 GB, free: 222.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/1.491, allocations: 16 kB / 0.7907 GB, free: 222.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/1.491, allocations: 139.6 kB / 0.7908 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.491, allocations: 19.92 kB / 0.7908 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/1.492, allocations: 54.5 kB / 0.7909 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/1.492, allocations: 46.08 kB / 0.7909 GB, free: 222.1 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.0001434/1.492, allocations: 162.2 kB / 0.7911 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/1.492, allocations: 23.75 kB / 0.7911 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/1.494, allocations: 2.607 MB / 0.7936 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/1.494, allocations: 19.97 kB / 0.7937 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/1.494, allocations: 4 kB / 0.7937 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.494, allocations: 5.969 kB / 0.7937 GB, free: 219.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/1.495, allocations: 0.9279 MB / 0.7946 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.495, allocations: 4 kB / 0.7946 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/1.495, allocations: 71.88 kB / 0.7946 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.495, allocations: 8.219 kB / 0.7947 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/1.495, allocations: 15.98 kB / 0.7947 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.495, allocations: 7.938 kB / 0.7947 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.495, allocations: 4 kB / 0.7947 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007495/1.496, allocations: 0.6979 MB / 0.7954 GB, free: 217.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/1.496, allocations: 132.4 kB / 0.7955 GB, free: 217.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.496, allocations: 110.5 kB / 0.7956 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/1.496, allocations: 13.3 kB / 0.7956 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/1.497, allocations: 35.89 kB / 0.7956 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/1.497, allocations: 19.94 kB / 0.7957 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004526/1.497, allocations: 0.5027 MB / 0.7962 GB, free: 217 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.497, allocations: 4 kB / 0.7962 GB, free: 217 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00424/1.501, allocations: 1.504 MB / 0.7976 GB, free: 215.7 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.009052/1.51, allocations: 2.852 MB / 0.8004 GB, free: 213 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007586/1.511, allocations: 420.1 kB / 0.8008 GB, free: 212.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.511, allocations: 1.75 kB / 0.8008 GB, free: 212.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/1.511, allocations: 285.5 kB / 0.8011 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/1.512, allocations: 130.6 kB / 0.8012 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.664/3.176, allocations: 0.6046 GB / 1.406 GB, free: 233.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/3.177, allocations: 0.9865 MB / 1.407 GB, free: 233.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001166/3.178, allocations: 0.5188 MB / 1.407 GB, free: 233.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/3.179, allocations: 337.4 kB / 1.408 GB, free: 233.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/3.179, allocations: 0.625 kB / 1.408 GB, free: 233.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/3.287, allocations: 63.62 MB / 1.47 GB, free: 183.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/16.22, allocations: 3.938 kB / 1.47 GB, free: 183.5 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