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.001519/0.001519, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001919/0.001919, allocations: 194 kB / 18.12 MB, free: 5.383 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.417/1.417, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.1947/0.1947, allocations: 44.17 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.81 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1261, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05575/0.1819, allocations: 46.32 MB / 0.5029 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2304/0.4123, allocations: 4.538 MB / 0.5073 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009172/0.4132, allocations: 27.72 kB / 0.5074 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009948/0.4143, allocations: 273.7 kB / 0.5076 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.4166, allocations: 0.8007 MB / 0.5084 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.419, allocations: 0.8016 MB / 0.5092 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003785/0.4228, allocations: 2.667 MB / 0.5118 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000798/0.4236, allocations: 406.6 kB / 0.5122 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09678/0.5204, allocations: 43.36 MB / 0.5545 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01761/0.538, allocations: 7.971 MB / 0.5623 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.5383, allocations: 32 kB / 0.5623 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02435/0.5626, allocations: 10.63 MB / 0.5727 GB, free: 80 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004803/0.5631, allocations: 235.4 kB / 0.5729 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006681/0.5638, allocations: 369.1 kB / 0.5733 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.5652, allocations: 1.047 MB / 0.5743 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5652, allocations: 0 / 0.5743 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5652, allocations: 0 / 0.5743 GB, free: 14.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.5652, allocations: 0 / 0.5743 GB, free: 14.49 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.001987/0.5672, allocations: 1.053 MB / 0.5753 GB, free: 13.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.5673, allocations: 12.03 kB / 0.5753 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.5674, allocations: 96.97 kB / 0.5754 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.5678, allocations: 88 kB / 0.5755 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006683/0.5684, allocations: 0.5114 MB / 0.576 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.997e-05/0.5686, allocations: 97.16 kB / 0.5761 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.679e-05/0.5686, allocations: 55.53 kB / 0.5762 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.5698, allocations: 0.8192 MB / 0.577 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.5699, allocations: 3.938 kB / 0.577 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.5699, allocations: 31.92 kB / 0.577 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.57, allocations: 36.98 kB / 0.577 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.571, allocations: 0.6478 MB / 0.5777 GB, free: 10.91 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.004306/0.5753, allocations: 4.216 MB / 0.5818 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008235/0.5762, allocations: 419 kB / 0.5822 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.5765, allocations: 205.4 kB / 0.5824 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/0.5769, allocations: 0.4973 MB / 0.5829 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.577, allocations: 46.83 kB / 0.5829 GB, free: 5.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.663e-06/0.577, allocations: 0 / 0.5829 GB, free: 5.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003265/0.5803, allocations: 1.527 MB / 0.5844 GB, free: 3.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.5804, allocations: 136.5 kB / 0.5845 GB, free: 3.418 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.581, allocations: 0.5693 MB / 0.5851 GB, free: 2.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.581, allocations: 33.7 kB / 0.5851 GB, free: 2.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.5813, allocations: 352.3 kB / 0.5855 GB, free: 2.457 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.5814, allocations: 163.9 kB / 0.5856 GB, free: 2.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.5816, allocations: 138.6 kB / 0.5857 GB, free: 2.156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5818, allocations: 378.7 kB / 0.5861 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.5822, allocations: 225.9 kB / 0.5863 GB, free: 1.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.5827, allocations: 0.5183 MB / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/0.5837, allocations: 0.7735 MB / 0.5876 GB, free: 8 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5837, allocations: 4 kB / 0.5876 GB, free: 4 kB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001738/0.5854, allocations: 0.9432 MB / 0.5885 GB, free: 15.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.5855, allocations: 12 kB / 0.5885 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.5855, allocations: 8 kB / 0.5885 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.5866, allocations: 273.5 kB / 0.5888 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.587, allocations: 123.8 kB / 0.5889 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009321/0.588, allocations: 0.8633 MB / 0.5898 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.5885, allocations: 47.91 kB / 0.5898 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.5885, allocations: 32 kB / 0.5898 GB, free: 13.68 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.0003085/0.5888, allocations: 253.6 kB / 0.5901 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.589, allocations: 67.16 kB / 0.5901 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.5903, allocations: 0.7093 MB / 0.5908 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.5903, allocations: 8 kB / 0.5908 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5903, allocations: 0 / 0.5908 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.5903, allocations: 3.984 kB / 0.5908 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.5924, allocations: 1.403 MB / 0.5922 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5924, allocations: 3.938 kB / 0.5922 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009828/0.5934, allocations: 193.7 kB / 0.5924 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.5937, allocations: 56.78 kB / 0.5925 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.5937, allocations: 19.94 kB / 0.5925 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.5959, allocations: 2.782 MB / 0.5952 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5959, allocations: 9.719 kB / 0.5952 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.5974, allocations: 0.9931 MB / 0.5962 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.5977, allocations: 212.1 kB / 0.5964 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.633e-05/0.5978, allocations: 16.06 kB / 0.5964 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.5982, allocations: 23.89 kB / 0.5964 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.5984, allocations: 43.89 kB / 0.5964 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.5984, allocations: 19.98 kB / 0.5965 GB, free: 6.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004802/0.5989, allocations: 423 kB / 0.5969 GB, free: 6.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5989, allocations: 0 / 0.5969 GB, free: 6.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007655/0.5997, allocations: 204 kB / 0.5971 GB, free: 5.859 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.002145/0.6018, allocations: 1.675 MB / 0.5987 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.603, allocations: 0.6086 MB / 0.5993 GB, free: 3.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.603, allocations: 0 / 0.5993 GB, free: 3.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.6042, allocations: 479.1 kB / 0.5998 GB, free: 3.074 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.6058, allocations: 356.4 kB / 0.6001 GB, free: 2.734 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009814/0.6157, allocations: 6.952 MB / 0.6069 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.6163, allocations: 0.9423 MB / 0.6078 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008099/0.6171, allocations: 209.5 kB / 0.608 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.6174, allocations: 231.4 kB / 0.6082 GB, free: 10.04 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6174, allocations: 4 kB / 0.6082 GB, free: 10.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04712/0.6646, allocations: 21.14 MB / 0.6289 GB, free: 5.309 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/0.6648, allocations: 314.5 kB / 0.6292 GB, free: 4.926 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.136, allocations: 2.531 kB / 0.6292 GB, free: 4.926 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