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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001011, allocations: 98.02 kB / 16.99 MB, free: 6.402 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.0008799/0.0008801, allocations: 178.3 kB / 17.88 MB, free: 5.957 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.361/1.361, allocations: 223.2 MB / 241.8 MB, free: 380 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.1866/0.1866, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 61.93 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04008/0.1637, allocations: 34.46 MB / 0.4941 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007334/0.1711, allocations: 4.151 MB / 0.4981 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009648/0.1721, allocations: 27.75 kB / 0.4981 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1732, allocations: 270.6 kB / 0.4984 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.1757, allocations: 0.6933 MB / 0.4991 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.178, allocations: 0.6953 MB / 0.4998 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.18, allocations: 1.024 MB / 0.5008 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008491/0.1808, allocations: 389.3 kB / 0.5011 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3752/0.556, allocations: 72.53 MB / 0.572 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02219/0.5783, allocations: 13.32 MB / 0.585 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.5785, allocations: 35.19 kB / 0.585 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03248/0.611, allocations: 18.49 MB / 0.6031 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000605/0.6117, allocations: 209.2 kB / 0.6033 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.612, allocations: 166.3 kB / 0.6034 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.6131, allocations: 0.7598 MB / 0.6042 GB, free: 4.422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6132, allocations: 0 / 0.6042 GB, free: 4.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.6132, allocations: 0 / 0.6042 GB, free: 4.422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.6132, allocations: 4 kB / 0.6042 GB, free: 4.418 MB / 446.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.002171/0.6154, allocations: 0.9254 MB / 0.6051 GB, free: 3.512 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.33e-05/0.6154, allocations: 12.56 kB / 0.6051 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/0.6159, allocations: 87.14 kB / 0.6052 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009292/0.6168, allocations: 493.6 kB / 0.6056 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.6169, allocations: 104.8 kB / 0.6057 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/0.617, allocations: 51.22 kB / 0.6058 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.6183, allocations: 0.8112 MB / 0.6066 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.6183, allocations: 11.56 kB / 0.6066 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/0.6184, allocations: 24 kB / 0.6066 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/0.6185, allocations: 38.23 kB / 0.6066 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.6195, allocations: 0.6423 MB / 0.6073 GB, free: 1.746 MB / 446.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.004958/0.6245, allocations: 4.238 MB / 0.6114 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009523/0.6255, allocations: 417.4 kB / 0.6118 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006462/0.6261, allocations: 0.4975 MB / 0.6123 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.6262, allocations: 37.52 kB / 0.6123 GB, free: 12.94 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 4.048e-06/0.6262, allocations: 0 / 0.6123 GB, free: 12.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.00357/0.6298, allocations: 1.528 MB / 0.6138 GB, free: 11.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.6299, allocations: 140.5 kB / 0.6139 GB, free: 11.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.6306, allocations: 0.5615 MB / 0.6145 GB, free: 11.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.6306, allocations: 36.2 kB / 0.6145 GB, free: 11.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.6309, allocations: 351 kB / 0.6149 GB, free: 10.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.631, allocations: 167.8 kB / 0.615 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.6311, allocations: 15.75 kB / 0.615 GB, free: 10.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.6313, allocations: 369.8 kB / 0.6154 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.6317, allocations: 223 kB / 0.6156 GB, free: 10.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.6323, allocations: 0.5183 MB / 0.6161 GB, free: 9.688 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.6328, allocations: 322.3 kB / 0.6164 GB, free: 9.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6328, allocations: 0 / 0.6164 GB, free: 9.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00186/0.6346, allocations: 0.9578 MB / 0.6174 GB, free: 8.828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.6347, allocations: 12 kB / 0.6174 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.6347, allocations: 8 kB / 0.6174 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.6358, allocations: 267.3 kB / 0.6176 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.6363, allocations: 131.1 kB / 0.6178 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.6373, allocations: 0.8664 MB / 0.6186 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.638, allocations: 45.3 kB / 0.6186 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/0.6381, allocations: 36.73 kB / 0.6187 GB, free: 7.656 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005135/0.6386, allocations: 242.2 kB / 0.6189 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.6388, allocations: 71.2 kB / 0.619 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.6402, allocations: 0.7156 MB / 0.6197 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.6402, allocations: 9.594 kB / 0.6197 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.6403, allocations: 4 kB / 0.6197 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.6403, allocations: 0 / 0.6197 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.6425, allocations: 1.413 MB / 0.6211 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.6425, allocations: 0 / 0.6211 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009729/0.6435, allocations: 199.2 kB / 0.6213 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/0.6438, allocations: 63.62 kB / 0.6213 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.6438, allocations: 12.94 kB / 0.6213 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.6463, allocations: 2.806 MB / 0.6241 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.6463, allocations: 2.625 kB / 0.6241 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.6479, allocations: 1.08 MB / 0.6251 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.6483, allocations: 203.6 kB / 0.6253 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.6484, allocations: 21.86 kB / 0.6253 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.6488, allocations: 27.25 kB / 0.6254 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.6489, allocations: 40.36 kB / 0.6254 GB, free: 1.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.6489, allocations: 23.36 kB / 0.6254 GB, free: 1.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004595/0.6494, allocations: 391.8 kB / 0.6258 GB, free: 1.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6494, allocations: 0 / 0.6258 GB, free: 1.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007995/0.6502, allocations: 209.2 kB / 0.626 GB, free: 1.086 MB / 462.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004932/0.6507, allocations: 235.4 kB / 0.6262 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.6518, allocations: 0.5899 MB / 0.6268 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6518, allocations: 4 kB / 0.6268 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.653, allocations: 496.1 kB / 0.6273 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.6544, allocations: 324.7 kB / 0.6276 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.6567, allocations: 1.649 MB / 0.6292 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.6572, allocations: 0.9618 MB / 0.6301 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007122/0.6579, allocations: 199.5 kB / 0.6303 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.6581, allocations: 51.44 kB / 0.6304 GB, free: 13.11 MB / 478.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6581, allocations: 1.859 kB / 0.6304 GB, free: 13.11 MB / 478.1 MB Notification: Performance of Templates: time 0.02161/0.6797, allocations: 13.43 MB / 0.6435 GB, free: 15.96 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../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