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.001581/0.001581, allocations: 106.4 kB / 16.41 MB, free: 6.02 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.001587/0.001587, allocations: 196.8 kB / 17.34 MB, free: 5.602 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.415/1.415, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2222/0.2222, allocations: 43.53 MB / 314.1 MB, free: 444 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.003229/0.003229, allocations: 67.91 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1328, 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.003578/0.1364, allocations: 1.784 MB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1379, allocations: 0.8343 MB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.138, allocations: 0 / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.1383, allocations: 47.69 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.1386, allocations: 63.7 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.139, allocations: 83.73 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.1393, allocations: 147.3 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.616e-05/0.1393, allocations: 20.84 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1395, allocations: 71.64 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1397, allocations: 75.66 kB / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1397, allocations: 8 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.14, allocations: 147.8 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.988e-05/0.1401, allocations: 39.89 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1402, allocations: 55.61 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.1406, allocations: 207.1 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1406, allocations: 0 / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1406, allocations: 0 / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1406, allocations: 0 / 0.4909 GB, free: 8.68 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.0007639/0.1414, allocations: 458.6 kB / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1414, allocations: 8.031 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.844e-05/0.1415, allocations: 42.73 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.1416, allocations: 16.84 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1418, allocations: 208.2 kB / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1418, allocations: 8.375 kB / 0.4916 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1418, allocations: 7.938 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.1422, allocations: 173.4 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1422, allocations: 4 kB / 0.4918 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1423, allocations: 8 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.1423, allocations: 12 kB / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.1427, allocations: 171.7 kB / 0.492 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.1436, allocations: 492.2 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.144, allocations: 158.4 kB / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.1442, allocations: 56.84 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1442, allocations: 4 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1443, allocations: 30.56 kB / 0.4927 GB, free: 6.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.1443, allocations: 0 / 0.4927 GB, free: 6.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005817/0.1448, allocations: 201.4 kB / 0.4929 GB, free: 6.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1449, allocations: 55.41 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1451, allocations: 199.5 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1451, allocations: 29.7 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.1452, allocations: 112 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1453, allocations: 31.73 kB / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.1453, allocations: 33.7 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1455, allocations: 330.8 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1456, allocations: 47.95 kB / 0.4937 GB, free: 5.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.1458, allocations: 78.39 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.1461, allocations: 134.4 kB / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1461, allocations: 0 / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003722/0.1465, allocations: 169.7 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1465, allocations: 4 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1465, allocations: 7.984 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1465, allocations: 0 / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.1468, allocations: 47.97 kB / 0.4941 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008548/0.1477, allocations: 1.223 MB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1478, allocations: 15.88 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1478, allocations: 4 kB / 0.4953 GB, free: 3.867 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.0002197/0.1481, allocations: 145.9 kB / 0.4954 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.1481, allocations: 19.84 kB / 0.4955 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.1486, allocations: 182.9 kB / 0.4956 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1486, allocations: 0 / 0.4956 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1486, allocations: 3.984 kB / 0.4956 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1486, allocations: 0 / 0.4956 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.1489, allocations: 225.6 kB / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1489, allocations: 0 / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.1491, allocations: 51.97 kB / 0.4959 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.1491, allocations: 4 kB / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1492, allocations: 0 / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008277/0.15, allocations: 1.219 MB / 0.4971 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.15, allocations: 4.062 kB / 0.4971 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.1504, allocations: 251.3 kB / 0.4973 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.1505, allocations: 96.95 kB / 0.4974 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.1506, allocations: 3.938 kB / 0.4974 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1507, allocations: 7.984 kB / 0.4974 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.1508, allocations: 15.98 kB / 0.4975 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1508, allocations: 4 kB / 0.4975 GB, free: 1.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1509, allocations: 149.2 kB / 0.4976 GB, free: 1.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.86e-06/0.1509, allocations: 0 / 0.4976 GB, free: 1.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.1513, allocations: 43.88 kB / 0.4977 GB, free: 1.312 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.0009898/0.1523, allocations: 0.8178 MB / 0.4985 GB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.1528, allocations: 147.9 kB / 0.4986 GB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1528, allocations: 0 / 0.4986 GB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.1531, allocations: 87.88 kB / 0.4987 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1534, allocations: 23.98 kB / 0.4987 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.1565, allocations: 2.133 MB / 0.5008 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1569, allocations: 0.7317 MB / 0.5015 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.157, allocations: 45.34 kB / 0.5015 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.1571, allocations: 35.42 kB / 0.5016 GB, free: 13.15 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1571, allocations: 4 kB / 0.5016 GB, free: 13.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.1868, allocations: 4.632 MB / 0.5061 GB, free: 8.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.58, allocations: 12.44 kB / 0.5061 GB, free: 8.52 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