Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 183.6 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 90.59 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3365/0.3365, allocations: 43.46 MB / 358.6 MB, free: 51.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.393e-05/2.395e-05, allocations: 0 / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7354/0.8442, allocations: 352.9 MB / 0.8174 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.8445, allocations: 92.81 kB / 0.8175 GB, free: 58.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4501/1.295, allocations: 130.8 MB / 0.9453 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.343e-06/1.295, allocations: 4 kB / 0.9453 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.882e-05/1.295, allocations: 11.59 kB / 0.9453 GB, free: 116.5 MB / 0.4948 GB 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.001318/1.296, allocations: 0.8881 MB / 0.9462 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/1.296, allocations: 11.53 kB / 0.9462 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/1.296, allocations: 90.89 kB / 0.9463 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007939/1.297, allocations: 0.54 MB / 0.9468 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/1.297, allocations: 97.88 kB / 0.9469 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/1.297, allocations: 49.28 kB / 0.9469 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/1.298, allocations: 0.8124 MB / 0.9477 GB, free: 115 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/1.298, allocations: 7 kB / 0.9477 GB, free: 115 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.17e-05/1.298, allocations: 24.12 kB / 0.9478 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/1.298, allocations: 45.03 kB / 0.9478 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/1.299, allocations: 0.6101 MB / 0.9484 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/1.302, allocations: 4.032 MB / 0.9523 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/1.303, allocations: 337.6 kB / 0.9527 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/1.303, allocations: 170.8 kB / 0.9528 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/1.304, allocations: 1.738 MB / 0.9545 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/1.304, allocations: 50.31 kB / 0.9546 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/1.304, allocations: 0 / 0.9546 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.00258/1.307, allocations: 1.258 MB / 0.9558 GB, free: 109 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.307, allocations: 139.5 kB / 0.9559 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/1.307, allocations: 0.5471 MB / 0.9565 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/1.307, allocations: 33.02 kB / 0.9565 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/1.307, allocations: 396.1 kB / 0.9569 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/1.307, allocations: 136.2 kB / 0.957 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/1.308, allocations: 19.69 kB / 0.957 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.303e-05/1.308, allocations: 376.2 kB / 0.9574 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/1.308, allocations: 173.2 kB / 0.9575 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/1.308, allocations: 0.5376 MB / 0.9581 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/1.309, allocations: 301.3 kB / 0.9584 GB, free: 107 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.309, allocations: 3.969 kB / 0.9584 GB, free: 107 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009601/1.309, allocations: 0.8096 MB / 0.9592 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.31, allocations: 11.41 kB / 0.9592 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.31, allocations: 15.38 kB / 0.9592 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/1.31, allocations: 92.48 kB / 0.9593 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/1.31, allocations: 185.5 kB / 0.9594 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003566/1.311, allocations: 0.6572 MB / 0.9601 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/1.311, allocations: 50.58 kB / 0.9601 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/1.311, allocations: 42.16 kB / 0.9602 GB, free: 106 MB / 0.4948 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.311, allocations: 159.9 kB / 0.9603 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/1.311, allocations: 62.62 kB / 0.9604 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/1.312, allocations: 493 kB / 0.9609 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.312, allocations: 2.875 kB / 0.9609 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.312, allocations: 0 / 0.9609 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.312, allocations: 11.78 kB / 0.9609 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/1.313, allocations: 1.202 MB / 0.962 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.313, allocations: 3.906 kB / 0.962 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/1.314, allocations: 75.11 kB / 0.9621 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/1.314, allocations: 39.23 kB / 0.9622 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.314, allocations: 7.969 kB / 0.9622 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001917/1.314, allocations: 0.5632 MB / 0.9627 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.314, allocations: 7.891 kB / 0.9627 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006457/1.315, allocations: 0.8457 MB / 0.9635 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.315, allocations: 194.6 kB / 0.9637 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-05/1.315, allocations: 11.75 kB / 0.9637 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/1.315, allocations: 33.45 kB / 0.9638 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/1.315, allocations: 35.2 kB / 0.9638 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/1.315, allocations: 24.36 kB / 0.9638 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003604/1.316, allocations: 443.8 kB / 0.9643 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/1.316, allocations: 0 / 0.9643 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006346/1.317, allocations: 218.6 kB / 0.9645 GB, free: 103.2 MB / 0.4948 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004298/1.317, allocations: 340.5 kB / 0.9648 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006543/1.318, allocations: 485.1 kB / 0.9653 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.318, allocations: 3.969 kB / 0.9653 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/1.318, allocations: 169.5 kB / 0.9654 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.319, allocations: 318.1 kB / 0.9657 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.32, allocations: 0.9166 MB / 0.9666 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/1.32, allocations: 0.9528 MB / 0.9675 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005366/1.321, allocations: 203.8 kB / 0.9677 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/1.321, allocations: 56.84 kB / 0.9678 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of SimCode: time 6.42e-07/1.321, allocations: 0 / 0.9678 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.01584/1.337, allocations: 13.32 MB / 0.9808 GB, free: 95.19 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches