Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 230.7 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008755/0.0008754, allocations: 93.83 kB / 281.6 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2197/0.2197, allocations: 44.14 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.619e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1619, allocations: 61.91 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.677/8.839, allocations: 3.126 GB / 3.621 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/8.839, allocations: 93.38 kB / 3.621 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.397/12.24, allocations: 1.129 GB / 4.75 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.003e-06/12.24, allocations: 0 / 4.75 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.234e-05/12.24, allocations: 16 kB / 4.75 GB, free: 63.17 MB / 0.5261 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.006655/12.24, allocations: 1.57 MB / 4.751 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/12.24, allocations: 11.98 kB / 4.751 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005108/12.24, allocations: 86.95 kB / 4.751 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/12.24, allocations: 0.545 MB / 4.752 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.903e-05/12.24, allocations: 88.31 kB / 4.752 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/12.24, allocations: 28 kB / 4.752 GB, free: 61.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008931/12.25, allocations: 0.5466 MB / 4.752 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000928/12.25, allocations: 0.741 MB / 4.753 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/12.25, allocations: 0 / 4.753 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/12.25, allocations: 4 kB / 4.753 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.921e-05/12.25, allocations: 40.77 kB / 4.753 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/12.25, allocations: 3.984 MB / 4.757 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/12.25, allocations: 311.1 kB / 4.757 GB, free: 55.69 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/12.25, allocations: 160.9 kB / 4.758 GB, free: 55.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/12.25, allocations: 352 kB / 4.758 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/12.25, allocations: 38.84 kB / 4.758 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.015e-06/12.25, allocations: 0 / 4.758 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.002795/12.25, allocations: 1.277 MB / 4.759 GB, free: 53.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/12.25, allocations: 132.5 kB / 4.759 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/12.25, allocations: 447.3 kB / 4.76 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/12.25, allocations: 29.64 kB / 4.76 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/12.25, allocations: 383.2 kB / 4.76 GB, free: 52.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/12.25, allocations: 143 kB / 4.76 GB, free: 52.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/12.25, allocations: 4 kB / 4.76 GB, free: 52.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.206e-05/12.25, allocations: 374.1 kB / 4.761 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/12.26, allocations: 196.4 kB / 4.761 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/12.26, allocations: 489.9 kB / 4.761 GB, free: 51.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/12.26, allocations: 326.7 kB / 4.762 GB, free: 51.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/12.26, allocations: 0 / 4.762 GB, free: 51.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001618/12.26, allocations: 0.8813 MB / 4.762 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/12.26, allocations: 13.41 kB / 4.762 GB, free: 50.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/12.26, allocations: 12 kB / 4.762 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000733/12.26, allocations: 226.4 kB / 4.763 GB, free: 50.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/12.26, allocations: 133.1 kB / 4.763 GB, free: 50.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007001/12.26, allocations: 0.8697 MB / 4.764 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/12.26, allocations: 31.38 kB / 4.764 GB, free: 49.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/12.26, allocations: 36 kB / 4.764 GB, free: 49.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001344/12.26, allocations: 136.5 kB / 4.764 GB, free: 49.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.314e-05/12.26, allocations: 66.81 kB / 4.764 GB, free: 49.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/12.26, allocations: 0.5853 MB / 4.764 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/12.26, allocations: 8 kB / 4.764 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/12.26, allocations: 0 / 4.764 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/12.26, allocations: 10.38 kB / 4.765 GB, free: 48.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/12.26, allocations: 1.485 MB / 4.766 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/12.26, allocations: 0 / 4.766 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000861/12.26, allocations: 186.5 kB / 4.766 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/12.26, allocations: 57.69 kB / 4.766 GB, free: 47.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/12.26, allocations: 12.05 kB / 4.766 GB, free: 47.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/12.27, allocations: 2.685 MB / 4.769 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/12.27, allocations: 4.031 kB / 4.769 GB, free: 44.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/12.27, allocations: 0.9619 MB / 4.77 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/12.27, allocations: 188.4 kB / 4.77 GB, free: 43.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/12.27, allocations: 8.062 kB / 4.77 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/12.27, allocations: 14.19 kB / 4.77 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/12.27, allocations: 36.45 kB / 4.77 GB, free: 43.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/12.27, allocations: 19.33 kB / 4.77 GB, free: 43.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003253/12.27, allocations: 334.2 kB / 4.77 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/12.27, allocations: 0 / 4.77 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009615/12.27, allocations: 218.8 kB / 4.771 GB, free: 42.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006263/12.27, allocations: 420.3 kB / 4.771 GB, free: 42.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008055/12.27, allocations: 0.5236 MB / 4.771 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/12.27, allocations: 0.8125 kB / 4.771 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008486/12.27, allocations: 425 kB / 4.772 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/12.27, allocations: 254.2 kB / 4.772 GB, free: 41.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/12.27, allocations: 0.961 MB / 4.773 GB, free: 40.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/12.27, allocations: 0.9551 MB / 4.774 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006004/12.28, allocations: 188.3 kB / 4.774 GB, free: 39.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/12.28, allocations: 62 kB / 4.774 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/12.28, allocations: 0 / 4.774 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.01821/12.29, allocations: 12.66 MB / 4.787 GB, free: 30.31 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches