Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_0_0_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.0008772/0.0008772, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0009202/0.0009202, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.285/1.285, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.206/0.206, allocations: 44.24 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1171, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2881/0.4052, allocations: 45.33 MB / 0.5056 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006519/0.4117, allocations: 4.479 MB / 0.5099 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009823/0.4128, allocations: 23.16 kB / 0.51 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000855/0.4136, allocations: 274.5 kB / 0.5102 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.4159, allocations: 0.8083 MB / 0.511 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.4184, allocations: 0.7986 MB / 0.5118 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003289/0.4217, allocations: 2.665 MB / 0.5144 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007211/0.4225, allocations: 399.8 kB / 0.5148 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.085/0.5075, allocations: 43.35 MB / 0.5571 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01611/0.5236, allocations: 7.966 MB / 0.5649 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.5239, allocations: 45.12 kB / 0.5649 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02108/0.545, allocations: 10.62 MB / 0.5753 GB, free: 240 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006405/0.5457, allocations: 238.3 kB / 0.5755 GB, free: 32 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009149/0.5466, allocations: 395.7 kB / 0.5759 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.5483, allocations: 1.034 MB / 0.5769 GB, free: 14.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5483, allocations: 0 / 0.5769 GB, free: 14.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5483, allocations: 0 / 0.5769 GB, free: 14.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.526e-05/0.5483, allocations: 0 / 0.5769 GB, free: 14.74 MB / 430.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.001973/0.5503, allocations: 0.9168 MB / 0.5778 GB, free: 13.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.5504, allocations: 8.031 kB / 0.5778 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.5505, allocations: 97.12 kB / 0.5779 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.5508, allocations: 95.61 kB / 0.578 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.5515, allocations: 0.5041 MB / 0.5785 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.469e-05/0.5516, allocations: 97.16 kB / 0.5786 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/0.5517, allocations: 58.81 kB / 0.5786 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.5528, allocations: 0.8249 MB / 0.5795 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.5529, allocations: 11.88 kB / 0.5795 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.553, allocations: 19.75 kB / 0.5795 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/0.553, allocations: 40.98 kB / 0.5795 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.554, allocations: 0.6439 MB / 0.5802 GB, free: 11.29 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.004352/0.5584, allocations: 4.224 MB / 0.5843 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008116/0.5592, allocations: 410.9 kB / 0.5847 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.5595, allocations: 209.4 kB / 0.5849 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004601/0.56, allocations: 0.5029 MB / 0.5854 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.56, allocations: 42.89 kB / 0.5854 GB, free: 5.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.5601, allocations: 0 / 0.5854 GB, free: 5.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003018/0.5631, allocations: 1.529 MB / 0.5869 GB, free: 3.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.5632, allocations: 132.5 kB / 0.587 GB, free: 3.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.5638, allocations: 0.5655 MB / 0.5876 GB, free: 3.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.5638, allocations: 37.7 kB / 0.5876 GB, free: 3.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.5641, allocations: 353.5 kB / 0.5879 GB, free: 2.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.5642, allocations: 165.6 kB / 0.5881 GB, free: 2.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.5643, allocations: 61.69 kB / 0.5882 GB, free: 2.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5644, allocations: 382.7 kB / 0.5885 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.5648, allocations: 221.9 kB / 0.5887 GB, free: 2.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.5653, allocations: 0.5201 MB / 0.5892 GB, free: 1.344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009207/0.5663, allocations: 0.7757 MB / 0.59 GB, free: 452 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5663, allocations: 8 kB / 0.59 GB, free: 444 kB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001653/0.5679, allocations: 0.9412 MB / 0.5909 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.568, allocations: 12 kB / 0.5909 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.568, allocations: 8 kB / 0.5909 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.5691, allocations: 270.5 kB / 0.5912 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.5695, allocations: 123.8 kB / 0.5913 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009426/0.5705, allocations: 0.8672 MB / 0.5922 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.571, allocations: 43.92 kB / 0.5922 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.5711, allocations: 40.05 kB / 0.5923 GB, free: 14.11 MB / 446.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.0003352/0.5715, allocations: 245.5 kB / 0.5925 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.5716, allocations: 67.16 kB / 0.5925 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.5729, allocations: 0.7144 MB / 0.5932 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.5729, allocations: 11.94 kB / 0.5933 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.573, allocations: 0 / 0.5933 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.573, allocations: 3.984 kB / 0.5933 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.5754, allocations: 1.405 MB / 0.5946 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5754, allocations: 4.812 kB / 0.5946 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009356/0.5763, allocations: 196 kB / 0.5948 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.5766, allocations: 56.78 kB / 0.5949 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.5767, allocations: 19.98 kB / 0.5949 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.5789, allocations: 2.786 MB / 0.5976 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.579, allocations: 7.969 kB / 0.5976 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.5804, allocations: 1.004 MB / 0.5986 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.5807, allocations: 204.2 kB / 0.5988 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/0.5808, allocations: 12 kB / 0.5988 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.5812, allocations: 31.89 kB / 0.5988 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.23e-05/0.5813, allocations: 39.95 kB / 0.5989 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.5814, allocations: 19.98 kB / 0.5989 GB, free: 6.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000519/0.5819, allocations: 423 kB / 0.5993 GB, free: 6.477 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5819, allocations: 4 kB / 0.5993 GB, free: 6.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008058/0.5827, allocations: 204 kB / 0.5995 GB, free: 6.273 MB / 446.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.002116/0.5849, allocations: 1.669 MB / 0.6011 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.586, allocations: 0.5994 MB / 0.6017 GB, free: 3.973 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.586, allocations: 2.891 kB / 0.6017 GB, free: 3.973 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.5872, allocations: 492.9 kB / 0.6022 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.5891, allocations: 358.6 kB / 0.6025 GB, free: 3.137 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.5991, allocations: 7.042 MB / 0.6094 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.5997, allocations: 0.9385 MB / 0.6103 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008516/0.6006, allocations: 211.6 kB / 0.6105 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.601, allocations: 231.3 kB / 0.6107 GB, free: 10.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.601, allocations: 3.938 kB / 0.6108 GB, free: 10.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0435/0.6445, allocations: 20.92 MB / 0.6312 GB, free: 5.844 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/0.6448, allocations: 320.1 kB / 0.6315 GB, free: 5.457 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.881, allocations: 2.969 kB / 0.6315 GB, free: 5.457 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches