Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.00147/0.00147, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001045/0.001045, allocations: 168.8 kB / 24.82 MB, free: 9.254 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.9895/0.9895, allocations: 177 MB / 205.1 MB, free: 5.473 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.2792/0.2792, allocations: 34.87 MB / 296.6 MB, free: 448 kB / 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.Water.ConstantPropertyLiquidWater,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.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,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.Water.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.928e-05, allocations: 3.156 kB / 379.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.006148/0.006167, allocations: 7.722 MB / 387 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.009266, allocations: 3.011 MB / 390 MB, free: 6.992 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.00959, allocations: 27.75 kB / 390 MB, free: 6.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.01004, allocations: 202.6 kB / 390.2 MB, free: 6.766 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009143/0.01096, allocations: 0.7572 MB / 391 MB, free: 6.004 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.01205, allocations: 0.8955 MB / 391.9 MB, free: 5.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.01354, allocations: 1.836 MB / 393.7 MB, free: 3.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.01389, allocations: 421.7 kB / 394.1 MB, free: 2.852 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007801/0.01467, allocations: 0.9392 MB / 395 MB, free: 1.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.01515, allocations: 0.5882 MB / 395.6 MB, free: 1.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.971e-05/0.01522, allocations: 60 kB / 395.7 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.01549, allocations: 203.6 kB / 395.9 MB, free: 1.062 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.01566, allocations: 279.2 kB / 396.2 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.01585, allocations: 287.3 kB / 396.4 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006216/0.01647, allocations: 0.771 MB / 397.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01648, allocations: 7.938 kB / 397.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01648, allocations: 0 / 397.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.01648, allocations: 0 / 397.2 MB, free: 15.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001026/0.01751, allocations: 1.064 MB / 398.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.01754, allocations: 12.03 kB / 398.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.01777, allocations: 152.2 kB / 398.4 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.01822, allocations: 492.7 kB / 398.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.012e-05/0.0183, allocations: 156.3 kB / 399.1 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.01836, allocations: 52.38 kB / 399.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.01898, allocations: 0.9395 MB / 400.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.019, allocations: 8.188 kB / 400.1 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.01904, allocations: 23.94 kB / 400.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.01908, allocations: 40.98 kB / 400.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.01938, allocations: 258.5 kB / 400.4 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.02177, allocations: 4.003 MB / 404.4 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.02201, allocations: 204.4 kB / 404.6 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.02209, allocations: 72.2 kB / 404.7 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006448/0.02273, allocations: 0.6658 MB / 405.3 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.02276, allocations: 41.39 kB / 405.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.163e-06/0.02276, allocations: 0 / 405.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001401/0.02416, allocations: 0.8832 MB / 406.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.0242, allocations: 140.3 kB / 406.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.02455, allocations: 0.5955 MB / 407 MB, free: 5.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.02457, allocations: 29.7 kB / 407 MB, free: 5.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.02476, allocations: 486.5 kB / 407.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.02483, allocations: 142.9 kB / 407.6 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.02521, allocations: 164.1 kB / 407.8 MB, free: 4.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.02536, allocations: 0.5507 MB / 408.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.02543, allocations: 61.94 kB / 408.4 MB, free: 3.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.02576, allocations: 0.7202 MB / 409.1 MB, free: 2.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.02619, allocations: 0.7428 MB / 409.9 MB, free: 1.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.02619, allocations: 4 kB / 409.9 MB, free: 1.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0006013/0.0268, allocations: 0.622 MB / 410.5 MB, free: 1.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.02681, allocations: 10.5 kB / 410.5 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.02682, allocations: 20 kB / 410.5 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.02699, allocations: 79.77 kB / 410.6 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.02732, allocations: 179.7 kB / 410.8 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003104/0.02763, allocations: 0.8624 MB / 411.6 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.02785, allocations: 39.92 kB / 411.7 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.02788, allocations: 32 kB / 411.7 MB, free: 72 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.02803, allocations: 220.1 kB / 411.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.02809, allocations: 71.62 kB / 412 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.02844, allocations: 342.7 kB / 412.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.02845, allocations: 11.97 kB / 412.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.02845, allocations: 3.938 kB / 412.3 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.02845, allocations: 3.984 kB / 412.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.02918, allocations: 0.8256 MB / 413.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.02918, allocations: 8.062 kB / 413.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.02932, allocations: 71.84 kB / 413.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.0294, allocations: 35.66 kB / 413.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.02941, allocations: 12 kB / 413.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000226/0.02964, allocations: 0.8 MB / 414.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.02964, allocations: 7.938 kB / 414.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.03025, allocations: 0.5506 MB / 414.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.03036, allocations: 83.58 kB / 414.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.03039, allocations: 12 kB / 414.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.03056, allocations: 19.92 kB / 414.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.03058, allocations: 27.91 kB / 414.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.0306, allocations: 15.98 kB / 414.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001836/0.03078, allocations: 346.6 kB / 415.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03078, allocations: 0 / 415.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004105/0.0312, allocations: 179.9 kB / 415.3 MB, free: 12.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000179/0.03137, allocations: 163 kB / 415.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.03175, allocations: 340.4 kB / 415.8 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.03176, allocations: 4 kB / 415.8 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.03188, allocations: 108.5 kB / 415.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006921/0.03257, allocations: 306.8 kB / 416.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.03378, allocations: 1.132 MB / 417.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.929e-05/0.03388, allocations: 178.5 kB / 417.5 MB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.03411, allocations: 105.7 kB / 417.6 MB, free: 9.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.03452, allocations: 333.9 kB / 418 MB, free: 9.477 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03452, allocations: 4 kB / 418 MB, free: 9.473 MB / 394.7 MB Notification: Performance of Templates: time 0.0125/0.04702, allocations: 11.61 MB / 429.6 MB, free: 14.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.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.5685642790049314]