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.001267/0.001267, allocations: 110.3 kB / 17.98 MB, free: 5.238 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.001145/0.001145, allocations: 193.3 kB / 18.9 MB, free: 4.32 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.304/1.304, allocations: 222.9 MB / 242.6 MB, free: 15.39 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.2017/0.2017, allocations: 44.19 MB / 336.9 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 61.3 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1076, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02029/0.1279, allocations: 20.76 MB / 490.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006029/0.134, allocations: 4.367 MB / 494.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006392/0.1346, allocations: 31.75 kB / 494.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008137/0.1355, allocations: 274.5 kB / 494.8 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.1373, allocations: 0.8009 MB / 495.6 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.1395, allocations: 0.8225 MB / 496.4 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.1413, allocations: 1.801 MB / 498.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005617/0.1419, allocations: 469.2 kB / 498.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.1435, allocations: 0.9224 MB / 499.6 MB, free: 396 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008465/0.1443, allocations: 0.6617 MB / 0.4885 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.633e-05/0.1444, allocations: 60 kB / 0.4886 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006817/0.1451, allocations: 315.5 kB / 0.4889 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.1454, allocations: 259.3 kB / 0.4892 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.1457, allocations: 398.2 kB / 0.4895 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008538/0.1466, allocations: 0.803 MB / 0.4903 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1466, allocations: 0 / 0.4903 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1466, allocations: 0 / 0.4903 GB, free: 13.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1466, allocations: 0 / 0.4903 GB, free: 13.91 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.002089/0.1487, allocations: 1.052 MB / 0.4913 GB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1488, allocations: 16.03 kB / 0.4914 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.1491, allocations: 95.98 kB / 0.4915 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000693/0.1498, allocations: 0.4899 MB / 0.4919 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.783e-05/0.1499, allocations: 101 kB / 0.492 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.15, allocations: 56.27 kB / 0.4921 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.1512, allocations: 0.8291 MB / 0.4929 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.1513, allocations: 3.938 kB / 0.4929 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.1513, allocations: 27.98 kB / 0.4929 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/0.1514, allocations: 40.97 kB / 0.493 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009866/0.1524, allocations: 0.6477 MB / 0.4936 GB, free: 10.38 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.004529/0.1569, allocations: 4.209 MB / 0.4977 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/0.1578, allocations: 423.5 kB / 0.4981 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.1581, allocations: 205.4 kB / 0.4983 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004598/0.1586, allocations: 0.4951 MB / 0.4988 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1586, allocations: 47.16 kB / 0.4988 GB, free: 4.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/0.1587, allocations: 0 / 0.4988 GB, free: 4.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003468/0.1621, allocations: 1.527 MB / 0.5003 GB, free: 3.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.1623, allocations: 136.5 kB / 0.5005 GB, free: 2.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007661/0.163, allocations: 0.5655 MB / 0.501 GB, free: 2.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.1631, allocations: 29.7 kB / 0.501 GB, free: 2.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.1634, allocations: 359 kB / 0.5014 GB, free: 1.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.1636, allocations: 169.6 kB / 0.5015 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.1638, allocations: 142.5 kB / 0.5017 GB, free: 1.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1639, allocations: 374.7 kB / 0.502 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.1643, allocations: 225.9 kB / 0.5022 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.1649, allocations: 0.5201 MB / 0.5028 GB, free: 324 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2235/0.3884, allocations: 0.7726 MB / 0.5035 GB, free: 50.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.3884, allocations: 3.281 kB / 0.5035 GB, free: 50.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002129/0.3906, allocations: 0.9384 MB / 0.5044 GB, free: 50.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.3906, allocations: 13.3 kB / 0.5044 GB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.3906, allocations: 13.81 kB / 0.5045 GB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.3918, allocations: 262.3 kB / 0.5047 GB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.3923, allocations: 128.4 kB / 0.5048 GB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009121/0.3932, allocations: 0.8622 MB / 0.5057 GB, free: 50.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.3938, allocations: 47.02 kB / 0.5057 GB, free: 50.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/0.3939, allocations: 33.58 kB / 0.5057 GB, free: 50.32 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.0003453/0.3943, allocations: 256.2 kB / 0.506 GB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3944, allocations: 67.22 kB / 0.5061 GB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.3957, allocations: 0.7062 MB / 0.5067 GB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.3958, allocations: 9.438 kB / 0.5068 GB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3958, allocations: 1 kB / 0.5068 GB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3958, allocations: 2.906 kB / 0.5068 GB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.398, allocations: 1.404 MB / 0.5081 GB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.398, allocations: 2.812 kB / 0.5081 GB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009676/0.399, allocations: 193.7 kB / 0.5083 GB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000254/0.3992, allocations: 61.67 kB / 0.5084 GB, free: 49.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.3993, allocations: 14.31 kB / 0.5084 GB, free: 49.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.4012, allocations: 2.98 MB / 0.5113 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4012, allocations: 3.281 kB / 0.5113 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.4027, allocations: 0.997 MB / 0.5123 GB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.4031, allocations: 199.5 kB / 0.5125 GB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.4032, allocations: 14.36 kB / 0.5125 GB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.4036, allocations: 31.22 kB / 0.5125 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.4037, allocations: 46.75 kB / 0.5126 GB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.4038, allocations: 21.25 kB / 0.5126 GB, free: 45.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005912/0.4044, allocations: 420 kB / 0.513 GB, free: 45.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4044, allocations: 0 / 0.513 GB, free: 45.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009031/0.4053, allocations: 210.3 kB / 0.5132 GB, free: 45.27 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.0005478/0.4058, allocations: 242.5 kB / 0.5134 GB, free: 45.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.4073, allocations: 0.6681 MB / 0.5141 GB, free: 44.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4073, allocations: 1.641 kB / 0.5141 GB, free: 44.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.4084, allocations: 472.6 kB / 0.5145 GB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.4101, allocations: 370.6 kB / 0.5149 GB, free: 44.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.4125, allocations: 1.674 MB / 0.5165 GB, free: 43.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.4131, allocations: 0.9383 MB / 0.5174 GB, free: 42.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.4134, allocations: 66.83 kB / 0.5175 GB, free: 42.93 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4134, allocations: 0 / 0.5175 GB, free: 42.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02152/0.4349, allocations: 15.54 MB / 0.5327 GB, free: 33.91 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/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