Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.0009651/0.0009651, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001003/0.001003, allocations: 165.6 kB / 24.91 MB, free: 8.77 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.9309/0.9309, allocations: 177 MB / 205.2 MB, free: 5.453 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.2475/0.2475, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.959e-05, allocations: 4.906 kB / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.008914/0.008934, allocations: 8.338 MB / 334.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.01184, allocations: 2.364 MB / 336.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.01213, allocations: 31.69 kB / 336.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.01256, allocations: 206.5 kB / 336.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.01467, allocations: 1.38 MB / 338.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.01592, allocations: 0.9119 MB / 339.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.01721, allocations: 1.941 MB / 341.1 MB, free: 7.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.01759, allocations: 453.8 kB / 341.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.01956, allocations: 2.148 MB / 343.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.02007, allocations: 0.5687 MB / 344.3 MB, free: 4.742 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.045e-05/0.02014, allocations: 60 kB / 344.3 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.02073, allocations: 493 kB / 344.8 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.02092, allocations: 283.1 kB / 345.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.02114, allocations: 291.3 kB / 345.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008717/0.02202, allocations: 0.9931 MB / 346.4 MB, free: 2.645 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.02202, allocations: 0 / 346.4 MB, free: 2.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02202, allocations: 4 kB / 346.4 MB, free: 2.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.02203, allocations: 0 / 346.4 MB, free: 2.641 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.001065/0.02309, allocations: 0.9783 MB / 347.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.02312, allocations: 8.031 kB / 347.3 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005535/0.02367, allocations: 232.1 kB / 347.6 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.02414, allocations: 431.3 kB / 348 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.279e-05/0.02422, allocations: 148.4 kB / 348.1 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.02429, allocations: 64.34 kB / 348.2 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.02497, allocations: 0.9115 MB / 349.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.02499, allocations: 8 kB / 349.1 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.02503, allocations: 27.98 kB / 349.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.02507, allocations: 36.98 kB / 349.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.0254, allocations: 241.4 kB / 349.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.02745, allocations: 2.947 MB / 352.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.02767, allocations: 147.9 kB / 352.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.18e-05/0.02774, allocations: 56.81 kB / 352.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.623e-05/0.02783, allocations: 56.55 kB / 352.6 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.02785, allocations: 38.56 kB / 352.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.203e-06/0.02785, allocations: 3.938 kB / 352.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001645/0.0295, allocations: 0.897 MB / 353.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.02954, allocations: 132.5 kB / 353.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.02985, allocations: 0.5026 MB / 354.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.02988, allocations: 33.7 kB / 354.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.03003, allocations: 368.8 kB / 354.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.03009, allocations: 138.9 kB / 354.7 MB, free: 9.797 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.03022, allocations: 150.5 kB / 354.9 MB, free: 9.645 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.03032, allocations: 374.6 kB / 355.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.0304, allocations: 61.97 kB / 355.3 MB, free: 9.207 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.03065, allocations: 481.5 kB / 355.8 MB, free: 8.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.03102, allocations: 0.5046 MB / 356.3 MB, free: 7.926 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.03102, allocations: 4 kB / 356.3 MB, free: 7.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005579/0.03158, allocations: 0.5028 MB / 356.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.03159, allocations: 15.94 kB / 356.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.0316, allocations: 11.94 kB / 356.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/0.03212, allocations: 216.8 kB / 357 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.03233, allocations: 123.8 kB / 357.1 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005287/0.03285, allocations: 1.186 MB / 358.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.03305, allocations: 20 kB / 358.3 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.03309, allocations: 40 kB / 358.4 MB, free: 5.738 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.0001394/0.03323, allocations: 172.4 kB / 358.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.03329, allocations: 47.95 kB / 358.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006239/0.03391, allocations: 473.9 kB / 359.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.03391, allocations: 4 kB / 359.1 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.03392, allocations: 7.938 kB / 359.1 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.03392, allocations: 4 kB / 359.1 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006965/0.03462, allocations: 0.6601 MB / 359.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.03462, allocations: 0 / 359.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.0347, allocations: 39.92 kB / 359.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003658/0.03506, allocations: 159.2 kB / 359.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.03508, allocations: 8 kB / 359.9 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004795/0.03556, allocations: 1.134 MB / 361.1 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.03556, allocations: 7.922 kB / 361.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.036, allocations: 466.9 kB / 361.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.03611, allocations: 71.59 kB / 361.6 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.03615, allocations: 8 kB / 361.6 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.0363, allocations: 12 kB / 361.6 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.03633, allocations: 31.81 kB / 361.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.03636, allocations: 20.06 kB / 361.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.03651, allocations: 212.4 kB / 361.9 MB, free: 2.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03651, allocations: 0 / 361.9 MB, free: 2.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004418/0.03695, allocations: 235.7 kB / 362.1 MB, free: 1.832 MB / 330.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.0002855/0.03724, allocations: 204.1 kB / 362.3 MB, free: 1.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.03763, allocations: 341 kB / 362.6 MB, free: 1.293 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/0.03765, allocations: 13.38 kB / 362.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.03783, allocations: 142.6 kB / 362.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.03846, allocations: 300 kB / 363.1 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.0399, allocations: 1.084 MB / 364.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.04001, allocations: 171 kB / 364.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.0403, allocations: 181.4 kB / 364.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.04072, allocations: 279 kB / 364.8 MB, free: 15.1 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.04072, allocations: 0 / 364.8 MB, free: 15.1 MB / 346.7 MB Notification: Performance of Templates: time 0.01436/0.05508, allocations: 14.11 MB / 378.9 MB, free: 1.316 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.248424392659217]