Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.006/1.006, allocations: 177 MB / 205.2 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2588/0.2588, allocations: 34.87 MB / 296.6 MB, free: 0.5312 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.955e-05, allocations: 2.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02132/0.02135, allocations: 25.71 MB / 404.5 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004831/0.02619, allocations: 4.41 MB / 408.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006193/0.0268, allocations: 27.75 kB / 408.9 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007902/0.02759, allocations: 298 kB / 409.2 MB, free: 3.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003364/0.03096, allocations: 1.68 MB / 410.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.03363, allocations: 1.393 MB / 412.3 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.03577, allocations: 1.875 MB / 414.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000677/0.03644, allocations: 445.7 kB / 414.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.04058, allocations: 3.351 MB / 417.9 MB, free: 11.09 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.04223, allocations: 1.298 MB / 419.2 MB, free: 9.785 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.04235, allocations: 60 kB / 419.3 MB, free: 9.727 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.04406, allocations: 1.22 MB / 420.5 MB, free: 8.504 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.0443, allocations: 291.1 kB / 420.8 MB, free: 8.219 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.04458, allocations: 287.3 kB / 421.1 MB, free: 7.938 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.04627, allocations: 1.164 MB / 422.2 MB, free: 6.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.04627, allocations: 0 / 422.2 MB, free: 6.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04628, allocations: 0 / 422.2 MB, free: 6.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.04628, allocations: 0 / 422.2 MB, free: 6.77 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.001467/0.04775, allocations: 1.176 MB / 423.4 MB, free: 5.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.0478, allocations: 12.03 kB / 423.4 MB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007266/0.04853, allocations: 243.8 kB / 423.7 MB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.04912, allocations: 0.4968 MB / 424.2 MB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.04923, allocations: 156.3 kB / 424.3 MB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.686e-05/0.04931, allocations: 52.38 kB / 424.4 MB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.05025, allocations: 1.038 MB / 425.4 MB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.05027, allocations: 0 / 425.4 MB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.05032, allocations: 31.92 kB / 425.4 MB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-05/0.05037, allocations: 40.98 kB / 425.5 MB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.05089, allocations: 301.5 kB / 425.8 MB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002949/0.05384, allocations: 4.289 MB / 430.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.05421, allocations: 183.2 kB / 430.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.05431, allocations: 67.59 kB / 430.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.51e-05/0.0544, allocations: 35.97 kB / 430.3 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.05443, allocations: 41.39 kB / 430.4 MB, free: 14.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.05443, allocations: 4 kB / 430.4 MB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002188/0.05662, allocations: 1.028 MB / 431.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.05668, allocations: 136.5 kB / 431.5 MB, free: 12.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.05711, allocations: 0.5764 MB / 432.1 MB, free: 12.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.05714, allocations: 29.7 kB / 432.1 MB, free: 12.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.05735, allocations: 458.8 kB / 432.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.05743, allocations: 146.8 kB / 432.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.05756, allocations: 160.2 kB / 432.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.05778, allocations: 0.543 MB / 433.4 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.05793, allocations: 89.94 kB / 433.5 MB, free: 10.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.05827, allocations: 0.5923 MB / 434.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.05876, allocations: 0.6194 MB / 434.7 MB, free: 9.281 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.05876, allocations: 0 / 434.7 MB, free: 9.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008512/0.05961, allocations: 0.6607 MB / 435.4 MB, free: 8.602 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.05963, allocations: 8 kB / 435.4 MB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.05965, allocations: 20.03 kB / 435.4 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/0.06032, allocations: 233.7 kB / 435.7 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.06055, allocations: 123.8 kB / 435.8 MB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007722/0.06132, allocations: 1.748 MB / 437.5 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.06157, allocations: 24 kB / 437.5 MB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.06161, allocations: 40 kB / 437.6 MB, free: 6.344 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.0001752/0.06179, allocations: 208.4 kB / 437.8 MB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.06187, allocations: 75.58 kB / 437.9 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008024/0.06267, allocations: 0.5557 MB / 438.4 MB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.06268, allocations: 4 kB / 438.4 MB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.06268, allocations: 3.938 kB / 438.4 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.06269, allocations: 0 / 438.4 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.06371, allocations: 0.8988 MB / 439.3 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.06371, allocations: 8 kB / 439.3 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.299e-05/0.0638, allocations: 39.92 kB / 439.4 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/0.06425, allocations: 147.2 kB / 439.5 MB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.06427, allocations: 12 kB / 439.5 MB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008701/0.06514, allocations: 1.694 MB / 441.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.06514, allocations: 4 kB / 441.2 MB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.06579, allocations: 0.5691 MB / 441.8 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.06594, allocations: 95.66 kB / 441.9 MB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.06601, allocations: 12 kB / 441.9 MB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.06619, allocations: 19.98 kB / 441.9 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.06626, allocations: 23.89 kB / 441.9 MB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.0663, allocations: 23.98 kB / 442 MB, free: 1.762 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002883/0.06659, allocations: 358.7 kB / 442.3 MB, free: 1.414 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06659, allocations: 0 / 442.3 MB, free: 1.414 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007614/0.06735, allocations: 251.7 kB / 442.6 MB, free: 1.168 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.0005455/0.06789, allocations: 282.8 kB / 442.8 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007701/0.06866, allocations: 367.1 kB / 443.2 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.06867, allocations: 0 / 443.2 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.06891, allocations: 162.4 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.06973, allocations: 291 kB / 443.6 MB, free: 84 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1457/0.2154, allocations: 1.088 MB / 444.7 MB, free: 71.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.2155, allocations: 168.5 kB / 444.9 MB, free: 71.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006313/0.2162, allocations: 230.9 kB / 445.1 MB, free: 71.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.2163, allocations: 57.64 kB / 445.2 MB, free: 71.79 MB / 410.7 MB Notification: Performance of SimCode: time 3.617e-06/0.2163, allocations: 0 / 445.2 MB, free: 71.79 MB / 410.7 MB Notification: Performance of Templates: time 0.01541/0.2317, allocations: 13.68 MB / 458.9 MB, free: 70.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.946190866874531]