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.001827/0.001827, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001857/0.001857, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.401/1.401, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2096/0.2096, allocations: 43.52 MB / 314.1 MB, free: 468 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.001449/0.00145, allocations: 67.91 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01592/0.1176, allocations: 13.83 MB / 0.5009 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0299/0.1475, allocations: 26.57 MB / 0.5269 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.1478, allocations: 0 / 0.5269 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1482, allocations: 95.39 kB / 0.527 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2526/0.4008, allocations: 8.519 MB / 0.5353 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.4017, allocations: 350.2 kB / 0.5356 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004632/0.4064, allocations: 2.003 MB / 0.5376 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.087e-05/0.4065, allocations: 19.78 kB / 0.5376 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.4069, allocations: 265.9 kB / 0.5379 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006829/0.4138, allocations: 3.259 MB / 0.5411 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.4139, allocations: 10.59 kB / 0.5411 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02582/0.4397, allocations: 10.81 MB / 0.5516 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.4399, allocations: 49.3 kB / 0.5517 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.4402, allocations: 143.8 kB / 0.5518 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02093/0.4612, allocations: 6.319 MB / 0.558 GB, free: 1.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4612, allocations: 3.156 kB / 0.558 GB, free: 1.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4613, allocations: 0 / 0.558 GB, free: 1.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.4613, allocations: 0 / 0.558 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.006699/0.468, allocations: 1.599 MB / 0.5595 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.4681, allocations: 14.86 kB / 0.5596 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.521e-05/0.4682, allocations: 75.41 kB / 0.5596 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.4708, allocations: 226 kB / 0.5598 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.4714, allocations: 274.6 kB / 0.5601 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.4715, allocations: 23.5 kB / 0.5601 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.4715, allocations: 32.97 kB / 0.5602 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003377/0.4749, allocations: 0.8226 MB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.475, allocations: 1.812 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/0.475, allocations: 19.59 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.4751, allocations: 7.531 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.4787, allocations: 0.9321 MB / 0.5619 GB, free: 15.2 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.004619/0.4833, allocations: 2.578 MB / 0.5644 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.4855, allocations: 375 kB / 0.5648 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.4857, allocations: 83.25 kB / 0.5649 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8408/1.327, allocations: 227.4 MB / 0.7869 GB, free: 224.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/1.328, allocations: 473.8 kB / 0.7874 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 3.096e-06/1.328, allocations: 3.938 kB / 0.7874 GB, free: 224.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.002736/1.331, allocations: 0.7838 MB / 0.7881 GB, free: 224 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/1.331, allocations: 367.2 kB / 0.7885 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/1.331, allocations: 196.1 kB / 0.7887 GB, free: 223.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/1.331, allocations: 29.64 kB / 0.7887 GB, free: 223.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/1.331, allocations: 200.4 kB / 0.7889 GB, free: 223.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/1.331, allocations: 113 kB / 0.789 GB, free: 223.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/1.331, allocations: 132.8 kB / 0.7891 GB, free: 223.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/1.331, allocations: 334.6 kB / 0.7895 GB, free: 222.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/1.332, allocations: 77.59 kB / 0.7895 GB, free: 222.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/1.332, allocations: 344.6 kB / 0.7899 GB, free: 222.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/1.333, allocations: 489.2 kB / 0.7903 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.333, allocations: 7.969 kB / 0.7903 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008201/1.333, allocations: 456.8 kB / 0.7908 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.333, allocations: 13.25 kB / 0.7908 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.333, allocations: 6.906 kB / 0.7908 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/1.333, allocations: 22.66 kB / 0.7908 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/1.334, allocations: 143.3 kB / 0.7909 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/1.334, allocations: 15.94 kB / 0.791 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/1.334, allocations: 56.7 kB / 0.791 GB, free: 221.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/1.334, allocations: 41.88 kB / 0.791 GB, free: 221.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.0001408/1.334, allocations: 171.5 kB / 0.7912 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.149e-05/1.335, allocations: 27.8 kB / 0.7912 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/1.337, allocations: 2.605 MB / 0.7938 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/1.337, allocations: 20.53 kB / 0.7938 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.337, allocations: 4 kB / 0.7938 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.337, allocations: 9.859 kB / 0.7938 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006921/1.337, allocations: 0.9332 MB / 0.7947 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.337, allocations: 4 kB / 0.7947 GB, free: 218.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/1.338, allocations: 75.86 kB / 0.7948 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.338, allocations: 8.219 kB / 0.7948 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/1.338, allocations: 12 kB / 0.7948 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.338, allocations: 11.94 kB / 0.7948 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/1.338, allocations: 2.812 kB / 0.7948 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007658/1.338, allocations: 0.6988 MB / 0.7955 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/1.339, allocations: 140.3 kB / 0.7957 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/1.339, allocations: 108.7 kB / 0.7958 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/1.339, allocations: 15.98 kB / 0.7958 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/1.339, allocations: 27.91 kB / 0.7958 GB, free: 217.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/1.339, allocations: 19.94 kB / 0.7958 GB, free: 217.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004887/1.34, allocations: 0.5001 MB / 0.7963 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/1.34, allocations: 4 kB / 0.7963 GB, free: 216.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006371/1.346, allocations: 1.526 MB / 0.7978 GB, free: 215.3 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.01023/1.356, allocations: 2.885 MB / 0.8006 GB, free: 212.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008364/1.357, allocations: 422 kB / 0.801 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.357, allocations: 0 / 0.801 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/1.357, allocations: 281.5 kB / 0.8013 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000834/1.358, allocations: 130.3 kB / 0.8014 GB, free: 211.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.399/2.758, allocations: 0.605 GB / 1.406 GB, free: 234.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/2.758, allocations: 0.9853 MB / 1.407 GB, free: 233.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00106/2.759, allocations: 0.5201 MB / 1.408 GB, free: 233.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/2.76, allocations: 339.5 kB / 1.408 GB, free: 233.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/2.76, allocations: 0 / 1.408 GB, free: 233.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/2.861, allocations: 63.33 MB / 1.47 GB, free: 184.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/15.85, allocations: 3.938 kB / 1.47 GB, free: 184.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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/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