Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.001401/0.001401, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001924/0.001924, allocations: 165 kB / 24.56 MB, free: 12 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.9843/0.9843, 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.2718/0.2718, allocations: 32.81 MB / 294.3 MB, free: 1.258 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.Glycol47,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.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,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.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.789e-05, allocations: 2.312 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.008333/0.008361, allocations: 8.362 MB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005266/0.01363, allocations: 2.246 MB / 386.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.0149, allocations: 27.75 kB / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.01596, allocations: 210.5 kB / 386.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00505/0.02101, allocations: 1.294 MB / 388.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.02364, allocations: 0.8533 MB / 389 MB, free: 7.582 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004176/0.02782, allocations: 1.848 MB / 390.9 MB, free: 5.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.02924, allocations: 441.7 kB / 391.3 MB, free: 5.293 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005557/0.0348, allocations: 1.996 MB / 393.3 MB, free: 3.293 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.03647, allocations: 0.5999 MB / 393.9 MB, free: 2.691 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.0368, allocations: 64 kB / 394 MB, free: 2.629 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.03845, allocations: 479.1 kB / 394.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004452/0.0389, allocations: 295.1 kB / 394.7 MB, free: 1.871 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000642/0.03954, allocations: 283.3 kB / 395 MB, free: 1.594 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.04205, allocations: 0.9969 MB / 396 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.04205, allocations: 0 / 396 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.04205, allocations: 0 / 396 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.154e-05/0.04208, allocations: 0 / 396 MB, free: 0.5938 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.002004/0.04409, allocations: 1.13 MB / 397.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.04413, allocations: 8.031 kB / 397.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000739/0.04487, allocations: 239.8 kB / 397.4 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009756/0.04585, allocations: 0.5007 MB / 397.9 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.04596, allocations: 156.4 kB / 398 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.04604, allocations: 52.36 kB / 398.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009672/0.047, allocations: 1.013 MB / 399.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.04702, allocations: 3.953 kB / 399.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/0.04707, allocations: 27.98 kB / 399.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/0.04713, allocations: 40.92 kB / 399.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.0477, allocations: 305.5 kB / 399.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.05094, allocations: 4.27 MB / 403.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.05128, allocations: 187.2 kB / 403.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.05139, allocations: 72.09 kB / 404 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-05/0.05148, allocations: 31.97 kB / 404 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.05151, allocations: 45.33 kB / 404.1 MB, free: 8.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.05151, allocations: 4 kB / 404.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002482/0.05399, allocations: 1.012 MB / 405.1 MB, free: 7.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.05404, allocations: 136.5 kB / 405.2 MB, free: 6.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.05448, allocations: 0.5881 MB / 405.8 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.05451, allocations: 33.7 kB / 405.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.05472, allocations: 478.6 kB / 406.3 MB, free: 5.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.05479, allocations: 138.9 kB / 406.4 MB, free: 5.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.05493, allocations: 164.2 kB / 406.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.05508, allocations: 0.543 MB / 407.1 MB, free: 4.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.05523, allocations: 89.94 kB / 407.2 MB, free: 4.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.0556, allocations: 0.6234 MB / 407.8 MB, free: 3.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.05612, allocations: 0.6536 MB / 408.5 MB, free: 3.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.05612, allocations: 4 kB / 408.5 MB, free: 3.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008607/0.05698, allocations: 0.6722 MB / 409.2 MB, free: 2.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.05701, allocations: 12 kB / 409.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.05702, allocations: 11.94 kB / 409.2 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/0.05765, allocations: 239.5 kB / 409.4 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.05788, allocations: 127.8 kB / 409.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00079/0.05867, allocations: 1.752 MB / 411.3 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.05892, allocations: 32.06 kB / 411.3 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.05896, allocations: 43.98 kB / 411.4 MB, free: 120 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (73): * Single equations (assignments): 71 * 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.0004685/0.05943, allocations: 212.3 kB / 411.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.05951, allocations: 71.62 kB / 411.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007548/0.06027, allocations: 0.5403 MB / 412.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.06027, allocations: 4 kB / 412.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.06028, allocations: 3.938 kB / 412.2 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.06028, allocations: 7.984 kB / 412.2 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009768/0.06126, allocations: 0.9027 MB / 413.1 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.06126, allocations: 0 / 413.1 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.15e-05/0.06135, allocations: 35.98 kB / 413.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/0.06176, allocations: 167.2 kB / 413.3 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.06178, allocations: 15.98 kB / 413.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006275/0.06241, allocations: 1.686 MB / 415 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.06241, allocations: 7.922 kB / 415 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.06299, allocations: 0.5693 MB / 415.6 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.06312, allocations: 95.53 kB / 415.7 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.06318, allocations: 11.94 kB / 415.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.06335, allocations: 15.98 kB / 415.7 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.0634, allocations: 27.89 kB / 415.7 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.06343, allocations: 19.98 kB / 415.8 MB, free: 11.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002518/0.06368, allocations: 358.8 kB / 416.1 MB, free: 11.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06368, allocations: 32 / 416.1 MB, free: 11.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005294/0.06421, allocations: 235.8 kB / 416.3 MB, free: 10.95 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.0003462/0.06455, allocations: 226.9 kB / 416.6 MB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000599/0.06515, allocations: 375.4 kB / 416.9 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.06516, allocations: 5.688 kB / 416.9 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.06539, allocations: 160.9 kB / 417.1 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008136/0.06621, allocations: 303 kB / 417.4 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.06826, allocations: 1.109 MB / 418.5 MB, free: 8.746 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.06866, allocations: 163 kB / 418.7 MB, free: 8.566 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004413/0.0691, allocations: 241.1 kB / 418.9 MB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.0692, allocations: 52.48 kB / 418.9 MB, free: 8.281 MB / 394.7 MB Notification: Performance of SimCode: time 2.234e-06/0.0692, allocations: 0 / 418.9 MB, free: 8.281 MB / 394.7 MB Notification: Performance of Templates: time 0.0177/0.08689, allocations: 14.07 MB / 433 MB, free: 10.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.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.7248089448548853]