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.001643/0.001643, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001731/0.001731, allocations: 192 kB / 18.55 MB, free: 4.566 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.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2032/0.2032, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 64.92 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04774/0.1493, allocations: 43.93 MB / 0.5013 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2106/0.36, allocations: 4.361 MB / 0.5055 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007242/0.3608, allocations: 21.81 kB / 0.5055 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008925/0.3617, allocations: 318.8 kB / 0.5058 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.3638, allocations: 0.8477 MB / 0.5067 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.3668, allocations: 0.8993 MB / 0.5076 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003171/0.37, allocations: 1.796 MB / 0.5093 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008586/0.3709, allocations: 460.5 kB / 0.5097 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1056/0.4765, allocations: 44.53 MB / 0.5532 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01927/0.4958, allocations: 7.955 MB / 0.561 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.4961, allocations: 64 kB / 0.5611 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02726/0.5234, allocations: 10.67 MB / 0.5715 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005316/0.5239, allocations: 267.3 kB / 0.5717 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007713/0.5247, allocations: 388.4 kB / 0.5721 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.5264, allocations: 1.075 MB / 0.5732 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5264, allocations: 4 kB / 0.5732 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5264, allocations: 0 / 0.5732 GB, free: 14.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.859e-05/0.5265, allocations: 3.844 kB / 0.5732 GB, free: 14.07 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.002239/0.5287, allocations: 1.051 MB / 0.5742 GB, free: 12.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.5288, allocations: 8.031 kB / 0.5742 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.5289, allocations: 102.7 kB / 0.5743 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003348/0.5292, allocations: 88.08 kB / 0.5744 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/0.5299, allocations: 0.4991 MB / 0.5749 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-05/0.5301, allocations: 112 kB / 0.575 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-05/0.5301, allocations: 51.69 kB / 0.575 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.5313, allocations: 0.8153 MB / 0.5758 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.5313, allocations: 4 kB / 0.5758 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/0.5314, allocations: 30.88 kB / 0.5759 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/0.5315, allocations: 40.17 kB / 0.5759 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5325, allocations: 0.6437 MB / 0.5765 GB, free: 10.55 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.004402/0.5369, allocations: 4.238 MB / 0.5807 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.5378, allocations: 411.3 kB / 0.581 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.5381, allocations: 205.4 kB / 0.5812 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004427/0.5386, allocations: 0.5051 MB / 0.5817 GB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5386, allocations: 43.22 kB / 0.5818 GB, free: 4.809 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 3.356e-06/0.5386, allocations: 0 / 0.5818 GB, free: 4.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003014/0.5416, allocations: 1.523 MB / 0.5833 GB, free: 3.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.5417, allocations: 136.5 kB / 0.5834 GB, free: 3.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.5423, allocations: 0.5654 MB / 0.5839 GB, free: 2.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.5424, allocations: 33.7 kB / 0.584 GB, free: 2.457 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.5426, allocations: 356.6 kB / 0.5843 GB, free: 2.109 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.5427, allocations: 169.1 kB / 0.5845 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.5429, allocations: 138.5 kB / 0.5846 GB, free: 1.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.543, allocations: 375.2 kB / 0.585 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.5434, allocations: 230.5 kB / 0.5852 GB, free: 1.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.544, allocations: 0.5197 MB / 0.5857 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009237/0.5449, allocations: 0.7806 MB / 0.5865 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.5449, allocations: 4 kB / 0.5865 GB, free: 15.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001674/0.5466, allocations: 0.9343 MB / 0.5874 GB, free: 14.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.5466, allocations: 8 kB / 0.5874 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.5466, allocations: 8.812 kB / 0.5874 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.5477, allocations: 269 kB / 0.5877 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.5481, allocations: 127.8 kB / 0.5878 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009135/0.5491, allocations: 0.8628 MB / 0.5886 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.5495, allocations: 31.97 kB / 0.5886 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.5496, allocations: 40.61 kB / 0.5887 GB, free: 13.39 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.0002989/0.5499, allocations: 253.2 kB / 0.5889 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.55, allocations: 63.25 kB / 0.589 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.5513, allocations: 0.7107 MB / 0.5897 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5513, allocations: 8 kB / 0.5897 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5514, allocations: 3.984 kB / 0.5897 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5514, allocations: 0 / 0.5897 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.5535, allocations: 1.4 MB / 0.5911 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5535, allocations: 4 kB / 0.5911 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009785/0.5545, allocations: 196 kB / 0.5913 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.5547, allocations: 56.73 kB / 0.5913 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.5547, allocations: 12 kB / 0.5913 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.5572, allocations: 2.994 MB / 0.5942 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5572, allocations: 11.91 kB / 0.5943 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.5589, allocations: 0.9955 MB / 0.5952 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.5592, allocations: 196.2 kB / 0.5954 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.423e-05/0.5593, allocations: 16 kB / 0.5954 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.5597, allocations: 15.98 kB / 0.5954 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.5598, allocations: 43.95 kB / 0.5955 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.5599, allocations: 19.98 kB / 0.5955 GB, free: 5.988 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005297/0.5604, allocations: 419 kB / 0.5959 GB, free: 5.582 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5604, allocations: 0 / 0.5959 GB, free: 5.582 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000787/0.5612, allocations: 204 kB / 0.5961 GB, free: 5.383 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.002106/0.5633, allocations: 1.682 MB / 0.5977 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.5646, allocations: 0.6675 MB / 0.5984 GB, free: 3.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5646, allocations: 1.438 kB / 0.5984 GB, free: 3.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.5658, allocations: 494.8 kB / 0.5989 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.5675, allocations: 359 kB / 0.5992 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009293/0.5768, allocations: 6.754 MB / 0.6058 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.5773, allocations: 0.9363 MB / 0.6067 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007892/0.5781, allocations: 208.3 kB / 0.6069 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.5784, allocations: 231.4 kB / 0.6071 GB, free: 9.676 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5784, allocations: 0 / 0.6071 GB, free: 9.676 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04602/0.6244, allocations: 21.87 MB / 0.6285 GB, free: 4.191 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.06, allocations: 13.3 kB / 0.6285 GB, free: 4.176 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