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.001051/0.001051, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001018/0.001018, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9529/0.9529, allocations: 177 MB / 205.2 MB, free: 5.523 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.2852/0.2852, allocations: 34.87 MB / 296.6 MB, free: 0.5273 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.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.573e-06/1.573e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.881e-05, allocations: 2.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01637/0.01639, allocations: 17.07 MB / 395.8 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005194/0.02158, allocations: 5.603 MB / 401.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.02199, allocations: 27.75 kB / 401.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006168/0.0226, allocations: 309.9 kB / 401.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.02393, allocations: 0.8813 MB / 402.7 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.02562, allocations: 1.044 MB / 403.7 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.0272, allocations: 1.816 MB / 405.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.02769, allocations: 417.7 kB / 405.9 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.02891, allocations: 0.9816 MB / 406.9 MB, free: 6.152 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.02956, allocations: 0.5882 MB / 407.5 MB, free: 5.562 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.167e-05/0.02964, allocations: 63.94 kB / 407.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.03012, allocations: 327.3 kB / 407.9 MB, free: 5.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.03032, allocations: 287.1 kB / 408.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.03054, allocations: 283.4 kB / 408.4 MB, free: 4.621 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008402/0.03138, allocations: 0.8878 MB / 409.3 MB, free: 3.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.03138, allocations: 4 kB / 409.3 MB, free: 3.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03138, allocations: 0 / 409.3 MB, free: 3.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.03139, allocations: 0 / 409.3 MB, free: 3.727 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.001219/0.03261, allocations: 1.095 MB / 410.4 MB, free: 2.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.03264, allocations: 8.031 kB / 410.4 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.03293, allocations: 164.1 kB / 410.6 MB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.03349, allocations: 484.9 kB / 411.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.0336, allocations: 156.3 kB / 411.2 MB, free: 1.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.623e-05/0.03368, allocations: 60.33 kB / 411.3 MB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/0.03444, allocations: 1.008 MB / 412.3 MB, free: 496 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.03446, allocations: 8.188 kB / 412.3 MB, free: 488 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.0345, allocations: 31.92 kB / 412.3 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.03456, allocations: 40.92 kB / 412.4 MB, free: 412 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.03498, allocations: 297.5 kB / 412.6 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.03771, allocations: 4.143 MB / 416.8 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.03805, allocations: 214.9 kB / 417 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.03817, allocations: 88.16 kB / 417.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.03895, allocations: 0.7075 MB / 417.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.03897, allocations: 45.33 kB / 417.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.272e-06/0.03897, allocations: 0 / 417.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.00187/0.04084, allocations: 1.022 MB / 418.9 MB, free: 9.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.04089, allocations: 136.3 kB / 419 MB, free: 9.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.04132, allocations: 0.5842 MB / 419.6 MB, free: 8.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.04134, allocations: 33.7 kB / 419.6 MB, free: 8.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.04157, allocations: 462.7 kB / 420.1 MB, free: 8.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.815e-05/0.04165, allocations: 142.8 kB / 420.2 MB, free: 8.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.04179, allocations: 160.2 kB / 420.4 MB, free: 8.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.04194, allocations: 0.5391 MB / 420.9 MB, free: 7.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.04208, allocations: 81.94 kB / 421 MB, free: 7.461 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.04274, allocations: 0.6868 MB / 421.7 MB, free: 6.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/0.04326, allocations: 0.7383 MB / 422.4 MB, free: 5.551 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.04327, allocations: 7.938 kB / 422.4 MB, free: 5.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007113/0.04398, allocations: 0.6295 MB / 423 MB, free: 4.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.044, allocations: 8 kB / 423 MB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.04401, allocations: 12 kB / 423.1 MB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.04425, allocations: 75.64 kB / 423.1 MB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.04462, allocations: 188.1 kB / 423.3 MB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003887/0.04501, allocations: 0.8507 MB / 424.2 MB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.04523, allocations: 31.98 kB / 424.2 MB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.04526, allocations: 43.94 kB / 424.2 MB, free: 3.664 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0001605/0.04542, allocations: 212.2 kB / 424.4 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.0455, allocations: 75.62 kB / 424.5 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.04597, allocations: 396.8 kB / 424.9 MB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.04598, allocations: 4.062 kB / 424.9 MB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.04598, allocations: 4 kB / 424.9 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.04599, allocations: 11.88 kB / 424.9 MB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009244/0.04691, allocations: 0.9629 MB / 425.9 MB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.04691, allocations: 4 kB / 425.9 MB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.04707, allocations: 79.83 kB / 426 MB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.221e-05/0.04716, allocations: 35.67 kB / 426 MB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.04718, allocations: 11.98 kB / 426 MB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002786/0.04746, allocations: 0.8078 MB / 426.8 MB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.04746, allocations: 8.25 kB / 426.8 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.04797, allocations: 0.587 MB / 427.4 MB, free: 256 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.04809, allocations: 99.7 kB / 427.5 MB, free: 156 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.04814, allocations: 12 kB / 427.5 MB, free: 144 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.04831, allocations: 19.94 kB / 427.5 MB, free: 124 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.04835, allocations: 39.81 kB / 427.6 MB, free: 84 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.04838, allocations: 19.98 kB / 427.6 MB, free: 64 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005611/0.04894, allocations: 358.7 kB / 428 MB, free: 15.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.04894, allocations: 32 / 428 MB, free: 15.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000478/0.04942, allocations: 207.8 kB / 428.2 MB, free: 15.51 MB / 410.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 (36): * Single equations (assignments): 35 * 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.0003078/0.04972, allocations: 221.2 kB / 428.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.05026, allocations: 360.6 kB / 428.7 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.05027, allocations: 4 kB / 428.7 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.05044, allocations: 132.2 kB / 428.9 MB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.05121, allocations: 295.2 kB / 429.2 MB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.05281, allocations: 1.147 MB / 430.3 MB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.05292, allocations: 174.5 kB / 430.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.05325, allocations: 181.1 kB / 430.6 MB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.05335, allocations: 52.5 kB / 430.7 MB, free: 12.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.05335, allocations: 0 / 430.7 MB, free: 12.86 MB / 410.7 MB Notification: Performance of Templates: time 0.01463/0.06798, allocations: 11.85 MB / 442.5 MB, free: 1.277 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.7759190320502967]