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.001385/0.001385, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001108/0.001108, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9616/0.9616, allocations: 177 MB / 205.2 MB, free: 5.047 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.2587/0.2587, allocations: 34.86 MB / 296.6 MB, free: 480 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.663e-06/1.663e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.103e-05, allocations: 6.281 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.007114/0.007135, allocations: 7.751 MB / 333.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.01059, allocations: 3.046 MB / 336.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.01091, allocations: 27.75 kB / 336.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.01136, allocations: 210.6 kB / 337 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.01307, allocations: 0.7572 MB / 337.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.01532, allocations: 0.9005 MB / 338.6 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002307/0.01762, allocations: 1.836 MB / 340.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.01835, allocations: 434.4 kB / 340.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.01975, allocations: 0.9353 MB / 341.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.02043, allocations: 0.5492 MB / 342.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.02051, allocations: 60 kB / 342.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.02086, allocations: 207.7 kB / 342.6 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.02109, allocations: 279.2 kB / 342.9 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.02131, allocations: 279.3 kB / 343.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008785/0.02219, allocations: 0.7826 MB / 344 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.02219, allocations: 0 / 344 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.0222, allocations: 0 / 344 MB, free: 5.074 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.02221, allocations: 0 / 344 MB, free: 5.074 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.001181/0.02339, allocations: 0.9196 MB / 344.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.02342, allocations: 8.031 kB / 344.9 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.02366, allocations: 124.6 kB / 345 MB, free: 4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.0243, allocations: 431.4 kB / 345.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.442e-05/0.0244, allocations: 156.4 kB / 345.6 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.02447, allocations: 56.3 kB / 345.6 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.02509, allocations: 0.8839 MB / 346.5 MB, free: 2.266 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.02511, allocations: 8.125 kB / 346.5 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.02516, allocations: 27.94 kB / 346.5 MB, free: 2.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-05/0.0252, allocations: 36.98 kB / 346.6 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.02551, allocations: 252.2 kB / 346.8 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.02776, allocations: 2.824 MB / 349.7 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.02799, allocations: 181.8 kB / 349.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.02805, allocations: 57.39 kB / 349.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.02867, allocations: 0.5186 MB / 350.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.02869, allocations: 38.5 kB / 350.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.02869, allocations: 0 / 350.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.001689/0.03038, allocations: 0.9673 MB / 351.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.03042, allocations: 132.5 kB / 351.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.03072, allocations: 0.5143 MB / 352.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.03074, allocations: 33.7 kB / 352.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.03089, allocations: 384.7 kB / 352.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.03095, allocations: 134.9 kB / 352.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.03107, allocations: 146.5 kB / 352.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.03116, allocations: 374.6 kB / 353.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.03124, allocations: 57.97 kB / 353.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.03152, allocations: 0.5517 MB / 353.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.0319, allocations: 0.5903 MB / 354.3 MB, free: 9.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.03191, allocations: 4 kB / 354.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005317/0.03244, allocations: 0.5093 MB / 354.8 MB, free: 9.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.03246, allocations: 12 kB / 354.8 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.03247, allocations: 16.06 kB / 354.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.03265, allocations: 75.62 kB / 354.9 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.03298, allocations: 187.7 kB / 355.1 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005161/0.03349, allocations: 0.5811 MB / 355.7 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.03372, allocations: 36.05 kB / 355.7 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.03375, allocations: 32 kB / 355.7 MB, free: 8.328 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.000133/0.03389, allocations: 172.4 kB / 355.9 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.03394, allocations: 55.88 kB / 356 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.03425, allocations: 289.1 kB / 356.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.03425, allocations: 7.938 kB / 356.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.03425, allocations: 0 / 356.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.03426, allocations: 3.984 kB / 356.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.03496, allocations: 0.7231 MB / 357 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.03496, allocations: 4 kB / 357 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.03509, allocations: 63.84 kB / 357.1 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.631e-05/0.03519, allocations: 41.2 kB / 357.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.0352, allocations: 8 kB / 357.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001772/0.03538, allocations: 0.5328 MB / 357.6 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.03538, allocations: 4 kB / 357.6 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.03571, allocations: 483.5 kB / 358.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.03581, allocations: 71.58 kB / 358.2 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.03586, allocations: 16.06 kB / 358.2 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.03601, allocations: 12 kB / 358.2 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.03604, allocations: 27.89 kB / 358.2 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.03607, allocations: 19.98 kB / 358.3 MB, free: 5.617 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.03622, allocations: 212.4 kB / 358.5 MB, free: 5.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03622, allocations: 3.938 kB / 358.5 MB, free: 5.406 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004093/0.03663, allocations: 179.9 kB / 358.6 MB, free: 5.23 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.000193/0.03682, allocations: 150.5 kB / 358.8 MB, free: 5.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.03721, allocations: 324.7 kB / 359.1 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/0.03723, allocations: 12.5 kB / 359.1 MB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.03735, allocations: 103.3 kB / 359.2 MB, free: 4.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.03799, allocations: 289 kB / 359.5 MB, free: 4.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.03934, allocations: 1.131 MB / 360.6 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.03944, allocations: 166.7 kB / 360.8 MB, free: 2.996 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.03971, allocations: 106.8 kB / 360.9 MB, free: 2.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.04013, allocations: 275 kB / 361.2 MB, free: 2.621 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04013, allocations: 0 / 361.2 MB, free: 2.621 MB / 330.7 MB Notification: Performance of Templates: time 0.01301/0.05314, allocations: 11.62 MB / 372.8 MB, free: 7.312 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 -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.209731665905565]