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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002067/0.002066, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001871/0.001871, allocations: 192 kB / 18.55 MB, free: 4.566 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.358/1.358, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2185/0.2185, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 59.41 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1216, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02071/0.1423, allocations: 20.25 MB / 489.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006228/0.1486, allocations: 4.286 MB / 493.9 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/0.1493, allocations: 15.88 kB / 493.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009388/0.1503, allocations: 313.9 kB / 494.2 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.1523, allocations: 0.855 MB / 495.1 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.1547, allocations: 0.8996 MB / 496 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.1568, allocations: 1.79 MB / 497.8 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007497/0.1575, allocations: 461.3 kB / 498.2 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.1595, allocations: 0.9223 MB / 499.1 MB, free: 392 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.1607, allocations: 0.6383 MB / 499.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.1609, allocations: 60 kB / 499.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008918/0.1618, allocations: 303.6 kB / 0.4884 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003506/0.1622, allocations: 271.2 kB / 0.4887 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.1629, allocations: 394.2 kB / 0.489 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.1644, allocations: 1.067 MB / 0.4901 GB, free: 13.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1644, allocations: 0 / 0.4901 GB, free: 13.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1644, allocations: 0 / 0.4901 GB, free: 13.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.1645, allocations: 0 / 0.4901 GB, free: 13.66 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.002485/0.167, allocations: 1.056 MB / 0.4911 GB, free: 12.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.167, allocations: 12.03 kB / 0.4911 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.1672, allocations: 94.7 kB / 0.4912 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003464/0.1676, allocations: 88.08 kB / 0.4913 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.1684, allocations: 0.5092 MB / 0.4918 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1686, allocations: 101 kB / 0.4919 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-05/0.1687, allocations: 56.11 kB / 0.4919 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.1701, allocations: 0.8213 MB / 0.4928 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.1701, allocations: 7.938 kB / 0.4928 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.359e-05/0.1702, allocations: 20 kB / 0.4928 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.1703, allocations: 36.98 kB / 0.4928 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.1715, allocations: 0.64 MB / 0.4934 GB, free: 10.04 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.006105/0.1776, allocations: 4.233 MB / 0.4976 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009567/0.1786, allocations: 414.8 kB / 0.498 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.179, allocations: 209.4 kB / 0.4982 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005258/0.1795, allocations: 0.4951 MB / 0.4987 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.1796, allocations: 39.22 kB / 0.4987 GB, free: 4.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.777e-06/0.1796, allocations: 0 / 0.4987 GB, free: 4.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003579/0.1832, allocations: 1.532 MB / 0.5002 GB, free: 2.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.1833, allocations: 136.5 kB / 0.5003 GB, free: 2.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000756/0.184, allocations: 0.5693 MB / 0.5009 GB, free: 1.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/0.1841, allocations: 37.7 kB / 0.5009 GB, free: 1.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.1844, allocations: 354.9 kB / 0.5012 GB, free: 1.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.1845, allocations: 157.7 kB / 0.5014 GB, free: 1.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.1848, allocations: 142.5 kB / 0.5015 GB, free: 1.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1849, allocations: 378.7 kB / 0.5019 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.1853, allocations: 225.9 kB / 0.5021 GB, free: 0.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.191/0.3763, allocations: 0.5169 MB / 0.5026 GB, free: 51.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.3775, allocations: 0.7806 MB / 0.5034 GB, free: 50.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-06/0.3776, allocations: 3.969 kB / 0.5034 GB, free: 50.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002057/0.3796, allocations: 0.9378 MB / 0.5043 GB, free: 50.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3797, allocations: 9.578 kB / 0.5043 GB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.3797, allocations: 9.094 kB / 0.5043 GB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.3809, allocations: 265.9 kB / 0.5046 GB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.3813, allocations: 132.8 kB / 0.5047 GB, free: 50.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008305/0.3822, allocations: 0.8615 MB / 0.5055 GB, free: 50.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.3827, allocations: 28.41 kB / 0.5056 GB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.3827, allocations: 37.17 kB / 0.5056 GB, free: 50.3 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.0002876/0.383, allocations: 246.7 kB / 0.5058 GB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.3832, allocations: 69.16 kB / 0.5059 GB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.3845, allocations: 0.7134 MB / 0.5066 GB, free: 49.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.3845, allocations: 5.219 kB / 0.5066 GB, free: 49.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3845, allocations: 2.25 kB / 0.5066 GB, free: 49.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.3845, allocations: 3.047 kB / 0.5066 GB, free: 49.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.3865, allocations: 1.408 MB / 0.508 GB, free: 49.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3865, allocations: 1.062 kB / 0.508 GB, free: 49.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009508/0.3875, allocations: 193.3 kB / 0.5082 GB, free: 49.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002336/0.3877, allocations: 56.98 kB / 0.5082 GB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.3877, allocations: 14.91 kB / 0.5082 GB, free: 49.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.3894, allocations: 2.986 MB / 0.5111 GB, free: 46.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3894, allocations: 3.234 kB / 0.5112 GB, free: 46.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.3908, allocations: 0.998 MB / 0.5121 GB, free: 45.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.391, allocations: 199.6 kB / 0.5123 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-05/0.3911, allocations: 16.59 kB / 0.5123 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.3915, allocations: 13.17 kB / 0.5123 GB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.3916, allocations: 49.08 kB / 0.5124 GB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.3917, allocations: 20 kB / 0.5124 GB, free: 45.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004506/0.3921, allocations: 420.5 kB / 0.5128 GB, free: 45.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3921, allocations: 0.7188 kB / 0.5128 GB, free: 45.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000765/0.3929, allocations: 209.8 kB / 0.513 GB, free: 45.16 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.001914/0.3948, allocations: 1.664 MB / 0.5146 GB, free: 44.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.3961, allocations: 0.6737 MB / 0.5153 GB, free: 43.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3961, allocations: 0 / 0.5153 GB, free: 43.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.3972, allocations: 493.5 kB / 0.5158 GB, free: 43.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.399, allocations: 374.9 kB / 0.5161 GB, free: 43.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008451/0.4074, allocations: 6.749 MB / 0.5227 GB, free: 39.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.4079, allocations: 0.9454 MB / 0.5236 GB, free: 38.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008208/0.4087, allocations: 209.2 kB / 0.5238 GB, free: 38.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.409, allocations: 232.5 kB / 0.5241 GB, free: 38.54 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.409, allocations: 0 / 0.5241 GB, free: 38.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.4515, allocations: 21.87 MB / 0.5454 GB, free: 20.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.63, allocations: 8.359 kB / 0.5454 GB, free: 20.32 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > 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