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.001231/0.001231, allocations: 108.9 kB / 17.33 MB, free: 6 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.001179/0.001179, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.327/1.327, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2038/0.2038, allocations: 44.18 MB / 336.3 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 60.98 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 60.84 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04675/0.1484, allocations: 44.57 MB / 0.5014 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2408/0.3893, allocations: 4.436 MB / 0.5057 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000961/0.3903, allocations: 27.56 kB / 0.5057 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009807/0.3913, allocations: 280.3 kB / 0.506 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.3935, allocations: 0.7977 MB / 0.5068 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.3962, allocations: 0.8346 MB / 0.5076 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.3995, allocations: 1.799 MB / 0.5093 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008235/0.4003, allocations: 453.7 kB / 0.5098 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09495/0.4953, allocations: 43.99 MB / 0.5527 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01646/0.5118, allocations: 7.999 MB / 0.5606 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.5121, allocations: 60 kB / 0.5606 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0258/0.5379, allocations: 10.69 MB / 0.571 GB, free: 176 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007212/0.5387, allocations: 267.3 kB / 0.5713 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008053/0.5395, allocations: 395.1 kB / 0.5717 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.5414, allocations: 1.068 MB / 0.5727 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5414, allocations: 0 / 0.5727 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.159e-06/0.5415, allocations: 3.984 kB / 0.5727 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.5415, allocations: 0 / 0.5727 GB, free: 14.52 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.00235/0.5438, allocations: 1.054 MB / 0.5737 GB, free: 13.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5439, allocations: 8.031 kB / 0.5738 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.5441, allocations: 105.5 kB / 0.5739 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.5444, allocations: 91.98 kB / 0.5739 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007508/0.5452, allocations: 0.5004 MB / 0.5744 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.5453, allocations: 104.3 kB / 0.5745 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5454, allocations: 58.28 kB / 0.5746 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.5467, allocations: 0.8187 MB / 0.5754 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.5468, allocations: 7.188 kB / 0.5754 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.5469, allocations: 24 kB / 0.5754 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.5469, allocations: 36.98 kB / 0.5755 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5481, allocations: 0.65 MB / 0.5761 GB, free: 10.98 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.005293/0.5534, allocations: 4.216 MB / 0.5802 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009638/0.5543, allocations: 415.8 kB / 0.5806 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.5547, allocations: 205.4 kB / 0.5808 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005257/0.5552, allocations: 0.5057 MB / 0.5813 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.5553, allocations: 39.22 kB / 0.5813 GB, free: 5.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.805e-06/0.5553, allocations: 7.125 kB / 0.5813 GB, free: 5.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003489/0.5588, allocations: 1.53 MB / 0.5828 GB, free: 3.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/0.5589, allocations: 140.5 kB / 0.583 GB, free: 3.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006687/0.5596, allocations: 0.5693 MB / 0.5835 GB, free: 2.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.5596, allocations: 33.7 kB / 0.5836 GB, free: 2.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.5599, allocations: 350.2 kB / 0.5839 GB, free: 2.547 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.56, allocations: 164.7 kB / 0.584 GB, free: 2.387 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.5603, allocations: 138.5 kB / 0.5842 GB, free: 2.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5604, allocations: 378.7 kB / 0.5845 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.5608, allocations: 225.9 kB / 0.5848 GB, free: 1.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/0.5614, allocations: 0.5166 MB / 0.5853 GB, free: 1.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009658/0.5624, allocations: 0.7769 MB / 0.586 GB, free: 116 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.5624, allocations: 4 kB / 0.586 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00179/0.5642, allocations: 0.9435 MB / 0.5869 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.5642, allocations: 16.8 kB / 0.587 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.5642, allocations: 12 kB / 0.587 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.5654, allocations: 271.8 kB / 0.5872 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.5658, allocations: 119.8 kB / 0.5873 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009405/0.5668, allocations: 0.8683 MB / 0.5882 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.5673, allocations: 39.98 kB / 0.5882 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.5674, allocations: 39.98 kB / 0.5883 GB, free: 13.78 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.0003274/0.5677, allocations: 249.5 kB / 0.5885 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5679, allocations: 67.16 kB / 0.5886 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.5693, allocations: 0.7132 MB / 0.5893 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5693, allocations: 4 kB / 0.5893 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5693, allocations: 5.75 kB / 0.5893 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5693, allocations: 3.984 kB / 0.5893 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.5715, allocations: 1.403 MB / 0.5906 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5715, allocations: 4 kB / 0.5907 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.5725, allocations: 192 kB / 0.5908 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/0.5728, allocations: 52.8 kB / 0.5909 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.5729, allocations: 15.98 kB / 0.5909 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.5753, allocations: 2.988 MB / 0.5938 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5753, allocations: 4.031 kB / 0.5938 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.5769, allocations: 1.004 MB / 0.5948 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.5772, allocations: 192.3 kB / 0.595 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.5773, allocations: 16 kB / 0.595 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.5777, allocations: 27.95 kB / 0.595 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5778, allocations: 43.83 kB / 0.5951 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.5779, allocations: 23.98 kB / 0.5951 GB, free: 6.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004654/0.5784, allocations: 419 kB / 0.5955 GB, free: 5.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5784, allocations: 0 / 0.5955 GB, free: 5.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007901/0.5792, allocations: 211.9 kB / 0.5957 GB, free: 5.754 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.002156/0.5813, allocations: 1.675 MB / 0.5973 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.5828, allocations: 0.6727 MB / 0.598 GB, free: 3.387 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5828, allocations: 0 / 0.598 GB, free: 3.387 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.584, allocations: 487.3 kB / 0.5985 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.5858, allocations: 379.5 kB / 0.5988 GB, free: 2.543 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.5963, allocations: 6.952 MB / 0.6056 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/0.597, allocations: 0.9385 MB / 0.6065 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008771/0.5979, allocations: 207.7 kB / 0.6067 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.5983, allocations: 231.4 kB / 0.6069 GB, free: 9.855 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5983, allocations: 0 / 0.6069 GB, free: 9.855 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04771/0.646, allocations: 21.7 MB / 0.6281 GB, free: 4.59 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.6463, allocations: 322.5 kB / 0.6284 GB, free: 4.199 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.104, allocations: 0 / 0.6284 GB, free: 4.199 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