Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,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.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,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.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002238/0.002237, allocations: 187.1 kB / 16.4 MB, free: 5.625 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.234/2.234, allocations: 205.4 MB / 222.5 MB, free: 13.7 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.001133/0.001133, allocations: 98.8 kB / 270.9 MB, free: 13.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.292/0.292, allocations: 43.55 MB / 362.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 11.98 kB / 431.4 MB, free: 20.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 58.86 MB / 490.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03453/0.1643, allocations: 18.19 MB / 0.4965 GB, free: 7.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.1774, allocations: 5.846 MB / 0.5022 GB, free: 1.191 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000996/0.1784, allocations: 23.75 kB / 0.5022 GB, free: 1.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.1798, allocations: 250.7 kB / 0.5025 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0061/0.1859, allocations: 1.496 MB / 0.5039 GB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005011/0.191, allocations: 1.259 MB / 0.5052 GB, free: 14.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002607/0.1936, allocations: 1.047 MB / 0.5062 GB, free: 13.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.1946, allocations: 417.2 kB / 0.5066 GB, free: 12.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008981/0.2037, allocations: 3.101 MB / 0.5096 GB, free: 9.598 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003299/0.207, allocations: 1.173 MB / 0.5108 GB, free: 8.422 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.2073, allocations: 36 kB / 0.5108 GB, free: 8.387 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004429/0.2118, allocations: 1.346 MB / 0.5121 GB, free: 7.039 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005743/0.2124, allocations: 215.4 kB / 0.5123 GB, free: 6.828 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.2128, allocations: 169.4 kB / 0.5125 GB, free: 6.656 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.2156, allocations: 1.044 MB / 0.5135 GB, free: 5.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2157, allocations: 0 / 0.5135 GB, free: 5.609 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.2157, allocations: 4 kB / 0.5135 GB, free: 5.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.2157, allocations: 0 / 0.5135 GB, free: 5.605 MB / 362.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.003085/0.2188, allocations: 0.9972 MB / 0.5145 GB, free: 4.559 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.2189, allocations: 12.02 kB / 0.5145 GB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.2204, allocations: 143 kB / 0.5146 GB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.2218, allocations: 0.5005 MB / 0.5151 GB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.222, allocations: 108.3 kB / 0.5152 GB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.2221, allocations: 44 kB / 0.5153 GB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.2245, allocations: 0.8355 MB / 0.5161 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.2246, allocations: 7.938 kB / 0.5161 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.2247, allocations: 24 kB / 0.5161 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.2248, allocations: 36.98 kB / 0.5161 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.2269, allocations: 0.6009 MB / 0.5167 GB, free: 2.113 MB / 362.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.3222/0.5492, allocations: 4.647 MB / 0.5213 GB, free: 43.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.5505, allocations: 332.8 kB / 0.5216 GB, free: 43.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.5508, allocations: 343.7 kB / 0.5219 GB, free: 43.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.5509, allocations: 37.73 kB / 0.5219 GB, free: 43.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.996e-06/0.5509, allocations: 0 / 0.5219 GB, free: 43.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.006576/0.5574, allocations: 1.527 MB / 0.5234 GB, free: 42.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.5575, allocations: 140.7 kB / 0.5236 GB, free: 42.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.5588, allocations: 0.6461 MB / 0.5242 GB, free: 42.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.5589, allocations: 36.27 kB / 0.5242 GB, free: 42.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.5592, allocations: 418 kB / 0.5246 GB, free: 41.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.5594, allocations: 132.2 kB / 0.5248 GB, free: 41.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.5594, allocations: 17.62 kB / 0.5248 GB, free: 41.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.5595, allocations: 339.6 kB / 0.5251 GB, free: 41.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.5602, allocations: 199.7 kB / 0.5253 GB, free: 41.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007509/0.5609, allocations: 0.489 MB / 0.5258 GB, free: 40.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/0.5617, allocations: 294.6 kB / 0.526 GB, free: 40.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.5617, allocations: 2.75 kB / 0.5261 GB, free: 40.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002217/0.5639, allocations: 0.8285 MB / 0.5269 GB, free: 40.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.564, allocations: 9.75 kB / 0.5269 GB, free: 40.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.564, allocations: 11.5 kB / 0.5269 GB, free: 40.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.5661, allocations: 298.1 kB / 0.5272 GB, free: 40.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.5669, allocations: 121.1 kB / 0.5273 GB, free: 40.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.5685, allocations: 1.401 MB / 0.5286 GB, free: 39.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009469/0.5695, allocations: 32.53 kB / 0.5287 GB, free: 39.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.5697, allocations: 49 kB / 0.5287 GB, free: 39.18 MB / 362.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.0005087/0.5702, allocations: 248.7 kB / 0.529 GB, free: 39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.5704, allocations: 71.55 kB / 0.529 GB, free: 38.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.5729, allocations: 0.6526 MB / 0.5297 GB, free: 38.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5729, allocations: 3.219 kB / 0.5297 GB, free: 38.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.573, allocations: 1.062 kB / 0.5297 GB, free: 38.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.573, allocations: 1.922 kB / 0.5297 GB, free: 38.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.5763, allocations: 1.22 MB / 0.5309 GB, free: 38.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5763, allocations: 1.312 kB / 0.5309 GB, free: 38.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.5767, allocations: 46.39 kB / 0.5309 GB, free: 38.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.5781, allocations: 198 kB / 0.5311 GB, free: 37.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.5781, allocations: 18.59 kB / 0.5311 GB, free: 37.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.5795, allocations: 1.303 MB / 0.5324 GB, free: 36.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.5795, allocations: 6.297 kB / 0.5324 GB, free: 36.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.5818, allocations: 0.8384 MB / 0.5332 GB, free: 36.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.5823, allocations: 204.5 kB / 0.5334 GB, free: 36.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.5825, allocations: 7.75 kB / 0.5334 GB, free: 36.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007363/0.5832, allocations: 19.19 kB / 0.5334 GB, free: 36.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5834, allocations: 28.86 kB / 0.5335 GB, free: 36.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.913e-05/0.5835, allocations: 25.05 kB / 0.5335 GB, free: 36.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009495/0.5844, allocations: 446 kB / 0.5339 GB, free: 35.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5845, allocations: 0 / 0.5339 GB, free: 35.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001605/0.5861, allocations: 296.3 kB / 0.5342 GB, free: 35.94 MB / 362.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.001217/0.5873, allocations: 347.5 kB / 0.5345 GB, free: 35.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.5891, allocations: 0.5099 MB / 0.535 GB, free: 35.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.5891, allocations: 1.344 kB / 0.535 GB, free: 35.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008478/0.59, allocations: 224.2 kB / 0.5352 GB, free: 35.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.5926, allocations: 313.7 kB / 0.5355 GB, free: 35.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.5961, allocations: 1.525 MB / 0.537 GB, free: 34.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.5967, allocations: 0.9402 MB / 0.5379 GB, free: 34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.5971, allocations: 74.8 kB / 0.538 GB, free: 33.99 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5971, allocations: 0 / 0.538 GB, free: 33.99 MB / 362.7 MB Notification: Performance of Templates: time 0.03395/0.6311, allocations: 17.46 MB / 0.5551 GB, free: 21.89 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches