Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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.001286/0.001286, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001228/0.001228, allocations: 179.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3276, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01747/0.3452, allocations: 13.8 MB / 0.532 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03241/0.3776, allocations: 26.6 MB / 0.5579 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.378, allocations: 0 / 0.5579 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.3785, allocations: 95.38 kB / 0.558 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02819/0.4067, allocations: 8.527 MB / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.4078, allocations: 358 kB / 0.5667 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004701/0.4125, allocations: 1.998 MB / 0.5686 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.416e-05/0.4126, allocations: 20.39 kB / 0.5687 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.4131, allocations: 262.8 kB / 0.5689 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007305/0.4204, allocations: 3.258 MB / 0.5721 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.4205, allocations: 8 kB / 0.5721 GB, free: 4.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02499/0.4455, allocations: 11.61 MB / 0.5834 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4456, allocations: 55.69 kB / 0.5835 GB, free: 9.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.4459, allocations: 139.3 kB / 0.5836 GB, free: 9.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01768/0.4635, allocations: 6.75 MB / 0.5902 GB, free: 2.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4636, allocations: 4 kB / 0.5902 GB, free: 2.395 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4636, allocations: 0 / 0.5902 GB, free: 2.395 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.4636, allocations: 4 kB / 0.5902 GB, free: 2.391 MB / 446.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.005179/0.4688, allocations: 1.658 MB / 0.5918 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.4689, allocations: 8.031 kB / 0.5919 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.434e-05/0.469, allocations: 74.66 kB / 0.5919 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.4705, allocations: 192.6 kB / 0.5921 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.471, allocations: 275.8 kB / 0.5924 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.471, allocations: 29.03 kB / 0.5924 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.4711, allocations: 31.94 kB / 0.5924 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.4733, allocations: 0.7564 MB / 0.5932 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4734, allocations: 0 / 0.5932 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.4734, allocations: 16 kB / 0.5932 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.4734, allocations: 8 kB / 0.5932 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.4756, allocations: 0.8176 MB / 0.594 GB, free: 14.38 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.003488/0.4791, allocations: 2.711 MB / 0.5966 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.4803, allocations: 353.4 kB / 0.597 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4805, allocations: 72.81 kB / 0.597 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6304/1.111, allocations: 142.7 MB / 0.7364 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/1.112, allocations: 446 kB / 0.7369 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.845e-06/1.112, allocations: 0 / 0.7369 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003868/1.116, allocations: 1.144 MB / 0.738 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.116, allocations: 373.5 kB / 0.7383 GB, free: 165 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/1.116, allocations: 192.9 kB / 0.7385 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/1.116, allocations: 30.7 kB / 0.7385 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/1.117, allocations: 188.7 kB / 0.7387 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/1.117, allocations: 122.3 kB / 0.7388 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/1.117, allocations: 123.6 kB / 0.739 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.826e-05/1.117, allocations: 338.7 kB / 0.7393 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/1.117, allocations: 77.56 kB / 0.7394 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/1.117, allocations: 349.1 kB / 0.7397 GB, free: 164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/1.118, allocations: 477.7 kB / 0.7401 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/1.118, allocations: 3.625 kB / 0.7402 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008078/1.119, allocations: 478.3 kB / 0.7406 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.119, allocations: 7.25 kB / 0.7406 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.119, allocations: 7.75 kB / 0.7406 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/1.119, allocations: 13.81 kB / 0.7406 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/1.12, allocations: 208.5 kB / 0.7408 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003874/1.121, allocations: 1.193 MB / 0.742 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/1.121, allocations: 19.48 kB / 0.742 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/1.121, allocations: 52.23 kB / 0.7421 GB, free: 162.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001578/1.121, allocations: 162.3 kB / 0.7422 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/1.121, allocations: 29.05 kB / 0.7422 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/1.123, allocations: 2.832 MB / 0.745 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/1.123, allocations: 21.25 kB / 0.745 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.123, allocations: 3.938 kB / 0.745 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/1.123, allocations: 6.641 kB / 0.745 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/1.124, allocations: 0.9723 MB / 0.746 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/1.124, allocations: 6.812 kB / 0.746 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/1.125, allocations: 95.41 kB / 0.7461 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/1.125, allocations: 170.8 kB / 0.7463 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/1.125, allocations: 9.094 kB / 0.7463 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002395/1.125, allocations: 0.6405 MB / 0.7469 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.125, allocations: 7.25 kB / 0.7469 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009132/1.126, allocations: 0.9836 MB / 0.7479 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/1.126, allocations: 131.1 kB / 0.748 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.126, allocations: 93.8 kB / 0.7481 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/1.127, allocations: 19.45 kB / 0.7481 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/1.127, allocations: 34.27 kB / 0.7481 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/1.127, allocations: 15.62 kB / 0.7481 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004633/1.127, allocations: 469.4 kB / 0.7486 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.11e-07/1.127, allocations: 0 / 0.7486 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004103/1.131, allocations: 1.633 MB / 0.7502 GB, free: 160.2 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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007012/1.138, allocations: 3.16 MB / 0.7533 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001404/1.14, allocations: 0.5383 MB / 0.7538 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.14, allocations: 0 / 0.7538 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/1.14, allocations: 371.4 kB / 0.7541 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/1.141, allocations: 125.6 kB / 0.7543 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6257/1.767, allocations: 352.6 MB / 1.099 GB, free: 92.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/1.767, allocations: 0.984 MB / 1.1 GB, free: 91.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006488/1.768, allocations: 0.505 MB / 1.1 GB, free: 91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/1.768, allocations: 323.3 kB / 1.1 GB, free: 90.69 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/1.768, allocations: 0 / 1.1 GB, free: 90.69 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09236/1.86, allocations: 66.29 MB / 1.165 GB, free: 24.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.84, allocations: 18.77 kB / 1.165 GB, free: 24.57 MB / 0.6075 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches