Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.001131/0.001131, allocations: 103.7 kB / 16.4 MB, free: 6.496 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.001693/0.001693, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.3/1.3, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1991/0.1991, 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.001594/0.001594, allocations: 71.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.121, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003264/0.1243, allocations: 1.776 MB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1257, allocations: 0.8381 MB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.803e-05/0.1258, allocations: 0 / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1261, allocations: 47.73 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1265, allocations: 67.66 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1268, allocations: 79.73 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.127, allocations: 143.3 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.1271, allocations: 20.84 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1272, allocations: 67.69 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1274, allocations: 75.67 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1274, allocations: 4 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.1277, allocations: 163.7 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.1277, allocations: 35.89 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.716e-05/0.1278, allocations: 55.67 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.1282, allocations: 199.3 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1282, allocations: 0 / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1282, allocations: 0 / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1282, allocations: 0 / 0.4909 GB, free: 8.699 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006942/0.1289, allocations: 450.3 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1289, allocations: 15.97 kB / 0.4913 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.129, allocations: 46.73 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.129, allocations: 20.75 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1293, allocations: 200 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1293, allocations: 8.375 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1293, allocations: 19.86 kB / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.1297, allocations: 165.4 kB / 0.4918 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1297, allocations: 0 / 0.4918 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1297, allocations: 8 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.1297, allocations: 19.98 kB / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.1301, allocations: 163.9 kB / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007572/0.1308, allocations: 488 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.1312, allocations: 162.4 kB / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1314, allocations: 56.81 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1314, allocations: 4.062 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1315, allocations: 38.56 kB / 0.4927 GB, free: 6.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1315, allocations: 0 / 0.4927 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005182/0.132, allocations: 197.4 kB / 0.4929 GB, free: 6.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.132, allocations: 55.34 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1322, allocations: 207.3 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1323, allocations: 25.7 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.1323, allocations: 108.1 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.1324, allocations: 27.56 kB / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.1324, allocations: 33.61 kB / 0.4933 GB, free: 6.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1325, allocations: 330.8 kB / 0.4936 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1327, allocations: 51.95 kB / 0.4937 GB, free: 5.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1328, allocations: 78.45 kB / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.1331, allocations: 130.4 kB / 0.4939 GB, free: 5.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1331, allocations: 4 kB / 0.4939 GB, free: 5.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003376/0.1335, allocations: 161.8 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1335, allocations: 6.656 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1335, allocations: 4.031 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/0.1335, allocations: 7.938 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.1338, allocations: 43.97 kB / 0.4941 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006384/0.1344, allocations: 1.223 MB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1346, allocations: 19.88 kB / 0.4953 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1346, allocations: 4 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.1348, allocations: 137.9 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1348, allocations: 23.73 kB / 0.4954 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.1352, allocations: 182.8 kB / 0.4956 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1352, allocations: 4 kB / 0.4956 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1352, allocations: 0 / 0.4956 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1352, allocations: 3.984 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.1355, allocations: 221.5 kB / 0.4958 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1355, allocations: 0 / 0.4958 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.1357, allocations: 47.97 kB / 0.4959 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1357, allocations: 3.938 kB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1357, allocations: 4 kB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005965/0.1363, allocations: 1.215 MB / 0.4971 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1364, allocations: 8.188 kB / 0.4971 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.1367, allocations: 251.2 kB / 0.4973 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1368, allocations: 88.92 kB / 0.4974 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1368, allocations: 3.938 kB / 0.4974 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.1369, allocations: 11.98 kB / 0.4974 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.137, allocations: 7.984 kB / 0.4974 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.137, allocations: 8 kB / 0.4974 GB, free: 1.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1371, allocations: 149.1 kB / 0.4976 GB, free: 1.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.1371, allocations: 0 / 0.4976 GB, free: 1.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.1374, allocations: 47.94 kB / 0.4976 GB, free: 1.344 MB / 382.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007283/0.1382, allocations: 0.8139 MB / 0.4984 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.1387, allocations: 151.9 kB / 0.4986 GB, free: 364 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1387, allocations: 0 / 0.4986 GB, free: 364 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.1389, allocations: 83.88 kB / 0.4987 GB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1392, allocations: 23.98 kB / 0.4987 GB, free: 256 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.1417, allocations: 2.141 MB / 0.5008 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.142, allocations: 0.724 MB / 0.5015 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.76e-05/0.1421, allocations: 41.03 kB / 0.5015 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.1422, allocations: 35.42 kB / 0.5015 GB, free: 13.19 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1422, allocations: 0 / 0.5015 GB, free: 13.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.1655, allocations: 4.702 MB / 0.5061 GB, free: 8.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.08, allocations: 20.69 kB / 0.5062 GB, free: 8.48 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches