Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001194/0.001194, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.0009313/0.0009312, allocations: 107.9 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3192/0.3192, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 55.92 kB / 429.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1076, allocations: 57.76 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02123/0.1289, allocations: 21 MB / 0.4961 GB, free: 7.445 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00599/0.1349, allocations: 4.447 MB / 0.5005 GB, free: 2.984 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007786/0.1357, allocations: 27.75 kB / 0.5005 GB, free: 2.957 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008738/0.1366, allocations: 270.5 kB / 0.5007 GB, free: 2.691 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.1383, allocations: 0.8087 MB / 0.5015 GB, free: 1.879 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.1404, allocations: 0.7912 MB / 0.5023 GB, free: 1.086 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1761/0.3165, allocations: 2.668 MB / 0.5049 GB, free: 37.98 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008453/0.3174, allocations: 394.5 kB / 0.5053 GB, free: 37.97 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.3194, allocations: 0.8269 MB / 0.5061 GB, free: 37.97 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.3205, allocations: 0.6556 MB / 0.5067 GB, free: 37.94 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.3206, allocations: 33.12 kB / 0.5068 GB, free: 37.94 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000777/0.3214, allocations: 272.4 kB / 0.507 GB, free: 37.94 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.3217, allocations: 240.5 kB / 0.5072 GB, free: 37.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.3221, allocations: 365.6 kB / 0.5076 GB, free: 37.81 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.3233, allocations: 1.05 MB / 0.5086 GB, free: 37.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3233, allocations: 1.375 kB / 0.5086 GB, free: 37.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.3233, allocations: 0 / 0.5086 GB, free: 37.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3233, allocations: 0 / 0.5086 GB, free: 37.7 MB / 394.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.002027/0.3254, allocations: 1.054 MB / 0.5097 GB, free: 37.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3254, allocations: 8.969 kB / 0.5097 GB, free: 37.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.3257, allocations: 88.17 kB / 0.5097 GB, free: 37.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.3265, allocations: 0.5019 MB / 0.5102 GB, free: 36.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/0.3265, allocations: 110.4 kB / 0.5103 GB, free: 36.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.3266, allocations: 48.81 kB / 0.5104 GB, free: 36.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009932/0.3276, allocations: 0.8214 MB / 0.5112 GB, free: 36.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.3277, allocations: 3.188 kB / 0.5112 GB, free: 36.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.3277, allocations: 31.53 kB / 0.5112 GB, free: 36.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/0.3278, allocations: 41.92 kB / 0.5113 GB, free: 36.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008867/0.3287, allocations: 0.6398 MB / 0.5119 GB, free: 36.55 MB / 394.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.003656/0.3323, allocations: 4.223 MB / 0.516 GB, free: 33.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007593/0.3331, allocations: 408.6 kB / 0.5164 GB, free: 33.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.3334, allocations: 214.3 kB / 0.5166 GB, free: 33.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/0.3337, allocations: 0.4941 MB / 0.5171 GB, free: 33.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3338, allocations: 37.58 kB / 0.5171 GB, free: 33.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.3338, allocations: 0 / 0.5171 GB, free: 33.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.00281/0.3366, allocations: 1.527 MB / 0.5186 GB, free: 32.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3366, allocations: 136.1 kB / 0.5187 GB, free: 32.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.3372, allocations: 0.5698 MB / 0.5193 GB, free: 32.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.3372, allocations: 40.86 kB / 0.5193 GB, free: 32.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.3374, allocations: 354.7 kB / 0.5197 GB, free: 32.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.3375, allocations: 164.2 kB / 0.5198 GB, free: 32.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3377, allocations: 138.9 kB / 0.52 GB, free: 32.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.3377, allocations: 379.6 kB / 0.5203 GB, free: 31.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.3381, allocations: 229.4 kB / 0.5205 GB, free: 31.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.3385, allocations: 0.5193 MB / 0.5211 GB, free: 31.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/0.3392, allocations: 0.7787 MB / 0.5218 GB, free: 31.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3392, allocations: 3.281 kB / 0.5218 GB, free: 31.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001415/0.3406, allocations: 0.936 MB / 0.5227 GB, free: 30.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3407, allocations: 12.52 kB / 0.5227 GB, free: 30.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3407, allocations: 8.156 kB / 0.5228 GB, free: 30.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009404/0.3416, allocations: 269.6 kB / 0.523 GB, free: 30.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.342, allocations: 125 kB / 0.5231 GB, free: 30.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000678/0.3427, allocations: 0.861 MB / 0.524 GB, free: 30.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.3432, allocations: 51.59 kB / 0.524 GB, free: 30.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.3432, allocations: 37.86 kB / 0.5241 GB, free: 30.39 MB / 394.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 (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.0002344/0.3435, allocations: 245.5 kB / 0.5243 GB, free: 30.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.54e-05/0.3436, allocations: 63.66 kB / 0.5244 GB, free: 30.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.3447, allocations: 0.7142 MB / 0.525 GB, free: 30.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.3447, allocations: 5.812 kB / 0.5251 GB, free: 30.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3447, allocations: 3.281 kB / 0.5251 GB, free: 30.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3447, allocations: 3.328 kB / 0.5251 GB, free: 30.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.3464, allocations: 1.402 MB / 0.5264 GB, free: 29.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3464, allocations: 3.25 kB / 0.5264 GB, free: 29.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.3473, allocations: 194.2 kB / 0.5266 GB, free: 29.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.3475, allocations: 57.61 kB / 0.5267 GB, free: 29.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.3475, allocations: 18.34 kB / 0.5267 GB, free: 29.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.349, allocations: 2.779 MB / 0.5294 GB, free: 26.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.349, allocations: 9.969 kB / 0.5294 GB, free: 26.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007004/0.356, allocations: 5.809 MB / 0.5351 GB, free: 22.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.3562, allocations: 190.7 kB / 0.5353 GB, free: 22.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.912e-05/0.3563, allocations: 18.25 kB / 0.5353 GB, free: 22.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.3567, allocations: 27.84 kB / 0.5353 GB, free: 22.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.3568, allocations: 38.94 kB / 0.5353 GB, free: 22.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.3569, allocations: 23.11 kB / 0.5354 GB, free: 22.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003743/0.3573, allocations: 425.2 kB / 0.5358 GB, free: 22.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3573, allocations: 2.438 kB / 0.5358 GB, free: 22.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009699/0.3582, allocations: 304.1 kB / 0.5361 GB, free: 22.21 MB / 394.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 (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.0004041/0.3587, allocations: 231.8 kB / 0.5363 GB, free: 22.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009534/0.3596, allocations: 0.6017 MB / 0.5369 GB, free: 21.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3596, allocations: 0 / 0.5369 GB, free: 21.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009896/0.3606, allocations: 489.9 kB / 0.5373 GB, free: 21.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.3622, allocations: 355.1 kB / 0.5377 GB, free: 21.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.3645, allocations: 2.102 MB / 0.5397 GB, free: 20.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3648, allocations: 0.9548 MB / 0.5407 GB, free: 19.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007042/0.3655, allocations: 223.3 kB / 0.5409 GB, free: 19.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.3657, allocations: 65.75 kB / 0.5409 GB, free: 19.5 MB / 394.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3657, allocations: 0 / 0.5409 GB, free: 19.5 MB / 394.7 MB Notification: Performance of Templates: time 0.02375/0.3895, allocations: 16.03 MB / 0.5566 GB, free: 16.77 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches