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.001/0.001, 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.001035/0.001035, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.9805/0.9805, allocations: 177 MB / 205.2 MB, free: 5.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.2579/0.2579, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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 2.524e-06/2.524e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.314e-05, allocations: 2.312 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.01128/0.01132, allocations: 8.392 MB / 334.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.01483, allocations: 2.365 MB / 336.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.01514, allocations: 27.75 kB / 336.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.0157, allocations: 214.5 kB / 337 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.01852, allocations: 1.33 MB / 338.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.0203, allocations: 0.8885 MB / 339.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002393/0.0227, allocations: 1.945 MB / 341.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006791/0.02337, allocations: 441.7 kB / 341.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.02583, allocations: 2.128 MB / 343.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006748/0.02651, allocations: 0.5726 MB / 344.3 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.219e-05/0.02659, allocations: 60 kB / 344.3 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007464/0.02734, allocations: 0.5069 MB / 344.8 MB, free: 4.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.02752, allocations: 283.2 kB / 345.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.02775, allocations: 287.3 kB / 345.4 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.02876, allocations: 0.993 MB / 346.4 MB, free: 2.625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.02876, allocations: 0 / 346.4 MB, free: 2.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02876, allocations: 0 / 346.4 MB, free: 2.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.02877, allocations: 0 / 346.4 MB, free: 2.625 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.001197/0.02997, allocations: 0.9861 MB / 347.4 MB, free: 1.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.03, allocations: 12.03 kB / 347.4 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006845/0.03068, allocations: 232.2 kB / 347.6 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.03117, allocations: 423.4 kB / 348 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.03126, allocations: 164.3 kB / 348.2 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.03133, allocations: 52.38 kB / 348.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.03204, allocations: 0.9155 MB / 349.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.03206, allocations: 7.938 kB / 349.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.0321, allocations: 20 kB / 349.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.03214, allocations: 36.98 kB / 349.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.0325, allocations: 245.3 kB / 349.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.03471, allocations: 2.954 MB / 352.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.03495, allocations: 141.3 kB / 352.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/0.03502, allocations: 60.81 kB / 352.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.03512, allocations: 60.53 kB / 352.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.03515, allocations: 42.5 kB / 352.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.03515, allocations: 0 / 352.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001848/0.037, allocations: 0.8776 MB / 353.6 MB, free: 11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.03705, allocations: 132.5 kB / 353.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.03737, allocations: 0.5065 MB / 354.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.0374, allocations: 33.7 kB / 354.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.03756, allocations: 364.9 kB / 354.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.03764, allocations: 138.8 kB / 354.7 MB, free: 9.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.03778, allocations: 150.5 kB / 354.9 MB, free: 9.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.03789, allocations: 378.6 kB / 355.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.03798, allocations: 69.89 kB / 355.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.03825, allocations: 477.5 kB / 355.8 MB, free: 8.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.03865, allocations: 0.5007 MB / 356.3 MB, free: 7.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.03865, allocations: 0 / 356.3 MB, free: 7.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006002/0.03925, allocations: 0.5187 MB / 356.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.03927, allocations: 8 kB / 356.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.03928, allocations: 15.94 kB / 356.8 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.03984, allocations: 220.3 kB / 357.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.04006, allocations: 127.8 kB / 357.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005652/0.04063, allocations: 1.173 MB / 358.4 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.04083, allocations: 32 kB / 358.4 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.04087, allocations: 43.98 kB / 358.4 MB, free: 5.703 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.0001431/0.04102, allocations: 164.5 kB / 358.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.04108, allocations: 51.94 kB / 358.6 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/0.04172, allocations: 474.3 kB / 359.1 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.04172, allocations: 4 kB / 359.1 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.04173, allocations: 3.938 kB / 359.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.04173, allocations: 3.984 kB / 359.1 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.04246, allocations: 0.664 MB / 359.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.04246, allocations: 0 / 359.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.04255, allocations: 47.91 kB / 359.8 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003889/0.04294, allocations: 157 kB / 360 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.04297, allocations: 11.98 kB / 360 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006571/0.04363, allocations: 1.134 MB / 361.1 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.04363, allocations: 3.984 kB / 361.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.04424, allocations: 470.9 kB / 361.6 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.04439, allocations: 71.59 kB / 361.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.04446, allocations: 8 kB / 361.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.04468, allocations: 12 kB / 361.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.04474, allocations: 27.89 kB / 361.7 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.04478, allocations: 15.98 kB / 361.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.04501, allocations: 216.3 kB / 361.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04501, allocations: 0 / 361.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006742/0.04568, allocations: 239.8 kB / 362.2 MB, free: 1.789 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.0003741/0.04606, allocations: 211.9 kB / 362.4 MB, free: 1.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.04661, allocations: 328.1 kB / 362.7 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/0.04662, allocations: 14.31 kB / 362.7 MB, free: 1.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.04682, allocations: 134.8 kB / 362.8 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/0.04747, allocations: 305.2 kB / 363.1 MB, free: 0.832 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.04887, allocations: 1.101 MB / 364.2 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.745e-05/0.04897, allocations: 159 kB / 364.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000292/0.04926, allocations: 181.5 kB / 364.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.04969, allocations: 279 kB / 364.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of SimCode: time 7.51e-07/0.04969, allocations: 0 / 364.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of Templates: time 0.0151/0.06479, allocations: 14.1 MB / 378.9 MB, free: 1.289 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 -s gbode -gbm=radauIIA3 -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.2250309782102704]