Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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 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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_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.001257/0.001257, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001205/0.001205, allocations: 185.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.319/1.319, 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.2049/0.2049, allocations: 43.53 MB / 314.1 MB, free: 452 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.001413/0.001413, allocations: 67.89 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1049, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05174/0.1567, allocations: 43.95 MB / 0.5303 GB, free: 188 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2558/0.4125, allocations: 4.363 MB / 0.5346 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005457/0.4131, allocations: 18.75 kB / 0.5346 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008929/0.414, allocations: 320.7 kB / 0.5349 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.416, allocations: 0.8627 MB / 0.5358 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.4189, allocations: 0.9025 MB / 0.5366 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.4224, allocations: 1.791 MB / 0.5384 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007759/0.4231, allocations: 459.1 kB / 0.5388 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1126/0.5358, allocations: 44.53 MB / 0.5823 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01799/0.5538, allocations: 7.944 MB / 0.5901 GB, free: 6.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002433/0.5541, allocations: 60 kB / 0.5901 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02464/0.5787, allocations: 10.67 MB / 0.6006 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004924/0.5793, allocations: 260.2 kB / 0.6008 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006345/0.5799, allocations: 391.6 kB / 0.6012 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.5815, allocations: 1.082 MB / 0.6022 GB, free: 9.793 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.5815, allocations: 0 / 0.6022 GB, free: 9.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5815, allocations: 0 / 0.6022 GB, free: 9.793 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.5815, allocations: 4 kB / 0.6022 GB, free: 9.789 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00198/0.5835, allocations: 1.075 MB / 0.6033 GB, free: 8.676 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5835, allocations: 15.89 kB / 0.6033 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.5837, allocations: 96.97 kB / 0.6034 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.584, allocations: 92.45 kB / 0.6035 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.5848, allocations: 0.5398 MB / 0.604 GB, free: 7.902 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.122e-05/0.5849, allocations: 102.5 kB / 0.6041 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/0.585, allocations: 53.89 kB / 0.6042 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.5862, allocations: 0.8176 MB / 0.605 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.5862, allocations: 0 / 0.605 GB, free: 6.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.5863, allocations: 24 kB / 0.605 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/0.5863, allocations: 40.92 kB / 0.605 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009879/0.5873, allocations: 0.6517 MB / 0.6057 GB, free: 6.156 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.004399/0.5917, allocations: 4.218 MB / 0.6098 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008432/0.5926, allocations: 431.2 kB / 0.6102 GB, free: 1.262 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.5929, allocations: 209 kB / 0.6104 GB, free: 1.059 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.5934, allocations: 0.4976 MB / 0.6109 GB, free: 464 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.5934, allocations: 38.89 kB / 0.6109 GB, free: 416 kB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.493e-06/0.5934, allocations: 0 / 0.6109 GB, free: 416 kB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.002988/0.5964, allocations: 1.545 MB / 0.6124 GB, free: 14.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.5965, allocations: 132.5 kB / 0.6125 GB, free: 14.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.5972, allocations: 0.5694 MB / 0.6131 GB, free: 14.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.5972, allocations: 33.7 kB / 0.6131 GB, free: 14.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.5975, allocations: 359.7 kB / 0.6135 GB, free: 13.67 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.5976, allocations: 171.8 kB / 0.6136 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.5978, allocations: 142.6 kB / 0.6138 GB, free: 13.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.598, allocations: 374.7 kB / 0.6141 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.5983, allocations: 229.9 kB / 0.6143 GB, free: 12.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.5989, allocations: 0.5165 MB / 0.6149 GB, free: 12.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6, allocations: 0.7795 MB / 0.6156 GB, free: 11.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6, allocations: 0 / 0.6156 GB, free: 11.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00171/0.6018, allocations: 0.941 MB / 0.6165 GB, free: 10.26 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.6018, allocations: 14.66 kB / 0.6165 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6018, allocations: 8 kB / 0.6166 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.6029, allocations: 278.7 kB / 0.6168 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.6033, allocations: 115.8 kB / 0.6169 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008895/0.6042, allocations: 0.8606 MB / 0.6178 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.6046, allocations: 39.98 kB / 0.6178 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.6047, allocations: 36 kB / 0.6178 GB, free: 8.891 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003419/0.6051, allocations: 237.5 kB / 0.6181 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.6052, allocations: 83.5 kB / 0.6182 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.6064, allocations: 0.7191 MB / 0.6189 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.6065, allocations: 4 kB / 0.6189 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6065, allocations: 0 / 0.6189 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6065, allocations: 7.984 kB / 0.6189 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.6087, allocations: 1.397 MB / 0.6202 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.6087, allocations: 4 kB / 0.6202 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009761/0.6097, allocations: 191.9 kB / 0.6204 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.6099, allocations: 60.78 kB / 0.6205 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.6099, allocations: 12 kB / 0.6205 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.6122, allocations: 2.988 MB / 0.6234 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6122, allocations: 0 / 0.6234 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.6137, allocations: 1.014 MB / 0.6244 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.614, allocations: 201.8 kB / 0.6246 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.614, allocations: 8 kB / 0.6246 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.6144, allocations: 19.98 kB / 0.6246 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.6145, allocations: 39.83 kB / 0.6246 GB, free: 1.504 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.6146, allocations: 27.98 kB / 0.6247 GB, free: 1.477 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000515/0.6151, allocations: 415.1 kB / 0.6251 GB, free: 1.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6151, allocations: 4.062 kB / 0.6251 GB, free: 1.066 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007339/0.6158, allocations: 207.9 kB / 0.6253 GB, free: 0.8633 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002287/0.6181, allocations: 1.671 MB / 0.6269 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.6193, allocations: 0.6125 MB / 0.6275 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6193, allocations: 4 kB / 0.6275 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.6206, allocations: 482.2 kB / 0.628 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.6222, allocations: 374.7 kB / 0.6283 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008858/0.6311, allocations: 6.541 MB / 0.6347 GB, free: 6.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.6316, allocations: 0.9405 MB / 0.6356 GB, free: 5.816 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006527/0.6322, allocations: 210.1 kB / 0.6358 GB, free: 5.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.6327, allocations: 235.3 kB / 0.6361 GB, free: 5.379 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6327, allocations: 0 / 0.6361 GB, free: 5.379 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0488/0.6815, allocations: 22.12 MB / 0.6577 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.95, allocations: 15.98 kB / 0.6577 GB, free: 15.21 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches