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.0012/0.0012, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001046/0.001046, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.347/1.347, allocations: 222.9 MB / 243 MB, free: 15.14 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.2037/0.2037, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.75 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1142, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01921/0.1335, allocations: 20.24 MB / 491 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00583/0.1394, allocations: 4.278 MB / 495.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.1399, allocations: 23.88 kB / 495.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008916/0.1408, allocations: 314 kB / 495.6 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.1428, allocations: 0.8511 MB / 496.4 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.1453, allocations: 0.8974 MB / 497.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.1475, allocations: 1.801 MB / 499.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000702/0.1482, allocations: 461.2 kB / 499.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.1498, allocations: 0.9223 MB / 0.4888 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008628/0.1507, allocations: 0.6305 MB / 0.4894 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.646e-05/0.1508, allocations: 60 kB / 0.4894 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000734/0.1516, allocations: 307.6 kB / 0.4897 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.1518, allocations: 263.2 kB / 0.49 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004191/0.1523, allocations: 398.2 kB / 0.4904 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.1536, allocations: 1.079 MB / 0.4914 GB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1536, allocations: 0 / 0.4914 GB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1536, allocations: 0 / 0.4914 GB, free: 13.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1536, allocations: 0 / 0.4914 GB, free: 13.05 MB / 382.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.002187/0.1558, allocations: 1.052 MB / 0.4924 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1559, allocations: 8.031 kB / 0.4924 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.1563, allocations: 88.08 kB / 0.4925 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.1571, allocations: 0.5289 MB / 0.493 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.1572, allocations: 104.9 kB / 0.4931 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.1573, allocations: 52.31 kB / 0.4932 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1585, allocations: 0.8213 MB / 0.494 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.1585, allocations: 4 kB / 0.494 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.1586, allocations: 19.98 kB / 0.494 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-05/0.1586, allocations: 48.97 kB / 0.4941 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1597, allocations: 0.6438 MB / 0.4947 GB, free: 9.504 MB / 382.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.004495/0.1642, allocations: 4.209 MB / 0.4988 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.165, allocations: 419.9 kB / 0.4992 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.1654, allocations: 205.4 kB / 0.4994 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/0.1658, allocations: 0.5067 MB / 0.4999 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1659, allocations: 42.83 kB / 0.4999 GB, free: 3.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.525e-06/0.1659, allocations: 0 / 0.4999 GB, free: 3.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003084/0.169, allocations: 1.52 MB / 0.5014 GB, free: 2.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.1691, allocations: 136.5 kB / 0.5015 GB, free: 1.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006158/0.1697, allocations: 0.5692 MB / 0.5021 GB, free: 1.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.1697, allocations: 41.7 kB / 0.5021 GB, free: 1.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.17, allocations: 355 kB / 0.5025 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.1701, allocations: 161.7 kB / 0.5026 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.1703, allocations: 142.5 kB / 0.5028 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1704, allocations: 378.7 kB / 0.5031 GB, free: 320 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.1708, allocations: 221.9 kB / 0.5033 GB, free: 100 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.19/0.3608, allocations: 0.5129 MB / 0.5038 GB, free: 51.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3619, allocations: 0.777 MB / 0.5046 GB, free: 51.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.3619, allocations: 3.422 kB / 0.5046 GB, free: 51.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001928/0.3638, allocations: 0.9432 MB / 0.5055 GB, free: 50.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3639, allocations: 9.25 kB / 0.5055 GB, free: 50.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3639, allocations: 9.625 kB / 0.5055 GB, free: 50.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.3651, allocations: 264.2 kB / 0.5058 GB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.3655, allocations: 125 kB / 0.5059 GB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008565/0.3664, allocations: 0.8729 MB / 0.5068 GB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.367, allocations: 27.88 kB / 0.5068 GB, free: 50.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.367, allocations: 34.92 kB / 0.5068 GB, free: 50.27 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 (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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003268/0.3674, allocations: 245.1 kB / 0.5071 GB, free: 50.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3675, allocations: 64.12 kB / 0.5071 GB, free: 50.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.3688, allocations: 0.712 MB / 0.5078 GB, free: 49.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3688, allocations: 9.875 kB / 0.5078 GB, free: 49.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3688, allocations: 0 / 0.5078 GB, free: 49.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3689, allocations: 3.812 kB / 0.5078 GB, free: 49.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.371, allocations: 1.407 MB / 0.5092 GB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.371, allocations: 2.188 kB / 0.5092 GB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.372, allocations: 190.7 kB / 0.5094 GB, free: 49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002475/0.3723, allocations: 58.47 kB / 0.5094 GB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.3724, allocations: 16.23 kB / 0.5095 GB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.3742, allocations: 2.985 MB / 0.5124 GB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3742, allocations: 1.875 kB / 0.5124 GB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.3756, allocations: 1 MB / 0.5134 GB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.376, allocations: 198.9 kB / 0.5135 GB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-05/0.3761, allocations: 14 kB / 0.5136 GB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.3764, allocations: 19.05 kB / 0.5136 GB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/0.3765, allocations: 44.56 kB / 0.5136 GB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.3766, allocations: 22.23 kB / 0.5136 GB, free: 45.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005142/0.3771, allocations: 420.7 kB / 0.514 GB, free: 45.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3771, allocations: 0 / 0.514 GB, free: 45.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008077/0.3779, allocations: 206.7 kB / 0.5142 GB, free: 45.13 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004784/0.3784, allocations: 241.8 kB / 0.5145 GB, free: 45.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.3796, allocations: 0.6129 MB / 0.5151 GB, free: 44.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3796, allocations: 1.031 kB / 0.5151 GB, free: 44.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.3807, allocations: 482.7 kB / 0.5155 GB, free: 44.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.3822, allocations: 371.1 kB / 0.5159 GB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.3845, allocations: 1.392 MB / 0.5172 GB, free: 43.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.3849, allocations: 0.9456 MB / 0.5182 GB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006113/0.3855, allocations: 199.8 kB / 0.5184 GB, free: 43.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.3857, allocations: 57.61 kB / 0.5184 GB, free: 43.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3857, allocations: 0 / 0.5184 GB, free: 43.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02178/0.4075, allocations: 15.13 MB / 0.5332 GB, free: 33.98 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches