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.00119/0.00119, allocations: 105.3 kB / 16.41 MB, free: 6.473 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.001224/0.001224, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.508/1.508, 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.2103/0.2103, allocations: 43.53 MB / 314.1 MB, free: 464 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.001596/0.001596, allocations: 71.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1199, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003354/0.1233, allocations: 1.78 MB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.125, allocations: 0.8381 MB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1251, allocations: 4 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1254, allocations: 43.75 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.1258, allocations: 71.64 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1262, allocations: 67.75 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.1264, allocations: 151.3 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.1264, allocations: 24.84 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.1266, allocations: 67.69 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1268, allocations: 75.67 kB / 0.4905 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.1268, allocations: 4 kB / 0.4905 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.1271, allocations: 159.7 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.541e-05/0.1272, allocations: 31.89 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.1273, allocations: 59.61 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.1277, allocations: 195.4 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1277, allocations: 4 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1277, allocations: 0 / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1277, allocations: 4 kB / 0.4909 GB, free: 8.711 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.0008724/0.1286, allocations: 450.3 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.1287, allocations: 8.031 kB / 0.4913 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.881e-05/0.1287, allocations: 50.73 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1288, allocations: 16.75 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1292, allocations: 206.6 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1292, allocations: 16.36 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1292, allocations: 11.94 kB / 0.4916 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.1296, allocations: 169.4 kB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1296, allocations: 0 / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.1297, allocations: 7.984 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.1297, allocations: 23.92 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.1301, allocations: 159.9 kB / 0.492 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.1311, allocations: 492 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1315, allocations: 154.5 kB / 0.4926 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.1317, allocations: 56.81 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.1317, allocations: 0 / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1318, allocations: 38.5 kB / 0.4927 GB, free: 6.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1318, allocations: 0 / 0.4927 GB, free: 6.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005857/0.1324, allocations: 201.4 kB / 0.4929 GB, free: 6.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1324, allocations: 51.41 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1326, allocations: 203.4 kB / 0.4931 GB, free: 6.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1326, allocations: 29.69 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.1327, allocations: 112.1 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1328, allocations: 27.56 kB / 0.4933 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.1328, allocations: 33.61 kB / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.133, allocations: 326.8 kB / 0.4936 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1331, allocations: 51.95 kB / 0.4937 GB, free: 5.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.1333, allocations: 78.45 kB / 0.4937 GB, free: 5.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.1336, allocations: 130.4 kB / 0.4939 GB, free: 5.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1336, allocations: 384 / 0.4939 GB, free: 5.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003582/0.134, allocations: 169.3 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.134, allocations: 12.06 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.134, allocations: 0 / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.134, allocations: 0 / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.1343, allocations: 47.97 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008046/0.1351, allocations: 1.219 MB / 0.4953 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1352, allocations: 19.86 kB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.1353, allocations: 4 kB / 0.4953 GB, free: 3.91 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.000242/0.1355, allocations: 141.7 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.1356, allocations: 15.75 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/0.136, allocations: 182.9 kB / 0.4956 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1361, allocations: 4.094 kB / 0.4956 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1361, allocations: 4 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1361, allocations: 7.969 kB / 0.4956 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.1364, allocations: 229.5 kB / 0.4958 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1364, allocations: 0 / 0.4958 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.1366, allocations: 47.91 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1366, allocations: 0 / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1366, allocations: 0 / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006399/0.1373, allocations: 1.223 MB / 0.4971 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1373, allocations: 7.969 kB / 0.4971 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.1377, allocations: 243.5 kB / 0.4973 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.1378, allocations: 92.92 kB / 0.4974 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1378, allocations: 7.938 kB / 0.4974 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.1379, allocations: 7.984 kB / 0.4974 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.138, allocations: 15.92 kB / 0.4974 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.138, allocations: 0 / 0.4974 GB, free: 1.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1381, allocations: 149.2 kB / 0.4976 GB, free: 1.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1381, allocations: 3.938 kB / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1385, allocations: 44 kB / 0.4976 GB, free: 1.355 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.0008037/0.1393, allocations: 0.8139 MB / 0.4984 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005101/0.1398, allocations: 147.8 kB / 0.4986 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1398, allocations: 0 / 0.4986 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.1401, allocations: 83.88 kB / 0.4986 GB, free: 296 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1404, allocations: 28.11 kB / 0.4987 GB, free: 268 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.143, allocations: 2.137 MB / 0.5008 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1433, allocations: 0.7283 MB / 0.5015 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.1435, allocations: 33.05 kB / 0.5015 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.1435, allocations: 39.42 kB / 0.5015 GB, free: 13.21 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1435, allocations: 0 / 0.5015 GB, free: 13.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.1671, allocations: 4.702 MB / 0.5061 GB, free: 8.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.5, allocations: 16.48 kB / 0.5061 GB, free: 8.496 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