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.001055/0.001055, allocations: 88.86 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.001015/0.001015, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.005/1.005, allocations: 177 MB / 205.2 MB, free: 5.051 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.2707/0.2707, allocations: 34.86 MB / 296.6 MB, free: 468 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.923e-06/1.923e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.054e-05, allocations: 5.125 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.006819/0.00684, allocations: 7.791 MB / 333.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.01023, allocations: 3.053 MB / 336.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.01056, allocations: 31.75 kB / 336.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004639/0.01103, allocations: 210.5 kB / 337.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.01205, allocations: 0.7532 MB / 337.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.01335, allocations: 0.8805 MB / 338.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.0148, allocations: 1.829 MB / 340.5 MB, free: 8.492 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005026/0.01531, allocations: 422.4 kB / 340.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009393/0.01625, allocations: 0.9313 MB / 341.9 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.01683, allocations: 0.5492 MB / 342.4 MB, free: 6.594 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.01691, allocations: 56 kB / 342.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.01725, allocations: 211.7 kB / 342.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.01745, allocations: 279.1 kB / 343 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.01765, allocations: 287.4 kB / 343.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007476/0.0184, allocations: 0.7787 MB / 344 MB, free: 4.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.0184, allocations: 0 / 344 MB, free: 4.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0184, allocations: 0 / 344 MB, free: 4.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.01841, allocations: 4 kB / 344 MB, free: 4.992 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001086/0.0195, allocations: 0.9155 MB / 344.9 MB, free: 4.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.01953, allocations: 12.03 kB / 344.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.01978, allocations: 132.6 kB / 345.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.02026, allocations: 423.4 kB / 345.5 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.02037, allocations: 152.4 kB / 345.6 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.02043, allocations: 56.36 kB / 345.7 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.02106, allocations: 0.8883 MB / 346.6 MB, free: 2.184 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.02107, allocations: 192 / 346.6 MB, free: 2.184 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.02111, allocations: 31.92 kB / 346.6 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.02115, allocations: 36.98 kB / 346.6 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.02145, allocations: 248.2 kB / 346.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.02412, allocations: 2.836 MB / 349.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.02434, allocations: 173.9 kB / 349.9 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.02441, allocations: 58.72 kB / 350 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005826/0.02499, allocations: 0.5224 MB / 350.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.02502, allocations: 38.56 kB / 350.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.012e-06/0.02502, allocations: 0 / 350.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.001933/0.02695, allocations: 0.9672 MB / 351.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.027, allocations: 136.5 kB / 351.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.02731, allocations: 0.5143 MB / 352.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.02734, allocations: 33.7 kB / 352.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.02749, allocations: 376.7 kB / 352.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/0.02755, allocations: 130.9 kB / 352.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.02767, allocations: 150.5 kB / 352.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.02777, allocations: 374.7 kB / 353.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.02784, allocations: 57.95 kB / 353.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.02812, allocations: 0.5478 MB / 353.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.02852, allocations: 0.5865 MB / 354.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.02852, allocations: 4 kB / 354.4 MB, free: 9.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008117/0.02933, allocations: 0.5246 MB / 354.9 MB, free: 9.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.02935, allocations: 8 kB / 354.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.02937, allocations: 16 kB / 354.9 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.02956, allocations: 79.77 kB / 355 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.03001, allocations: 247.8 kB / 355.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003064/0.03032, allocations: 0.5811 MB / 355.8 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.03054, allocations: 32 kB / 355.8 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.03057, allocations: 35.98 kB / 355.9 MB, free: 8.184 MB / 330.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.0001407/0.03071, allocations: 176.3 kB / 356 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.03077, allocations: 47.95 kB / 356.1 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.03108, allocations: 301.8 kB / 356.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.03109, allocations: 4 kB / 356.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.03109, allocations: 0 / 356.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.03109, allocations: 0 / 356.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/0.03179, allocations: 0.723 MB / 357.1 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.03179, allocations: 4 kB / 357.1 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.03195, allocations: 75.89 kB / 357.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-05/0.03204, allocations: 41.14 kB / 357.2 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.03205, allocations: 12 kB / 357.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001963/0.03225, allocations: 0.5289 MB / 357.8 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.03225, allocations: 7.984 kB / 357.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.03259, allocations: 479.6 kB / 358.3 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.092e-05/0.03268, allocations: 67.61 kB / 358.3 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.03273, allocations: 11.98 kB / 358.3 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.03287, allocations: 12 kB / 358.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.03291, allocations: 39.89 kB / 358.4 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.03293, allocations: 15.98 kB / 358.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001551/0.03308, allocations: 216.3 kB / 358.6 MB, free: 5.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03308, allocations: 0 / 358.6 MB, free: 5.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004853/0.03357, allocations: 183.9 kB / 358.8 MB, free: 5.07 MB / 330.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.0001992/0.03377, allocations: 132.8 kB / 358.9 MB, free: 4.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.03417, allocations: 333.4 kB / 359.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/0.03418, allocations: 8.5 kB / 359.3 MB, free: 4.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.0343, allocations: 105.7 kB / 359.4 MB, free: 4.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.03496, allocations: 298.9 kB / 359.6 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.03638, allocations: 1.124 MB / 360.8 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.03648, allocations: 166.8 kB / 360.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.03674, allocations: 105.7 kB / 361 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.03717, allocations: 275 kB / 361.3 MB, free: 2.469 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03717, allocations: 4 kB / 361.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of Templates: time 0.01361/0.05077, allocations: 11.75 MB / 373.1 MB, free: 7.02 MB / 346.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 -s gbode -gbm=radauIIA3 -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.200182979926467]