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.00103/0.00103, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001217/0.001217, allocations: 167.1 kB / 24.99 MB, free: 8.285 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.054/1.054, 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.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.26/0.26, allocations: 32.81 MB / 294.6 MB, free: 1.289 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.794e-06/1.794e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.544e-05/3.723e-05, allocations: 4.141 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02221/0.02225, allocations: 25.69 MB / 401.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00464/0.02689, allocations: 4.41 MB / 406.1 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.02732, allocations: 27.75 kB / 406.1 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.02801, allocations: 305.9 kB / 406.4 MB, free: 6.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.0309, allocations: 1.715 MB / 408.1 MB, free: 4.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.03317, allocations: 1.437 MB / 409.6 MB, free: 3.289 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.03492, allocations: 1.879 MB / 411.5 MB, free: 1.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004949/0.03542, allocations: 437.8 kB / 411.9 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003948/0.03937, allocations: 3.686 MB / 415.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.04089, allocations: 1.419 MB / 417 MB, free: 11.85 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.04099, allocations: 60 kB / 417.1 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.04274, allocations: 1.318 MB / 418.4 MB, free: 10.47 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.04296, allocations: 295.1 kB / 418.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.04324, allocations: 287.4 kB / 418.9 MB, free: 9.902 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.04459, allocations: 1.161 MB / 420.1 MB, free: 8.738 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.0446, allocations: 0 / 420.1 MB, free: 8.738 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0446, allocations: 0 / 420.1 MB, free: 8.738 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.0446, allocations: 0 / 420.1 MB, free: 8.738 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.00132/0.04593, allocations: 1.176 MB / 421.3 MB, free: 7.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.04596, allocations: 8.031 kB / 421.3 MB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007386/0.0467, allocations: 247.8 kB / 421.5 MB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.04724, allocations: 0.4929 MB / 422 MB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.753e-05/0.04734, allocations: 152.4 kB / 422.2 MB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/0.04741, allocations: 56.36 kB / 422.2 MB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.04829, allocations: 1.034 MB / 423.3 MB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.04831, allocations: 7.922 kB / 423.3 MB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.04836, allocations: 27.98 kB / 423.3 MB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.04841, allocations: 40.98 kB / 423.3 MB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.04893, allocations: 305.5 kB / 423.6 MB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.05159, allocations: 4.286 MB / 427.9 MB, free: 488 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.05192, allocations: 183.3 kB / 428.1 MB, free: 292 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.05202, allocations: 64.09 kB / 428.2 MB, free: 224 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-05/0.0521, allocations: 35.97 kB / 428.2 MB, free: 188 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.05213, allocations: 49.33 kB / 428.2 MB, free: 128 kB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.05213, allocations: 0 / 428.2 MB, free: 128 kB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002153/0.05428, allocations: 1.032 MB / 429.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.05433, allocations: 132.5 kB / 429.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.05477, allocations: 0.5842 MB / 430 MB, free: 14.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.0548, allocations: 29.7 kB / 430 MB, free: 14.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.05501, allocations: 458.8 kB / 430.5 MB, free: 13.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/0.05509, allocations: 142.8 kB / 430.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.05523, allocations: 156.2 kB / 430.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.05538, allocations: 0.5469 MB / 431.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.05552, allocations: 89.94 kB / 431.4 MB, free: 12.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.05589, allocations: 0.5922 MB / 432 MB, free: 12.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.05641, allocations: 0.6194 MB / 432.6 MB, free: 11.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.05641, allocations: 4 kB / 432.6 MB, free: 11.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008771/0.05729, allocations: 0.653 MB / 433.3 MB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.05731, allocations: 8 kB / 433.3 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.05732, allocations: 15.94 kB / 433.3 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000678/0.058, allocations: 242.7 kB / 433.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.05823, allocations: 119.8 kB / 433.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008025/0.05903, allocations: 1.756 MB / 435.4 MB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.05926, allocations: 28 kB / 435.4 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.05931, allocations: 36 kB / 435.5 MB, free: 8.32 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.0001741/0.05948, allocations: 208.3 kB / 435.7 MB, free: 8.105 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.05957, allocations: 79.64 kB / 435.7 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008123/0.06038, allocations: 0.541 MB / 436.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.06038, allocations: 7.938 kB / 436.3 MB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.06039, allocations: 3.938 kB / 436.3 MB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.06039, allocations: 0 / 436.3 MB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.06143, allocations: 0.9067 MB / 437.2 MB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.06143, allocations: 0 / 437.2 MB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.169e-05/0.06152, allocations: 35.98 kB / 437.2 MB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.06194, allocations: 155.2 kB / 437.4 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.06196, allocations: 16.06 kB / 437.4 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006584/0.06262, allocations: 1.686 MB / 439.1 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.06262, allocations: 4 kB / 439.1 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.06324, allocations: 0.5691 MB / 439.7 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.06337, allocations: 103.6 kB / 439.8 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.06343, allocations: 8 kB / 439.8 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.0636, allocations: 19.98 kB / 439.8 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.06365, allocations: 23.89 kB / 439.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.06368, allocations: 23.98 kB / 439.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002897/0.06397, allocations: 354.8 kB / 440.2 MB, free: 3.395 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06397, allocations: 0 / 440.2 MB, free: 3.395 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000745/0.06471, allocations: 247.7 kB / 440.4 MB, free: 3.152 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.0005545/0.06527, allocations: 294.2 kB / 440.7 MB, free: 2.855 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007865/0.06606, allocations: 364.5 kB / 441.1 MB, free: 2.504 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.06606, allocations: 0 / 441.1 MB, free: 2.504 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.06642, allocations: 161.1 kB / 441.2 MB, free: 2.344 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.06743, allocations: 295.1 kB / 441.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.06975, allocations: 1.099 MB / 442.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.06991, allocations: 163 kB / 442.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005696/0.07048, allocations: 236.4 kB / 443 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.07061, allocations: 60.47 kB / 443.1 MB, free: 456 kB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.07061, allocations: 4 kB / 443.1 MB, free: 452 kB / 410.7 MB Notification: Performance of Templates: time 0.1525/0.2231, allocations: 13.68 MB / 456.7 MB, free: 72.73 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: 3.793487363960594]