Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001729/0.001734, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3388/0.3388, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006446/0.0006449, allocations: 15.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1259, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02694/0.1529, allocations: 14.22 MB / 0.4926 GB, free: 11.06 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.1631, allocations: 4.071 MB / 0.4966 GB, free: 6.984 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009987/0.1641, allocations: 23.75 kB / 0.4966 GB, free: 6.961 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.1657, allocations: 270.6 kB / 0.4969 GB, free: 6.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.169, allocations: 0.7001 MB / 0.4976 GB, free: 5.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003332/0.1724, allocations: 0.6899 MB / 0.4982 GB, free: 5.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.175, allocations: 1.02 MB / 0.4992 GB, free: 4.281 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.1761, allocations: 389.3 kB / 0.4996 GB, free: 3.895 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.1784, allocations: 0.6347 MB / 0.5002 GB, free: 3.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.1797, allocations: 418.5 kB / 0.5006 GB, free: 2.848 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.18, allocations: 32 kB / 0.5007 GB, free: 2.816 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.1813, allocations: 243.7 kB / 0.5009 GB, free: 2.578 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005006/0.1818, allocations: 207.4 kB / 0.5011 GB, free: 2.375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.1822, allocations: 169.3 kB / 0.5012 GB, free: 2.203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.184, allocations: 0.7562 MB / 0.502 GB, free: 1.445 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.184, allocations: 0 / 0.502 GB, free: 1.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.184, allocations: 0 / 0.502 GB, free: 1.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.1841, allocations: 0 / 0.502 GB, free: 1.445 MB / 346.7 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.003313/0.1874, allocations: 0.9231 MB / 0.5029 GB, free: 484 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1875, allocations: 12.02 kB / 0.5029 GB, free: 472 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006308/0.1881, allocations: 95.14 kB / 0.503 GB, free: 376 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.1897, allocations: 496.5 kB / 0.5035 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.1899, allocations: 96.41 kB / 0.5036 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.1901, allocations: 51.98 kB / 0.5036 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.1924, allocations: 0.8181 MB / 0.5044 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.1925, allocations: 7.984 kB / 0.5044 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.1927, allocations: 23.98 kB / 0.5044 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.1928, allocations: 40.98 kB / 0.5045 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.1949, allocations: 0.6399 MB / 0.5051 GB, free: 14.08 MB / 362.7 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.008869/0.2038, allocations: 4.252 MB / 0.5093 GB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.2054, allocations: 415.9 kB / 0.5096 GB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/0.2062, allocations: 0.4989 MB / 0.5101 GB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.2063, allocations: 38.89 kB / 0.5102 GB, free: 8.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 6.593e-06/0.2063, allocations: 0 / 0.5102 GB, free: 8.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.006004/0.2123, allocations: 1.519 MB / 0.5117 GB, free: 6.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.2125, allocations: 140.5 kB / 0.5118 GB, free: 6.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.2137, allocations: 0.5653 MB / 0.5123 GB, free: 6.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.2139, allocations: 37.7 kB / 0.5124 GB, free: 6.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.2143, allocations: 381.5 kB / 0.5127 GB, free: 5.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.2146, allocations: 169.7 kB / 0.5129 GB, free: 5.566 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.2147, allocations: 12 kB / 0.5129 GB, free: 5.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.2149, allocations: 350.7 kB / 0.5133 GB, free: 5.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007371/0.2156, allocations: 217.9 kB / 0.5135 GB, free: 4.992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009814/0.2166, allocations: 0.5123 MB / 0.514 GB, free: 4.344 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/0.2176, allocations: 316.6 kB / 0.5143 GB, free: 4.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.2177, allocations: 4 kB / 0.5143 GB, free: 4.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003522/0.2212, allocations: 0.9299 MB / 0.5152 GB, free: 3.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.2213, allocations: 11.98 kB / 0.5152 GB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.2213, allocations: 12 kB / 0.5152 GB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.2233, allocations: 260.8 kB / 0.5154 GB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009207/0.2242, allocations: 127.8 kB / 0.5156 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.226, allocations: 0.8678 MB / 0.5164 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.2271, allocations: 43.98 kB / 0.5165 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.2272, allocations: 44.05 kB / 0.5165 GB, free: 1.707 MB / 362.7 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.0006005/0.2278, allocations: 249.4 kB / 0.5167 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.2281, allocations: 67.19 kB / 0.5168 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.2305, allocations: 0.7135 MB / 0.5175 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.2306, allocations: 7.984 kB / 0.5175 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.2306, allocations: 3.953 kB / 0.5175 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.2306, allocations: 0 / 0.5175 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3128/0.5434, allocations: 1.408 MB / 0.5189 GB, free: 45.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.5435, allocations: 2.547 kB / 0.5189 GB, free: 45.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/0.5454, allocations: 199.2 kB / 0.5191 GB, free: 45.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/0.546, allocations: 58.88 kB / 0.5191 GB, free: 45.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/0.5461, allocations: 15.33 kB / 0.5191 GB, free: 45.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/0.5491, allocations: 2.802 MB / 0.5219 GB, free: 43.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.5492, allocations: 2 kB / 0.5219 GB, free: 43.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.5518, allocations: 1.078 MB / 0.5229 GB, free: 42.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.5523, allocations: 206.9 kB / 0.5231 GB, free: 42.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.5525, allocations: 17.72 kB / 0.5232 GB, free: 42.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/0.5533, allocations: 29.92 kB / 0.5232 GB, free: 42.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.5534, allocations: 42.34 kB / 0.5232 GB, free: 42.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/0.5535, allocations: 21.39 kB / 0.5232 GB, free: 42.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007606/0.5543, allocations: 391.8 kB / 0.5236 GB, free: 42.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5543, allocations: 0 / 0.5236 GB, free: 42.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001276/0.5556, allocations: 206 kB / 0.5238 GB, free: 42.29 MB / 362.7 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.0006861/0.5563, allocations: 227 kB / 0.524 GB, free: 42.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.5583, allocations: 0.6018 MB / 0.5246 GB, free: 41.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.5584, allocations: 1.375 kB / 0.5246 GB, free: 41.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.5603, allocations: 475.4 kB / 0.5251 GB, free: 41.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/0.5631, allocations: 318.5 kB / 0.5254 GB, free: 41.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.5668, allocations: 1.694 MB / 0.527 GB, free: 40.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.5675, allocations: 0.9474 MB / 0.528 GB, free: 40.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/0.5679, allocations: 61.86 kB / 0.528 GB, free: 40.08 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5679, allocations: 0 / 0.528 GB, free: 40.08 MB / 362.7 MB Notification: Performance of Templates: time 0.03388/0.6018, allocations: 14.87 MB / 0.5425 GB, free: 34.19 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches