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.001129/0.001129, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001173/0.001173, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.316/1.316, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2013/0.2013, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 56.59 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1143, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02144/0.1358, allocations: 20.25 MB / 490.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006232/0.142, allocations: 4.278 MB / 494.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008423/0.1429, allocations: 23.88 kB / 494.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.144, allocations: 317.9 kB / 494.8 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.1462, allocations: 0.8511 MB / 495.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.1487, allocations: 0.8913 MB / 496.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.151, allocations: 1.798 MB / 498.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007856/0.1518, allocations: 465.2 kB / 498.8 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.1538, allocations: 0.9184 MB / 499.7 MB, free: 500 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.1548, allocations: 0.6344 MB / 0.4886 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.1549, allocations: 60 kB / 0.4887 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008848/0.1558, allocations: 303.6 kB / 0.489 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.1562, allocations: 267.2 kB / 0.4892 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.1566, allocations: 394.2 kB / 0.4896 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.158, allocations: 1.071 MB / 0.4906 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1581, allocations: 4 kB / 0.4906 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1581, allocations: 0 / 0.4906 GB, free: 13.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.1581, allocations: 0 / 0.4906 GB, free: 13.77 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.002213/0.1603, allocations: 1.052 MB / 0.4917 GB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1604, allocations: 8.031 kB / 0.4917 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.1607, allocations: 88.08 kB / 0.4918 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.1615, allocations: 0.5015 MB / 0.4922 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.1616, allocations: 108.9 kB / 0.4924 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-05/0.1617, allocations: 44.38 kB / 0.4924 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.1629, allocations: 0.8252 MB / 0.4932 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.163, allocations: 11.88 kB / 0.4932 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.163, allocations: 24 kB / 0.4932 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.757e-05/0.1631, allocations: 36.98 kB / 0.4933 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.1642, allocations: 0.6439 MB / 0.4939 GB, free: 10.25 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.004908/0.1691, allocations: 4.225 MB / 0.498 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.17, allocations: 416 kB / 0.4984 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.1704, allocations: 209.4 kB / 0.4986 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004779/0.1709, allocations: 0.4989 MB / 0.4991 GB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1709, allocations: 43.22 kB / 0.4991 GB, free: 4.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.494e-06/0.1709, allocations: 0 / 0.4991 GB, free: 4.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003363/0.1743, allocations: 1.527 MB / 0.5006 GB, free: 2.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.1744, allocations: 132.5 kB / 0.5008 GB, free: 2.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/0.1751, allocations: 0.5654 MB / 0.5013 GB, free: 2.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.1752, allocations: 37.7 kB / 0.5014 GB, free: 2.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.1754, allocations: 355 kB / 0.5017 GB, free: 1.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.1756, allocations: 165.7 kB / 0.5018 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.1758, allocations: 142.5 kB / 0.502 GB, free: 1.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.176, allocations: 374.7 kB / 0.5023 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.1764, allocations: 221.9 kB / 0.5026 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.177, allocations: 0.5279 MB / 0.5031 GB, free: 184 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1943/0.3713, allocations: 0.7693 MB / 0.5038 GB, free: 50.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.3713, allocations: 2.969 kB / 0.5038 GB, free: 50.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002015/0.3734, allocations: 0.9401 MB / 0.5047 GB, free: 50.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3734, allocations: 10.03 kB / 0.5048 GB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.3734, allocations: 9 kB / 0.5048 GB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.3746, allocations: 268.1 kB / 0.505 GB, free: 50.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.3751, allocations: 127.7 kB / 0.5051 GB, free: 50.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009007/0.376, allocations: 0.8632 MB / 0.506 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.3765, allocations: 31.03 kB / 0.506 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.3766, allocations: 37.56 kB / 0.506 GB, free: 50.23 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.0003395/0.377, allocations: 244.8 kB / 0.5063 GB, free: 50.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.3771, allocations: 64.94 kB / 0.5063 GB, free: 50.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.3784, allocations: 0.7159 MB / 0.507 GB, free: 49.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.3785, allocations: 6.016 kB / 0.507 GB, free: 49.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3785, allocations: 3.938 kB / 0.5071 GB, free: 49.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3785, allocations: 3.625 kB / 0.5071 GB, free: 49.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.3806, allocations: 1.406 MB / 0.5084 GB, free: 49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3807, allocations: 3.969 kB / 0.5084 GB, free: 49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.3817, allocations: 192.7 kB / 0.5086 GB, free: 49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/0.382, allocations: 62.94 kB / 0.5087 GB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.382, allocations: 14.67 kB / 0.5087 GB, free: 48.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.3839, allocations: 2.978 MB / 0.5116 GB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3839, allocations: 6.156 kB / 0.5116 GB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.3856, allocations: 0.9998 MB / 0.5126 GB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.3859, allocations: 200.5 kB / 0.5128 GB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/0.3861, allocations: 10.3 kB / 0.5128 GB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.3864, allocations: 20.03 kB / 0.5128 GB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3866, allocations: 40.61 kB / 0.5128 GB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.3866, allocations: 20.92 kB / 0.5129 GB, free: 45.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005577/0.3872, allocations: 423.5 kB / 0.5133 GB, free: 45.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3872, allocations: 1.219 kB / 0.5133 GB, free: 45.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008666/0.3881, allocations: 210.8 kB / 0.5135 GB, free: 45.12 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.000472/0.3885, allocations: 235.9 kB / 0.5137 GB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.3899, allocations: 0.6629 MB / 0.5143 GB, free: 44.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.39, allocations: 1.125 kB / 0.5143 GB, free: 44.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.3911, allocations: 476.2 kB / 0.5148 GB, free: 44.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.3929, allocations: 373.7 kB / 0.5151 GB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3954, allocations: 1.469 MB / 0.5166 GB, free: 43.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.3959, allocations: 0.9336 MB / 0.5175 GB, free: 43.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.3961, allocations: 66.83 kB / 0.5176 GB, free: 43 MB / 382.1 MB Notification: Performance of SimCode: time 1.753e-06/0.3961, allocations: 0 / 0.5176 GB, free: 43 MB / 382.1 MB Notification: Performance of Templates: time 0.02079/0.4169, allocations: 15.53 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