Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001228/0.001228, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001672/0.001672, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 79.86 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3404, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01548/0.3559, allocations: 13.92 MB / 0.5442 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02726/0.3832, allocations: 26.6 MB / 0.5701 GB, free: 9.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.3835, allocations: 7.938 kB / 0.5701 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.384, allocations: 99.38 kB / 0.5702 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02351/0.4075, allocations: 8.545 MB / 0.5786 GB, free: 484 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.4085, allocations: 338.3 kB / 0.5789 GB, free: 148 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004446/0.4129, allocations: 1.998 MB / 0.5809 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.413, allocations: 24.34 kB / 0.5809 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.4135, allocations: 258.9 kB / 0.5811 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007183/0.4207, allocations: 3.266 MB / 0.5843 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.4208, allocations: 8 kB / 0.5843 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02485/0.4457, allocations: 11.62 MB / 0.5957 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.4459, allocations: 43.77 kB / 0.5957 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.4462, allocations: 143.3 kB / 0.5959 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02032/0.4665, allocations: 6.766 MB / 0.6025 GB, free: 7.914 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.4666, allocations: 4 kB / 0.6025 GB, free: 7.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4666, allocations: 0 / 0.6025 GB, free: 7.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4666, allocations: 0 / 0.6025 GB, free: 7.91 MB / 462.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.005387/0.472, allocations: 1.674 MB / 0.6041 GB, free: 6.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4721, allocations: 8.031 kB / 0.6041 GB, free: 6.172 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.125e-05/0.4722, allocations: 70.72 kB / 0.6042 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.4738, allocations: 188.5 kB / 0.6044 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.4742, allocations: 271.9 kB / 0.6046 GB, free: 5.605 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.4742, allocations: 25.03 kB / 0.6046 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.4743, allocations: 35.88 kB / 0.6047 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.4764, allocations: 0.7603 MB / 0.6054 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4765, allocations: 7.938 kB / 0.6054 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.4765, allocations: 12 kB / 0.6054 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.4765, allocations: 8 kB / 0.6054 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.4786, allocations: 0.8137 MB / 0.6062 GB, free: 3.895 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.00333/0.482, allocations: 2.707 MB / 0.6089 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.4832, allocations: 358.2 kB / 0.6092 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.4834, allocations: 68.83 kB / 0.6093 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6053/1.089, allocations: 147.8 MB / 0.7537 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/1.09, allocations: 453.3 kB / 0.7541 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/1.09, allocations: 4 kB / 0.7541 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003353/1.093, allocations: 1.138 MB / 0.7552 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/1.093, allocations: 385.5 kB / 0.7556 GB, free: 170 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/1.093, allocations: 178.3 kB / 0.7557 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/1.093, allocations: 33.7 kB / 0.7558 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/1.093, allocations: 195.8 kB / 0.756 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/1.094, allocations: 119.3 kB / 0.7561 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.094, allocations: 122.1 kB / 0.7562 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/1.094, allocations: 334.8 kB / 0.7565 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/1.094, allocations: 77.06 kB / 0.7566 GB, free: 169 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/1.094, allocations: 345.6 kB / 0.7569 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/1.095, allocations: 483.3 kB / 0.7574 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/1.095, allocations: 4 kB / 0.7574 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006923/1.095, allocations: 471.3 kB / 0.7578 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.095, allocations: 12 kB / 0.7578 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.095, allocations: 12 kB / 0.7579 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/1.095, allocations: 12 kB / 0.7579 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.097, allocations: 207.7 kB / 0.7581 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000347/1.097, allocations: 1.189 MB / 0.7592 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/1.097, allocations: 22.25 kB / 0.7592 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/1.097, allocations: 47.92 kB / 0.7593 GB, free: 165.9 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.0001349/1.098, allocations: 168.5 kB / 0.7595 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/1.098, allocations: 27.86 kB / 0.7595 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/1.1, allocations: 2.838 MB / 0.7623 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/1.1, allocations: 27.97 kB / 0.7623 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.1, allocations: 7.938 kB / 0.7623 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.1, allocations: 4 kB / 0.7623 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/1.1, allocations: 0.9727 MB / 0.7632 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.1, allocations: 4 kB / 0.7632 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/1.101, allocations: 99.58 kB / 0.7633 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/1.101, allocations: 162.6 kB / 0.7635 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.101, allocations: 11.98 kB / 0.7635 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000251/1.101, allocations: 0.647 MB / 0.7641 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.101, allocations: 4 kB / 0.7641 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/1.102, allocations: 0.9758 MB / 0.7651 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/1.102, allocations: 146.3 kB / 0.7652 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/1.102, allocations: 93.39 kB / 0.7653 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/1.103, allocations: 15.98 kB / 0.7653 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/1.103, allocations: 30.75 kB / 0.7654 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/1.103, allocations: 16 kB / 0.7654 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004443/1.103, allocations: 471 kB / 0.7658 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/1.103, allocations: 7.938 kB / 0.7658 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003956/1.107, allocations: 1.632 MB / 0.7674 GB, free: 157.7 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.006716/1.114, allocations: 3.169 MB / 0.7705 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001431/1.115, allocations: 0.5294 MB / 0.771 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.115, allocations: 7.938 kB / 0.7711 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/1.116, allocations: 361.6 kB / 0.7714 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/1.117, allocations: 119.7 kB / 0.7715 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6256/1.742, allocations: 353.3 MB / 1.117 GB, free: 66.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/1.742, allocations: 0.982 MB / 1.117 GB, free: 65.49 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005966/1.743, allocations: 0.5164 MB / 1.118 GB, free: 64.99 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/1.743, allocations: 319.3 kB / 1.118 GB, free: 64.68 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/1.743, allocations: 0 / 1.118 GB, free: 64.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3433/2.087, allocations: 66.41 MB / 1.183 GB, free: 221 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/18.55, allocations: 4.25 kB / 1.183 GB, free: 221 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches