Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 102.1 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 182 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 241.8 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.000372, allocations: 8 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01512/0.13, allocations: 14.2 MB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.1357, allocations: 4.071 MB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006934/0.1365, allocations: 27.75 kB / 489.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007466/0.1373, allocations: 270.6 kB / 490 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.139, allocations: 0.6971 MB / 490.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1409, allocations: 0.698 MB / 491.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.1422, allocations: 1.02 MB / 492.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005411/0.1427, allocations: 389.3 kB / 492.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.1439, allocations: 0.6347 MB / 493.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005753/0.1445, allocations: 422.5 kB / 493.9 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.72e-05/0.1446, allocations: 32 kB / 493.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006521/0.1452, allocations: 239.7 kB / 494.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.1455, allocations: 211.4 kB / 494.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1456, allocations: 161.4 kB / 494.5 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008234/0.1465, allocations: 0.7639 MB / 495.3 MB, free: 5.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1465, allocations: 0 / 495.3 MB, free: 5.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1465, allocations: 0 / 495.3 MB, free: 5.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1465, allocations: 0 / 495.3 MB, free: 5.844 MB / 366.1 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.001957/0.1485, allocations: 0.9269 MB / 496.2 MB, free: 4.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1485, allocations: 12.56 kB / 496.2 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.1488, allocations: 95.08 kB / 496.3 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.1496, allocations: 492.6 kB / 496.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-05/0.1497, allocations: 104.4 kB / 496.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.1498, allocations: 44 kB / 496.9 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.151, allocations: 0.8181 MB / 497.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.151, allocations: 4 kB / 497.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/0.1511, allocations: 24 kB / 497.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.1511, allocations: 36.98 kB / 497.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000991/0.1521, allocations: 0.6477 MB / 498.5 MB, free: 2.48 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.1567, allocations: 4.237 MB / 0.4909 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.1575, allocations: 419.9 kB / 0.4913 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004653/0.158, allocations: 0.499 MB / 0.4918 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.158, allocations: 38.83 kB / 0.4918 GB, free: 12.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.725e-06/0.158, allocations: 0 / 0.4918 GB, free: 12.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003209/0.1613, allocations: 1.522 MB / 0.4933 GB, free: 11.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.1614, allocations: 136.5 kB / 0.4935 GB, free: 11.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.162, allocations: 0.5653 MB / 0.494 GB, free: 10.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.1621, allocations: 37.7 kB / 0.494 GB, free: 10.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.1624, allocations: 354.9 kB / 0.4944 GB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.1625, allocations: 165.7 kB / 0.4945 GB, free: 10 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.1626, allocations: 12 kB / 0.4945 GB, free: 9.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1627, allocations: 378.8 kB / 0.4949 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.1631, allocations: 221.9 kB / 0.4951 GB, free: 9.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.1636, allocations: 0.5123 MB / 0.4956 GB, free: 8.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.1641, allocations: 316.6 kB / 0.4959 GB, free: 8.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1641, allocations: 0 / 0.4959 GB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001874/0.166, allocations: 0.9647 MB / 0.4969 GB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.166, allocations: 19.92 kB / 0.4969 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.166, allocations: 8.094 kB / 0.4969 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.1672, allocations: 264.6 kB / 0.4971 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.1676, allocations: 127.8 kB / 0.4973 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009317/0.1685, allocations: 0.8629 MB / 0.4981 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.1691, allocations: 44.05 kB / 0.4981 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.1692, allocations: 39.98 kB / 0.4982 GB, free: 6.078 MB / 382.1 MB 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 () * Number of clocked 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.0003425/0.1695, allocations: 249.5 kB / 0.4984 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.1696, allocations: 75.11 kB / 0.4985 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.1709, allocations: 0.715 MB / 0.4992 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.171, allocations: 8 kB / 0.4992 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.171, allocations: 0 / 0.4992 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.171, allocations: 0 / 0.4992 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.1732, allocations: 1.41 MB / 0.5006 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1732, allocations: 3.953 kB / 0.5006 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.1742, allocations: 195.8 kB / 0.5008 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.1745, allocations: 61.02 kB / 0.5008 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.1746, allocations: 11.98 kB / 0.5008 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/0.1769, allocations: 2.809 MB / 0.5036 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.1769, allocations: 0 / 0.5036 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2291/0.406, allocations: 1.074 MB / 0.5046 GB, free: 49.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.4065, allocations: 208.1 kB / 0.5048 GB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.4066, allocations: 13.72 kB / 0.5048 GB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.407, allocations: 26.91 kB / 0.5049 GB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4071, allocations: 43.94 kB / 0.5049 GB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.4072, allocations: 23.67 kB / 0.5049 GB, free: 49.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005119/0.4077, allocations: 392.4 kB / 0.5053 GB, free: 49.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4077, allocations: 0 / 0.5053 GB, free: 49.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008319/0.4085, allocations: 210.9 kB / 0.5055 GB, free: 49.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * 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.0004752/0.409, allocations: 221.5 kB / 0.5057 GB, free: 49.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.4104, allocations: 0.6005 MB / 0.5063 GB, free: 49.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4104, allocations: 1.562 kB / 0.5063 GB, free: 49.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.4117, allocations: 487.6 kB / 0.5068 GB, free: 48.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.4132, allocations: 320.5 kB / 0.5071 GB, free: 48.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.4156, allocations: 1.655 MB / 0.5087 GB, free: 48.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.4161, allocations: 0.9505 MB / 0.5096 GB, free: 47.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008239/0.4169, allocations: 209.4 kB / 0.5098 GB, free: 47.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.4171, allocations: 61.12 kB / 0.5099 GB, free: 47.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4171, allocations: 0 / 0.5099 GB, free: 47.5 MB / 382.1 MB Notification: Performance of Templates: time 0.02407/0.4412, allocations: 13.44 MB / 0.523 GB, free: 42.75 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches