Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9487/0.9487, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2702/0.2702, allocations: 32.81 MB / 294.3 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.[0-9,]+.|volume.ports.[0-9,]+..m_flow|volume.ports.[0-9,]+..p|volume.ports.[0-9,]+..h_outflow|volume.ports_H_flow.[0-9,]+.|volume.ports_E_flow.[0-9,]+.|volume.ports_penetration.[0-9,]+.|volume.portsData_diameter.[0-9,]+.|volume.portsData_height.[0-9,]+.|volume.portsData_zeta_in.[0-9,]+.|volume.portsData_zeta_out.[0-9,]+.|fixedMassFlowRate.ports.[0-9,]+..m_flow|fixedMassFlowRate.ports.[0-9,]+..p|fixedMassFlowRate.ports.[0-9,]+..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.[0-9,]+.|volume.ports.[0-9,]+..m_flow|volume.ports.[0-9,]+..p|volume.ports.[0-9,]+..h_outflow|volume.ports_H_flow.[0-9,]+.|volume.ports_E_flow.[0-9,]+.|volume.ports_penetration.[0-9,]+.|volume.portsData_diameter.[0-9,]+.|volume.portsData_height.[0-9,]+.|volume.portsData_zeta_in.[0-9,]+.|volume.portsData_zeta_out.[0-9,]+.|fixedMassFlowRate.ports.[0-9,]+..m_flow|fixedMassFlowRate.ports.[0-9,]+..p|fixedMassFlowRate.ports.[0-9,]+..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.13e-05, allocations: 2.312 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.007902/0.007923, allocations: 8.406 MB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.01111, allocations: 2.324 MB / 386.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.01148, allocations: 27.75 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.01201, allocations: 210.5 kB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.01438, allocations: 1.372 MB / 388.4 MB, free: 8.234 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.01599, allocations: 0.9119 MB / 389.3 MB, free: 7.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.01786, allocations: 1.945 MB / 391.2 MB, free: 5.371 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005757/0.01843, allocations: 452.7 kB / 391.7 MB, free: 4.926 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.02044, allocations: 1.699 MB / 393.4 MB, free: 3.223 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.0222, allocations: 1.111 MB / 394.5 MB, free: 2.109 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.02233, allocations: 60 kB / 394.5 MB, free: 2.051 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007919/0.02312, allocations: 487.2 kB / 395 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.02335, allocations: 291.1 kB / 395.3 MB, free: 1.289 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.02362, allocations: 295.3 kB / 395.6 MB, free: 1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.02481, allocations: 0.9969 MB / 396.6 MB, free: 0 / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.02482, allocations: 0 / 396.6 MB, free: 0 / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.02482, allocations: 0 / 396.6 MB, free: 0 / 362.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.02483, allocations: 0 / 396.6 MB, free: 0 / 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.001513/0.02634, allocations: 1.138 MB / 397.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.02639, allocations: 8.031 kB / 397.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007063/0.02709, allocations: 243.8 kB / 398 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.02779, allocations: 0.489 MB / 398.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.02793, allocations: 160.4 kB / 398.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-05/0.02802, allocations: 60.36 kB / 398.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000987/0.02901, allocations: 1.027 MB / 399.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.02903, allocations: 11.89 kB / 399.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.02908, allocations: 27.98 kB / 399.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.02913, allocations: 36.98 kB / 399.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.02965, allocations: 313.4 kB / 400.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003142/0.03279, allocations: 4.266 MB / 404.3 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.03312, allocations: 183.2 kB / 404.5 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.03322, allocations: 72.09 kB / 404.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.517e-05/0.03329, allocations: 27.97 kB / 404.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.03332, allocations: 41.39 kB / 404.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.333e-06/0.03332, allocations: 0 / 404.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002059/0.03538, allocations: 1.028 MB / 405.7 MB, free: 6.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.03544, allocations: 136.5 kB / 405.8 MB, free: 6.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.03587, allocations: 0.5842 MB / 406.4 MB, free: 5.605 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.0359, allocations: 33.7 kB / 406.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.0361, allocations: 462.7 kB / 406.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.107e-05/0.03617, allocations: 134.9 kB / 407 MB, free: 4.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.03631, allocations: 152.2 kB / 407.2 MB, free: 4.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.03646, allocations: 0.543 MB / 407.7 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.0366, allocations: 93.94 kB / 407.8 MB, free: 4.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.03723, allocations: 0.5884 MB / 408.4 MB, free: 3.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.03771, allocations: 0.6194 MB / 409 MB, free: 2.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.03771, allocations: 4 kB / 409 MB, free: 2.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008057/0.03852, allocations: 0.6678 MB / 409.7 MB, free: 1.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.03854, allocations: 14.91 kB / 409.7 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.03855, allocations: 11.94 kB / 409.7 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/0.03917, allocations: 227.2 kB / 409.9 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.03938, allocations: 131.8 kB / 410.1 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000756/0.04014, allocations: 1.74 MB / 411.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.04034, allocations: 31.98 kB / 411.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.04039, allocations: 40 kB / 411.9 MB, free: 15.64 MB / 394.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.04054, allocations: 200.3 kB / 412.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/0.04062, allocations: 83.58 kB / 412.2 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/0.04138, allocations: 0.5371 MB / 412.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.04138, allocations: 4 kB / 412.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.04139, allocations: 3.938 kB / 412.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.04139, allocations: 3.984 kB / 412.7 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009455/0.04234, allocations: 0.9104 MB / 413.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.04234, allocations: 4.062 kB / 413.6 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.04243, allocations: 43.95 kB / 413.7 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003882/0.04282, allocations: 155.2 kB / 413.8 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.04284, allocations: 12 kB / 413.8 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008896/0.04373, allocations: 1.694 MB / 415.5 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.04374, allocations: 0 / 415.5 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.04432, allocations: 0.5769 MB / 416.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.04445, allocations: 95.62 kB / 416.2 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.04449, allocations: 11.98 kB / 416.2 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.04465, allocations: 12 kB / 416.2 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.0447, allocations: 27.89 kB / 416.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.04473, allocations: 23.98 kB / 416.3 MB, free: 11.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002439/0.04497, allocations: 350.8 kB / 416.6 MB, free: 10.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04497, allocations: 0 / 416.6 MB, free: 10.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004835/0.04546, allocations: 235.8 kB / 416.8 MB, free: 10.48 MB / 394.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003523/0.04581, allocations: 234.8 kB / 417.1 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.04637, allocations: 368.1 kB / 417.4 MB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.04637, allocations: 0 / 417.4 MB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.04659, allocations: 160.8 kB / 417.6 MB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.04732, allocations: 294 kB / 417.9 MB, free: 9.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.04889, allocations: 1.107 MB / 419 MB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.924e-05/0.04898, allocations: 167 kB / 419.1 MB, free: 8.102 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003407/0.04933, allocations: 225.3 kB / 419.4 MB, free: 7.879 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.04941, allocations: 60.48 kB / 419.4 MB, free: 7.82 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.04942, allocations: 0 / 419.4 MB, free: 7.82 MB / 394.7 MB Notification: Performance of Templates: time 0.01432/0.06374, allocations: 12.85 MB / 432.3 MB, free: 11.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.017303867731243]