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.001085/0.001085, allocations: 103.9 kB / 16.4 MB, free: 6.5 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.001115/0.001115, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.308/1.308, 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.2094/0.2094, allocations: 43.52 MB / 314.1 MB, free: 448 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.001414/0.001414, allocations: 67.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1169, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04703/0.1639, allocations: 43.95 MB / 0.5303 GB, free: 160 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2125/0.3765, allocations: 4.36 MB / 0.5346 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006165/0.3772, allocations: 19 kB / 0.5346 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008064/0.378, allocations: 317.7 kB / 0.5349 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.3801, allocations: 0.8532 MB / 0.5357 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.3829, allocations: 0.893 MB / 0.5366 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002597/0.3855, allocations: 1.79 MB / 0.5384 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008694/0.3864, allocations: 463.8 kB / 0.5388 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1052/0.4916, allocations: 44.52 MB / 0.5823 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01847/0.5101, allocations: 7.952 MB / 0.59 GB, free: 6.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.5104, allocations: 60 kB / 0.5901 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02573/0.5361, allocations: 10.67 MB / 0.6005 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005756/0.5368, allocations: 258.3 kB / 0.6008 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007813/0.5376, allocations: 385.4 kB / 0.6011 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.5393, allocations: 1.085 MB / 0.6022 GB, free: 9.789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.5393, allocations: 7.844 kB / 0.6022 GB, free: 9.785 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5393, allocations: 0 / 0.6022 GB, free: 9.785 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.5393, allocations: 4 kB / 0.6022 GB, free: 9.781 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.002268/0.5416, allocations: 1.043 MB / 0.6032 GB, free: 8.699 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5417, allocations: 15.89 kB / 0.6032 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.5418, allocations: 97.91 kB / 0.6033 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003346/0.5421, allocations: 95.95 kB / 0.6034 GB, free: 8.488 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.5429, allocations: 0.5289 MB / 0.6039 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.543, allocations: 99.11 kB / 0.604 GB, free: 7.824 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.5431, allocations: 54.52 kB / 0.6041 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.5443, allocations: 0.8184 MB / 0.6049 GB, free: 6.895 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.5443, allocations: 3.938 kB / 0.6049 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.5444, allocations: 23.36 kB / 0.6049 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.614e-05/0.5445, allocations: 44.97 kB / 0.605 GB, free: 6.828 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009907/0.5455, allocations: 0.6439 MB / 0.6056 GB, free: 6.188 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.004423/0.5499, allocations: 4.228 MB / 0.6097 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008279/0.5507, allocations: 421.4 kB / 0.6101 GB, free: 1.293 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.5511, allocations: 205.4 kB / 0.6103 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/0.5515, allocations: 0.4942 MB / 0.6108 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.5516, allocations: 38.89 kB / 0.6108 GB, free: 452 kB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.5516, allocations: 4 kB / 0.6108 GB, free: 448 kB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003122/0.5547, allocations: 1.527 MB / 0.6123 GB, free: 14.85 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.5548, allocations: 132.5 kB / 0.6125 GB, free: 14.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/0.5555, allocations: 0.5731 MB / 0.613 GB, free: 14.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.5556, allocations: 37.7 kB / 0.6131 GB, free: 14.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.5558, allocations: 352.5 kB / 0.6134 GB, free: 13.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.5559, allocations: 155.9 kB / 0.6135 GB, free: 13.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.5562, allocations: 142.5 kB / 0.6137 GB, free: 13.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5563, allocations: 382.7 kB / 0.614 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.5567, allocations: 229.8 kB / 0.6143 GB, free: 12.81 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.5573, allocations: 0.5144 MB / 0.6148 GB, free: 12.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.5582, allocations: 0.7773 MB / 0.6155 GB, free: 11.26 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.5582, allocations: 0 / 0.6155 GB, free: 11.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00165/0.5599, allocations: 0.9413 MB / 0.6164 GB, free: 10.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.5599, allocations: 12.22 kB / 0.6165 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.5599, allocations: 12 kB / 0.6165 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.5611, allocations: 260.6 kB / 0.6167 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.5617, allocations: 127.7 kB / 0.6168 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.5627, allocations: 0.87 MB / 0.6177 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.5632, allocations: 31.98 kB / 0.6177 GB, free: 8.977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.5633, allocations: 32 kB / 0.6177 GB, free: 8.945 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.0004829/0.5637, allocations: 248.2 kB / 0.618 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.564, allocations: 71.28 kB / 0.618 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.5654, allocations: 0.7131 MB / 0.6187 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.5654, allocations: 4 kB / 0.6187 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5655, allocations: 3.984 kB / 0.6188 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5655, allocations: 4 kB / 0.6188 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.5679, allocations: 1.4 MB / 0.6201 GB, free: 6.426 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5679, allocations: 4 kB / 0.6201 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.5689, allocations: 196 kB / 0.6203 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000246/0.5692, allocations: 52.8 kB / 0.6204 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/0.5692, allocations: 12.69 kB / 0.6204 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.5717, allocations: 2.989 MB / 0.6233 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.5717, allocations: 0 / 0.6233 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.5734, allocations: 1.008 MB / 0.6243 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.5739, allocations: 204.2 kB / 0.6245 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.574, allocations: 15.94 kB / 0.6245 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.5744, allocations: 15.98 kB / 0.6245 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.5745, allocations: 39.89 kB / 0.6245 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/0.5746, allocations: 23.98 kB / 0.6246 GB, free: 1.543 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004975/0.5751, allocations: 423.1 kB / 0.625 GB, free: 1.129 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5751, allocations: 0 / 0.625 GB, free: 1.129 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007833/0.5759, allocations: 200 kB / 0.6252 GB, free: 0.9336 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.002149/0.578, allocations: 1.683 MB / 0.6268 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.5793, allocations: 0.6067 MB / 0.6274 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5793, allocations: 0 / 0.6274 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.5805, allocations: 483.3 kB / 0.6279 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5822, allocations: 363.2 kB / 0.6282 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009813/0.592, allocations: 6.523 MB / 0.6346 GB, free: 6.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.5926, allocations: 0.9422 MB / 0.6355 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006891/0.5933, allocations: 209.7 kB / 0.6357 GB, free: 5.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.5936, allocations: 231.4 kB / 0.6359 GB, free: 5.484 MB / 494.1 MB Notification: Performance of SimCode: time 6.12e-07/0.5936, allocations: 0 / 0.6359 GB, free: 5.484 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04928/0.6429, allocations: 22.45 MB / 0.6578 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.34, allocations: 24.03 kB / 0.6579 GB, free: 14.99 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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