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.001018/0.001018, allocations: 88.25 kB / 22.22 MB, free: 2.285 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.001135/0.001135, allocations: 169.2 kB / 25.61 MB, free: 8.891 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.045/1.045, allocations: 177 MB / 205.9 MB, free: 4.402 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.1437/0.1437, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.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.303e-06/1.303e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.586e-05, allocations: 5.062 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.008047/0.008063, allocations: 7.717 MB / 387.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.0128, allocations: 2.995 MB / 390.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005966/0.0134, allocations: 27.75 kB / 390.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.01405, allocations: 210.5 kB / 391 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.01559, allocations: 0.7533 MB / 391.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.01764, allocations: 0.8962 MB / 392.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.01972, allocations: 1.844 MB / 394.5 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007602/0.02048, allocations: 429.8 kB / 394.9 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.02193, allocations: 0.9391 MB / 395.8 MB, free: 6.855 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.02294, allocations: 0.5765 MB / 396.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.02313, allocations: 56 kB / 396.5 MB, free: 6.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.02361, allocations: 203.7 kB / 396.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.02386, allocations: 283.1 kB / 396.9 MB, free: 5.746 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.02416, allocations: 279.4 kB / 397.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009967/0.02516, allocations: 0.7865 MB / 398 MB, free: 4.684 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.02516, allocations: 0 / 398 MB, free: 4.684 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02516, allocations: 0 / 398 MB, free: 4.684 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.02517, allocations: 0 / 398 MB, free: 4.684 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.001665/0.02684, allocations: 1.06 MB / 399.1 MB, free: 3.586 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.02687, allocations: 12.03 kB / 399.1 MB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.02725, allocations: 152.2 kB / 399.2 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006672/0.02792, allocations: 488.8 kB / 399.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.553e-05/0.02801, allocations: 148.4 kB / 399.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.0281, allocations: 60.36 kB / 399.9 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.02889, allocations: 0.9474 MB / 400.8 MB, free: 1.547 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.02892, allocations: 8.078 kB / 400.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.02898, allocations: 27.92 kB / 400.9 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/0.02904, allocations: 40.98 kB / 400.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.02949, allocations: 262.5 kB / 401.2 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.03296, allocations: 4.01 MB / 405.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.03336, allocations: 200.3 kB / 405.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.03349, allocations: 72.2 kB / 405.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.03454, allocations: 0.6684 MB / 406.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.03457, allocations: 37.39 kB / 406.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.03457, allocations: 8 kB / 406.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.002365/0.03694, allocations: 0.8728 MB / 407 MB, free: 11.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.037, allocations: 136.5 kB / 407.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000585/0.03758, allocations: 0.5877 MB / 407.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.03763, allocations: 37.7 kB / 407.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.03795, allocations: 490.4 kB / 408.3 MB, free: 9.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.03805, allocations: 130.9 kB / 408.4 MB, free: 9.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.03826, allocations: 164.2 kB / 408.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.03847, allocations: 0.5507 MB / 409.1 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.03862, allocations: 77.81 kB / 409.2 MB, free: 8.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.03918, allocations: 0.7124 MB / 409.9 MB, free: 7.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/0.03991, allocations: 0.7467 MB / 410.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.03992, allocations: 4 kB / 410.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001066/0.04099, allocations: 0.6219 MB / 411.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.04101, allocations: 12 kB / 411.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.04103, allocations: 12 kB / 411.3 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.0413, allocations: 75.58 kB / 411.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.04189, allocations: 184 kB / 411.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005202/0.04241, allocations: 0.8623 MB / 412.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.04286, allocations: 28 kB / 412.4 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/0.04292, allocations: 39.98 kB / 412.5 MB, free: 5.016 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.0002288/0.04315, allocations: 216.2 kB / 412.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.04328, allocations: 71.62 kB / 412.8 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.04388, allocations: 350.3 kB / 413.1 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.04388, allocations: 7.938 kB / 413.1 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.04389, allocations: 0 / 413.1 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.04389, allocations: 3.984 kB / 413.1 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.04515, allocations: 0.8401 MB / 414 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.04515, allocations: 4.062 kB / 414 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.04537, allocations: 63.91 kB / 414 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/0.04552, allocations: 43.78 kB / 414.1 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.04554, allocations: 12 kB / 414.1 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000384/0.04593, allocations: 0.8038 MB / 414.9 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.04593, allocations: 7.938 kB / 414.9 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.04656, allocations: 0.5357 MB / 415.4 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.04674, allocations: 99.55 kB / 415.5 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/0.04681, allocations: 8 kB / 415.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.04711, allocations: 15.94 kB / 415.5 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.04716, allocations: 27.95 kB / 415.6 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.04719, allocations: 19.98 kB / 415.6 MB, free: 1.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003003/0.04749, allocations: 334.7 kB / 415.9 MB, free: 1.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04749, allocations: 0 / 415.9 MB, free: 1.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00047/0.04796, allocations: 187.9 kB / 416.1 MB, free: 1.176 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.0002386/0.0482, allocations: 170.9 kB / 416.3 MB, free: 1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004618/0.04866, allocations: 332.2 kB / 416.6 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.04867, allocations: 0 / 416.6 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.04881, allocations: 116.5 kB / 416.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/0.04959, allocations: 288.7 kB / 417 MB, free: 292 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.05124, allocations: 1.132 MB / 418.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.05137, allocations: 170.7 kB / 418.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.05168, allocations: 120 kB / 418.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.05214, allocations: 329.9 kB / 418.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.05214, allocations: 0 / 418.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of Templates: time 0.01603/0.06818, allocations: 11.78 MB / 430.5 MB, free: 2.953 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.7860693209804595]