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.001212/0.001212, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.00149/0.00149, allocations: 164.5 kB / 25.61 MB, free: 8.852 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 0.927/0.927, allocations: 177 MB / 205.9 MB, free: 4.445 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.1792/0.1792, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.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.493e-06/1.493e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.46e-05, allocations: 6.25 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.009751/0.009775, allocations: 8.268 MB / 388.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.01266, allocations: 2.234 MB / 390.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.01309, allocations: 31.69 kB / 390.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.01356, allocations: 210.6 kB / 390.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.01578, allocations: 1.29 MB / 392.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.01706, allocations: 0.8534 MB / 392.9 MB, free: 9.789 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.0184, allocations: 1.852 MB / 394.8 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.01892, allocations: 437.7 kB / 395.2 MB, free: 7.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.02077, allocations: 2.007 MB / 397.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.02133, allocations: 0.5999 MB / 397.8 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-05/0.02143, allocations: 60 kB / 397.9 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006168/0.02205, allocations: 471.2 kB / 398.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.02225, allocations: 299.1 kB / 398.6 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.02244, allocations: 291.3 kB / 398.9 MB, free: 3.789 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.02335, allocations: 0.993 MB / 399.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.02335, allocations: 0 / 399.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.02335, allocations: 0 / 399.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.02337, allocations: 0 / 399.9 MB, free: 2.793 MB / 314.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.001137/0.02451, allocations: 1.126 MB / 401 MB, free: 1.629 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.02454, allocations: 8.031 kB / 401 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006103/0.02515, allocations: 239.8 kB / 401.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.02563, allocations: 488.8 kB / 401.7 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/0.0257, allocations: 164.3 kB / 401.9 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.02576, allocations: 56.36 kB / 401.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.02646, allocations: 0.9701 MB / 402.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.02648, allocations: 3.938 kB / 402.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.02653, allocations: 24 kB / 402.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.02657, allocations: 36.98 kB / 403 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.02696, allocations: 258.5 kB / 403.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.02972, allocations: 4.169 MB / 407.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.03005, allocations: 167.1 kB / 407.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.03012, allocations: 59.64 kB / 407.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.463e-05/0.03019, allocations: 31.97 kB / 407.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.03021, allocations: 45.33 kB / 407.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.03022, allocations: 0 / 407.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001797/0.03201, allocations: 0.904 MB / 408.6 MB, free: 9.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.03206, allocations: 136.5 kB / 408.7 MB, free: 9.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.03264, allocations: 0.5761 MB / 409.3 MB, free: 8.801 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.03267, allocations: 33.7 kB / 409.3 MB, free: 8.762 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.03288, allocations: 482.5 kB / 409.8 MB, free: 8.281 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.03296, allocations: 138.9 kB / 410 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.0331, allocations: 176 kB / 410.1 MB, free: 7.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.03324, allocations: 0.5546 MB / 410.7 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.03334, allocations: 69.94 kB / 410.7 MB, free: 7.328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.03364, allocations: 0.5961 MB / 411.3 MB, free: 6.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.03407, allocations: 0.63 MB / 412 MB, free: 5.691 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.03407, allocations: 8 kB / 412 MB, free: 5.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001025/0.0351, allocations: 0.6178 MB / 412.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.03512, allocations: 8 kB / 412.6 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.03513, allocations: 12 kB / 412.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/0.03576, allocations: 241.1 kB / 412.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.03597, allocations: 123.8 kB / 413 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007552/0.03673, allocations: 1.729 MB / 414.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.03696, allocations: 31.94 kB / 414.7 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.037, allocations: 40.05 kB / 414.8 MB, free: 2.805 MB / 330.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.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[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.0001631/0.03716, allocations: 208.3 kB / 415 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-05/0.03726, allocations: 75.62 kB / 415 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007034/0.03796, allocations: 0.5244 MB / 415.6 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.03797, allocations: 4 kB / 415.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.03797, allocations: 0 / 415.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.03797, allocations: 3.938 kB / 415.6 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008609/0.03883, allocations: 0.7899 MB / 416.4 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.03884, allocations: 0 / 416.4 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.663e-05/0.03892, allocations: 39.92 kB / 416.4 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.03933, allocations: 155.3 kB / 416.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.03936, allocations: 12 kB / 416.6 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006336/0.03999, allocations: 1.678 MB / 418.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03999, allocations: 0 / 418.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.04052, allocations: 0.5379 MB / 418.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.04064, allocations: 91.56 kB / 418.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.04069, allocations: 4 kB / 418.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.04084, allocations: 12 kB / 418.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.04089, allocations: 35.69 kB / 418.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.04092, allocations: 19.98 kB / 418.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.04111, allocations: 338.6 kB / 419.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.04111, allocations: 4 kB / 419.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000555/0.04167, allocations: 231.8 kB / 419.5 MB, free: 13.88 MB / 346.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.0007127/0.04238, allocations: 223 kB / 419.7 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.04294, allocations: 354.9 kB / 420.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.04295, allocations: 1.875 kB / 420.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.04317, allocations: 145.5 kB / 420.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.04393, allocations: 301.6 kB / 420.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.04554, allocations: 1.097 MB / 421.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.04565, allocations: 167 kB / 421.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003657/0.04602, allocations: 181.2 kB / 421.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.04648, allocations: 345.9 kB / 422.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04649, allocations: 0 / 422.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of Templates: time 0.01706/0.06355, allocations: 14.39 MB / 436.7 MB, free: 12.95 MB / 362.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.782850860618055]