Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008079/0.0008079, allocations: 71.75 kB / 21.69 MB, free: 2.848 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.0009261/0.0009261, allocations: 160.8 kB / 24.99 MB, free: 9.324 MB / 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 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2782/0.2782, allocations: 34.26 MB / 296 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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|p_start|T_start|h_start|X_start.[0-9,]+.|volume.medium.T|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.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.[0-9,]+.|volume.medium.T|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.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.964e-05, allocations: 2.312 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02084/0.02087, allocations: 25.69 MB / 403.7 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005085/0.02596, allocations: 4.413 MB / 408.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005777/0.02654, allocations: 27.75 kB / 408.2 MB, free: 4.715 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008259/0.02736, allocations: 301.9 kB / 408.5 MB, free: 4.418 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003971/0.03133, allocations: 1.726 MB / 410.2 MB, free: 2.684 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.03429, allocations: 1.429 MB / 411.6 MB, free: 1.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.03653, allocations: 1.883 MB / 413.5 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007069/0.03724, allocations: 437.7 kB / 413.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004846/0.04209, allocations: 3.686 MB / 417.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.04375, allocations: 1.426 MB / 419 MB, free: 9.801 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.04386, allocations: 64 kB / 419.1 MB, free: 9.738 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.0458, allocations: 1.31 MB / 420.4 MB, free: 8.426 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003917/0.04619, allocations: 291.1 kB / 420.7 MB, free: 8.141 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003062/0.0465, allocations: 287.3 kB / 421 MB, free: 7.859 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.04809, allocations: 1.161 MB / 422.1 MB, free: 6.695 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.04809, allocations: 0 / 422.1 MB, free: 6.695 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0481, allocations: 0 / 422.1 MB, free: 6.695 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.0481, allocations: 0 / 422.1 MB, free: 6.695 MB / 394.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.001624/0.04973, allocations: 1.176 MB / 423.3 MB, free: 5.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.04977, allocations: 8.031 kB / 423.3 MB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/0.05072, allocations: 243.8 kB / 423.6 MB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.05142, allocations: 0.4929 MB / 424 MB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.05154, allocations: 160.3 kB / 424.2 MB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.684e-05/0.05164, allocations: 56.38 kB / 424.3 MB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.05276, allocations: 1.027 MB / 425.3 MB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.05278, allocations: 3.938 kB / 425.3 MB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-05/0.05284, allocations: 27.98 kB / 425.3 MB, free: 3.227 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.0529, allocations: 40.98 kB / 425.4 MB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/0.05358, allocations: 313.4 kB / 425.7 MB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.05709, allocations: 4.289 MB / 429.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.05751, allocations: 179.3 kB / 430.1 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.05763, allocations: 68.09 kB / 430.2 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.05774, allocations: 35.91 kB / 430.2 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.05777, allocations: 45.39 kB / 430.3 MB, free: 14.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.015e-06/0.05778, allocations: 0 / 430.3 MB, free: 14.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002668/0.06044, allocations: 1.028 MB / 431.3 MB, free: 13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.0605, allocations: 132.5 kB / 431.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005551/0.06106, allocations: 0.5842 MB / 432 MB, free: 12.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.0611, allocations: 33.7 kB / 432 MB, free: 12.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.06136, allocations: 458.8 kB / 432.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.891e-05/0.06145, allocations: 134.9 kB / 432.6 MB, free: 11.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.06162, allocations: 164.2 kB / 432.8 MB, free: 11.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.0618, allocations: 0.543 MB / 433.3 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.06199, allocations: 89.94 kB / 433.4 MB, free: 10.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.06243, allocations: 0.5883 MB / 434 MB, free: 10.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007653/0.06319, allocations: 0.6194 MB / 434.6 MB, free: 9.219 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.0632, allocations: 4 kB / 434.6 MB, free: 9.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001071/0.06427, allocations: 0.6569 MB / 435.3 MB, free: 8.543 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.0643, allocations: 12 kB / 435.3 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.06431, allocations: 16.05 kB / 435.3 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008282/0.06514, allocations: 235 kB / 435.5 MB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.06543, allocations: 119.8 kB / 435.7 MB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009092/0.06634, allocations: 1.748 MB / 437.4 MB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.06666, allocations: 31.98 kB / 437.4 MB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/0.06672, allocations: 40 kB / 437.5 MB, free: 6.277 MB / 410.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.0001994/0.06692, allocations: 208.4 kB / 437.7 MB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.06703, allocations: 79.58 kB / 437.8 MB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009898/0.06802, allocations: 0.5325 MB / 438.3 MB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.06802, allocations: 4 kB / 438.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.06803, allocations: 8 kB / 438.3 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.06804, allocations: 3.984 kB / 438.3 MB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.06929, allocations: 0.9067 MB / 439.2 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.06929, allocations: 0 / 439.2 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.06941, allocations: 39.97 kB / 439.3 MB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/0.06995, allocations: 159.2 kB / 439.4 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.06998, allocations: 12.06 kB / 439.4 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007885/0.07077, allocations: 1.69 MB / 441.1 MB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.07077, allocations: 3.938 kB / 441.1 MB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.07154, allocations: 0.5692 MB / 441.7 MB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.07185, allocations: 103.6 kB / 441.8 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.07192, allocations: 8 kB / 441.8 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.07214, allocations: 12 kB / 441.8 MB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.0722, allocations: 27.89 kB / 441.8 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.07224, allocations: 23.98 kB / 441.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003121/0.07255, allocations: 350.8 kB / 442.2 MB, free: 1.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07255, allocations: 0 / 442.2 MB, free: 1.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007681/0.07332, allocations: 255.7 kB / 442.4 MB, free: 1.109 MB / 410.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.0004735/0.07379, allocations: 286.7 kB / 442.7 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007153/0.07451, allocations: 360.4 kB / 443.1 MB, free: 476 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.07451, allocations: 0 / 443.1 MB, free: 476 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.0748, allocations: 157.2 kB / 443.2 MB, free: 316 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/0.07579, allocations: 309.1 kB / 443.5 MB, free: 20 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.132/0.2078, allocations: 1.09 MB / 444.6 MB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2079, allocations: 166.9 kB / 444.8 MB, free: 104.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005736/0.2085, allocations: 234 kB / 445 MB, free: 104.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.2086, allocations: 54 kB / 445.1 MB, free: 104.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.525e-06/0.2086, allocations: 0 / 445.1 MB, free: 104.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01817/0.2268, allocations: 13.69 MB / 458.8 MB, free: 103.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.6984233821276575]