Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002375/0.002375, allocations: 189.8 kB / 16.4 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 103.1 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5221/0.5221, allocations: 43.55 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004979, allocations: 16 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1338, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.3628/0.4967, allocations: 18.21 MB / 0.4965 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.5088, allocations: 5.842 MB / 0.5022 GB, free: 33.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.5102, allocations: 22.75 kB / 0.5022 GB, free: 33.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.5113, allocations: 255.8 kB / 0.5025 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005729/0.5171, allocations: 1.441 MB / 0.5039 GB, free: 32.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004809/0.5219, allocations: 1.215 MB / 0.5051 GB, free: 32.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.5243, allocations: 1.049 MB / 0.5061 GB, free: 31.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008259/0.5251, allocations: 403.5 kB / 0.5065 GB, free: 31.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007604/0.5328, allocations: 2.804 MB / 0.5092 GB, free: 31.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.5356, allocations: 1.067 MB / 0.5103 GB, free: 30.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.5358, allocations: 32.62 kB / 0.5103 GB, free: 30.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003906/0.5398, allocations: 1.259 MB / 0.5115 GB, free: 30.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005204/0.5403, allocations: 221.2 kB / 0.5117 GB, free: 30.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.5407, allocations: 168 kB / 0.5119 GB, free: 30.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002455/0.5432, allocations: 1.039 MB / 0.5129 GB, free: 30.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5432, allocations: 3.938 kB / 0.5129 GB, free: 30.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5432, allocations: 0 / 0.5129 GB, free: 30.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.5432, allocations: 0 / 0.5129 GB, free: 30.29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002776/0.546, allocations: 1.011 MB / 0.5139 GB, free: 29.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5461, allocations: 12.98 kB / 0.5139 GB, free: 29.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.5476, allocations: 143.5 kB / 0.5141 GB, free: 29.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.5489, allocations: 0.4932 MB / 0.5145 GB, free: 29.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.5491, allocations: 113.7 kB / 0.5146 GB, free: 29.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.5492, allocations: 45.5 kB / 0.5147 GB, free: 29.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.5514, allocations: 0.8276 MB / 0.5155 GB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.5514, allocations: 3.938 kB / 0.5155 GB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.5516, allocations: 26.47 kB / 0.5155 GB, free: 28.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.725e-05/0.5517, allocations: 41.09 kB / 0.5156 GB, free: 28.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.5535, allocations: 0.6078 MB / 0.5162 GB, free: 28.38 MB / 378.7 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.006921/0.5605, allocations: 4.648 MB / 0.5207 GB, free: 24.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.5616, allocations: 324.6 kB / 0.521 GB, free: 24.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.5619, allocations: 338.3 kB / 0.5213 GB, free: 23.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.562, allocations: 48.39 kB / 0.5214 GB, free: 23.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 3.717e-06/0.562, allocations: 0 / 0.5214 GB, free: 23.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.006299/0.5683, allocations: 1.533 MB / 0.5229 GB, free: 23.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.5684, allocations: 135.5 kB / 0.523 GB, free: 22.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.5695, allocations: 0.6509 MB / 0.5236 GB, free: 22.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.5696, allocations: 40.77 kB / 0.5237 GB, free: 22.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.5699, allocations: 422.4 kB / 0.5241 GB, free: 22.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.5701, allocations: 130.5 kB / 0.5242 GB, free: 22.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.5701, allocations: 11.06 kB / 0.5242 GB, free: 22.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.5702, allocations: 335.7 kB / 0.5245 GB, free: 21.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/0.5708, allocations: 208.1 kB / 0.5247 GB, free: 21.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.5715, allocations: 499.4 kB / 0.5252 GB, free: 21.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.5722, allocations: 303.1 kB / 0.5255 GB, free: 21.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.5722, allocations: 6.75 kB / 0.5255 GB, free: 21.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002108/0.5743, allocations: 0.8231 MB / 0.5263 GB, free: 20.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.5744, allocations: 12.28 kB / 0.5263 GB, free: 20.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.5744, allocations: 13.88 kB / 0.5263 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.5765, allocations: 289.6 kB / 0.5266 GB, free: 20.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.5773, allocations: 128.6 kB / 0.5267 GB, free: 20.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.5789, allocations: 1.398 MB / 0.5281 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009573/0.5799, allocations: 36.78 kB / 0.5281 GB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.58, allocations: 49.05 kB / 0.5282 GB, free: 19.45 MB / 378.7 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.000484/0.5805, allocations: 244.1 kB / 0.5284 GB, free: 19.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.5807, allocations: 68.88 kB / 0.5285 GB, free: 19.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.5831, allocations: 0.6571 MB / 0.5291 GB, free: 18.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.5831, allocations: 3.188 kB / 0.5291 GB, free: 18.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5831, allocations: 0 / 0.5291 GB, free: 18.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.5831, allocations: 3.469 kB / 0.5291 GB, free: 18.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.5862, allocations: 1.223 MB / 0.5303 GB, free: 18.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5863, allocations: 0 / 0.5303 GB, free: 18.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.5866, allocations: 44.28 kB / 0.5304 GB, free: 18.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.588, allocations: 203.5 kB / 0.5306 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.5881, allocations: 9.906 kB / 0.5306 GB, free: 18.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.5894, allocations: 1.312 MB / 0.5318 GB, free: 17.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5894, allocations: 0 / 0.5318 GB, free: 17.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.5916, allocations: 0.8289 MB / 0.5327 GB, free: 16.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/0.5922, allocations: 200.9 kB / 0.5328 GB, free: 16.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.5923, allocations: 17.55 kB / 0.5329 GB, free: 16.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007109/0.5931, allocations: 21.61 kB / 0.5329 GB, free: 16.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5932, allocations: 23.42 kB / 0.5329 GB, free: 16.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.082e-05/0.5933, allocations: 33.5 kB / 0.5329 GB, free: 16.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007907/0.5941, allocations: 447 kB / 0.5334 GB, free: 16.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5941, allocations: 0 / 0.5334 GB, free: 16.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001482/0.5956, allocations: 297.8 kB / 0.5336 GB, free: 16.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.5968, allocations: 343.5 kB / 0.534 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.5985, allocations: 0.5195 MB / 0.5345 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.5986, allocations: 0 / 0.5345 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007965/0.5994, allocations: 219.2 kB / 0.5347 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.602, allocations: 303 kB / 0.535 GB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.6053, allocations: 1.531 MB / 0.5365 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.6059, allocations: 0.946 MB / 0.5374 GB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/0.6063, allocations: 70.88 kB / 0.5375 GB, free: 14.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6063, allocations: 0 / 0.5375 GB, free: 14.07 MB / 378.7 MB Notification: Performance of Templates: time 0.0417/0.648, allocations: 17.45 MB / 0.5545 GB, free: 7.449 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches