Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.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 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 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 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.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",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.001231/0.001231, allocations: 108.8 kB / 16.41 MB, free: 6.488 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.001455/0.001456, allocations: 193.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 223.2 MB, free: 12.1 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 77 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.136, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003373/0.1394, allocations: 1.686 MB / 0.4891 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1409, allocations: 0.7682 MB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.141, allocations: 7.938 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1413, allocations: 35.75 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1416, allocations: 67.72 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1419, allocations: 55.75 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.1422, allocations: 159.3 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.1423, allocations: 17.39 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1424, allocations: 59.77 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1426, allocations: 79.66 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1426, allocations: 4 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.1428, allocations: 67.88 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.1429, allocations: 51.81 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.143, allocations: 63.61 kB / 0.4905 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.1434, allocations: 179.3 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1434, allocations: 8 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1434, allocations: 0 / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1434, allocations: 0 / 0.4906 GB, free: 8.969 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007286/0.1441, allocations: 458.8 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1442, allocations: 11.89 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.1442, allocations: 46.73 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.1449, allocations: 84.64 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1452, allocations: 224.1 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1453, allocations: 4.375 kB / 0.4914 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1453, allocations: 12.36 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.1459, allocations: 307.8 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1459, allocations: 7.938 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.1459, allocations: 4 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.146, allocations: 23.98 kB / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.1465, allocations: 291.7 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.148, allocations: 0.7195 MB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.1485, allocations: 278.2 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.1488, allocations: 100.8 kB / 0.4931 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.1488, allocations: 3.984 kB / 0.4931 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1489, allocations: 38.5 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1489, allocations: 4 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008078/0.1497, allocations: 349.1 kB / 0.4935 GB, free: 5.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.1497, allocations: 51.41 kB / 0.4935 GB, free: 5.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1499, allocations: 222.4 kB / 0.4937 GB, free: 5.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.15, allocations: 29.7 kB / 0.4938 GB, free: 5.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.1501, allocations: 112 kB / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1501, allocations: 43.3 kB / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.623e-05/0.1502, allocations: 53.67 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1503, allocations: 326.8 kB / 0.4943 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.1505, allocations: 99.88 kB / 0.4944 GB, free: 4.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.1508, allocations: 134.9 kB / 0.4945 GB, free: 4.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.1513, allocations: 239.2 kB / 0.4947 GB, free: 4.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1513, allocations: 3.938 kB / 0.4947 GB, free: 4.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005792/0.1518, allocations: 301.6 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1519, allocations: 12.09 kB / 0.495 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1519, allocations: 0 / 0.495 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1519, allocations: 0 / 0.495 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01896/0.1709, allocations: 0.9241 MB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02206/0.193, allocations: 10.73 MB / 0.5064 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.1934, allocations: 31.77 kB / 0.5065 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.1935, allocations: 12.14 kB / 0.5065 GB, free: 7.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.1937, allocations: 149.7 kB / 0.5066 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.1938, allocations: 15.81 kB / 0.5066 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006351/0.2001, allocations: 0.6219 MB / 0.5072 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2001, allocations: 0 / 0.5072 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2002, allocations: 4 kB / 0.5072 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2002, allocations: 7.984 kB / 0.5072 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.2006, allocations: 269.4 kB / 0.5075 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2006, allocations: 0 / 0.5075 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.2008, allocations: 39.91 kB / 0.5075 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00485/0.2057, allocations: 310.2 kB / 0.5078 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.2058, allocations: 11.92 kB / 0.5078 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.2227, allocations: 10.31 MB / 0.5179 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2228, allocations: 3.938 kB / 0.5179 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006265/0.2291, allocations: 0.6769 MB / 0.5186 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.2293, allocations: 92.92 kB / 0.5187 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.2293, allocations: 4 kB / 0.5187 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.2296, allocations: 11.98 kB / 0.5187 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.2298, allocations: 51.78 kB / 0.5187 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.2298, allocations: 7.984 kB / 0.5187 GB, free: 10.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.23, allocations: 171.1 kB / 0.5189 GB, free: 9.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.23, allocations: 0 / 0.5189 GB, free: 9.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006044/0.2306, allocations: 99.94 kB / 0.519 GB, free: 9.816 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006631/0.2373, allocations: 1.222 MB / 0.5202 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01931/0.2566, allocations: 1.123 MB / 0.5213 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.2567, allocations: 0 / 0.5213 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001866/0.2585, allocations: 0.5349 MB / 0.5218 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.259, allocations: 39.97 kB / 0.5218 GB, free: 6.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005437/0.2644, allocations: 2.797 MB / 0.5246 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.2648, allocations: 0.7441 MB / 0.5253 GB, free: 3.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.2649, allocations: 49.5 kB / 0.5254 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.955e-05/0.265, allocations: 47.42 kB / 0.5254 GB, free: 3.062 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.265, allocations: 0 / 0.5254 GB, free: 3.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2466/0.5117, allocations: 10.12 MB / 0.5353 GB, free: 40.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.9, allocations: 1.625 kB / 0.5353 GB, free: 40.01 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches