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.001095/0.001095, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 73.66 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1155, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01723/0.1328, allocations: 13.92 MB / 494.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2835/0.4163, allocations: 26.58 MB / 0.5084 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.4166, allocations: 2.562 kB / 0.5084 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.4171, allocations: 91.08 kB / 0.5085 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02355/0.4407, allocations: 8.549 MB / 0.5169 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.442, allocations: 341.9 kB / 0.5172 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004473/0.4465, allocations: 2.007 MB / 0.5192 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.812e-05/0.4466, allocations: 25.16 kB / 0.5192 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005448/0.4471, allocations: 265.3 kB / 0.5194 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007189/0.4543, allocations: 3.26 MB / 0.5226 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.703e-05/0.4544, allocations: 11.09 kB / 0.5226 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02634/0.4808, allocations: 10.57 MB / 0.533 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.481, allocations: 56.2 kB / 0.533 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.4813, allocations: 141 kB / 0.5331 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01817/0.4995, allocations: 6.337 MB / 0.5393 GB, free: 1.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4996, allocations: 0 / 0.5393 GB, free: 1.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4996, allocations: 0 / 0.5393 GB, free: 1.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.4996, allocations: 0 / 0.5393 GB, free: 1.711 MB / 382.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.004579/0.5042, allocations: 1.557 MB / 0.5409 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5042, allocations: 14.66 kB / 0.5409 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.845e-05/0.5043, allocations: 70.75 kB / 0.5409 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.5059, allocations: 216.9 kB / 0.5411 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.5062, allocations: 281.7 kB / 0.5414 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.5062, allocations: 25.22 kB / 0.5414 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.5063, allocations: 36.38 kB / 0.5415 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.5087, allocations: 0.8248 MB / 0.5423 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5087, allocations: 0 / 0.5423 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.5087, allocations: 12 kB / 0.5423 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.5088, allocations: 8 kB / 0.5423 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.5113, allocations: 0.9425 MB / 0.5432 GB, free: 14.16 MB / 398.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.003333/0.5146, allocations: 2.574 MB / 0.5457 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.516, allocations: 380.8 kB / 0.5461 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.5162, allocations: 80.86 kB / 0.5462 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8228/1.339, allocations: 238.7 MB / 0.7793 GB, free: 173 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/1.34, allocations: 469.8 kB / 0.7797 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.386e-06/1.34, allocations: 6.656 kB / 0.7797 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002865/1.343, allocations: 0.7844 MB / 0.7805 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/1.343, allocations: 375.8 kB / 0.7809 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/1.344, allocations: 181.2 kB / 0.781 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/1.344, allocations: 33.7 kB / 0.7811 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/1.344, allocations: 185 kB / 0.7812 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/1.344, allocations: 114.2 kB / 0.7813 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.344, allocations: 126.1 kB / 0.7815 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.231e-05/1.344, allocations: 330.6 kB / 0.7818 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/1.344, allocations: 89.05 kB / 0.7819 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/1.344, allocations: 340.7 kB / 0.7822 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/1.345, allocations: 482.5 kB / 0.7827 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.345, allocations: 4 kB / 0.7827 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008205/1.346, allocations: 468.8 kB / 0.7831 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.346, allocations: 8 kB / 0.7831 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.346, allocations: 8 kB / 0.7831 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.346, allocations: 16 kB / 0.7831 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/1.346, allocations: 144.4 kB / 0.7833 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.346, allocations: 23.92 kB / 0.7833 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/1.347, allocations: 51.47 kB / 0.7833 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/1.347, allocations: 47.97 kB / 0.7834 GB, free: 168.4 MB / 0.5606 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.0001364/1.347, allocations: 157.5 kB / 0.7835 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/1.347, allocations: 31.72 kB / 0.7836 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/1.349, allocations: 2.612 MB / 0.7861 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.349, allocations: 15.98 kB / 0.7861 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.349, allocations: 4.375 kB / 0.7861 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/1.349, allocations: 11.98 kB / 0.7862 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/1.35, allocations: 0.9349 MB / 0.7871 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.35, allocations: 4 kB / 0.7871 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/1.35, allocations: 67.88 kB / 0.7871 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/1.35, allocations: 8 kB / 0.7871 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/1.35, allocations: 11.98 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.35, allocations: 7.844 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/1.35, allocations: 7.938 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008059/1.351, allocations: 0.7043 MB / 0.7879 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/1.351, allocations: 116.5 kB / 0.788 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.351, allocations: 110.5 kB / 0.7881 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/1.352, allocations: 15.98 kB / 0.7881 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/1.352, allocations: 35.91 kB / 0.7881 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/1.352, allocations: 19.98 kB / 0.7881 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004767/1.352, allocations: 0.4923 MB / 0.7886 GB, free: 163 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.352, allocations: 3.938 kB / 0.7886 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004048/1.356, allocations: 1.519 MB / 0.7901 GB, free: 161.6 MB / 0.5606 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.007554/1.364, allocations: 2.877 MB / 0.7929 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.365, allocations: 432.2 kB / 0.7933 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.365, allocations: 0 / 0.7933 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/1.365, allocations: 274 kB / 0.7936 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009812/1.366, allocations: 130.4 kB / 0.7937 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.369/2.736, allocations: 0.6072 GB / 1.401 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/2.736, allocations: 0.9856 MB / 1.402 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007053/2.737, allocations: 0.5251 MB / 1.402 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/2.737, allocations: 344.8 kB / 1.403 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.001e-06/2.737, allocations: 0 / 1.403 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08781/2.825, allocations: 63.58 MB / 1.465 GB, free: 69.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/14.66, allocations: 7.125 kB / 1.465 GB, free: 69.36 MB / 0.5606 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