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_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.001086/0.001086, allocations: 111.4 kB / 16.41 MB, free: 6.445 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.001141/0.001141, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.279/1.279, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1999/0.1999, allocations: 43.52 MB / 314.1 MB, free: 480 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.001585/0.001585, allocations: 71.91 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1154, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003613/0.1191, allocations: 1.949 MB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1209, allocations: 1.177 MB / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.486e-05/0.121, allocations: 0 / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.1212, allocations: 71.58 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1215, allocations: 111.4 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.1219, allocations: 159.4 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005157/0.1225, allocations: 477.5 kB / 0.4913 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.542e-05/0.1225, allocations: 57 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1227, allocations: 167.1 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1229, allocations: 195 kB / 0.4917 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.123, allocations: 12 kB / 0.4917 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.1234, allocations: 279.5 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1235, allocations: 95.53 kB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.1237, allocations: 182.8 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.1243, allocations: 0.56 MB / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1243, allocations: 0 / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.1244, allocations: 0 / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1244, allocations: 3.938 kB / 0.4928 GB, free: 6.785 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0009801/0.1254, allocations: 0.7361 MB / 0.4935 GB, free: 6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1254, allocations: 12.03 kB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.777e-05/0.1255, allocations: 102.6 kB / 0.4936 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.482e-05/0.1256, allocations: 52.61 kB / 0.4936 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.126, allocations: 310.2 kB / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.126, allocations: 37.69 kB / 0.494 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/0.1261, allocations: 51.94 kB / 0.494 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.1269, allocations: 0.631 MB / 0.4946 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.127, allocations: 3.938 kB / 0.4946 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.127, allocations: 16 kB / 0.4946 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/0.1271, allocations: 37.3 kB / 0.4947 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007865/0.1279, allocations: 0.5085 MB / 0.4952 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.1301, allocations: 1.419 MB / 0.4966 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.1309, allocations: 442 kB / 0.497 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.1311, allocations: 144.8 kB / 0.4971 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/0.1312, allocations: 11.92 kB / 0.4971 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1312, allocations: 34.56 kB / 0.4972 GB, free: 2.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.1312, allocations: 0 / 0.4972 GB, free: 2.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008551/0.1321, allocations: 0.497 MB / 0.4977 GB, free: 1.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1321, allocations: 55.41 kB / 0.4977 GB, free: 1.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.1327, allocations: 0.5486 MB / 0.4982 GB, free: 0.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1327, allocations: 33.7 kB / 0.4983 GB, free: 0.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1329, allocations: 224.3 kB / 0.4985 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/0.1329, allocations: 91.27 kB / 0.4986 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.1331, allocations: 90.02 kB / 0.4987 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1332, allocations: 358.7 kB / 0.499 GB, free: 148 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.1335, allocations: 156.2 kB / 0.4992 GB, free: 15.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.1338, allocations: 260.6 kB / 0.4994 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.1374, allocations: 1.057 MB / 0.5004 GB, free: 14.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.1374, allocations: 4 kB / 0.5004 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007592/0.1382, allocations: 0.501 MB / 0.5009 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1382, allocations: 4 kB / 0.5009 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.46e-05/0.1383, allocations: 43.98 kB / 0.501 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.1383, allocations: 4 kB / 0.501 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1385, allocations: 39.92 kB / 0.501 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1385, allocations: 7.938 kB / 0.501 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.1387, allocations: 63.44 kB / 0.5011 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.1388, allocations: 24 kB / 0.5011 GB, free: 13.9 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.1391, allocations: 225.8 kB / 0.5013 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/0.1392, allocations: 43.72 kB / 0.5014 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009126/0.1401, allocations: 0.5439 MB / 0.5019 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.1401, allocations: 4 kB / 0.5019 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1401, allocations: 0 / 0.5019 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1402, allocations: 0 / 0.5019 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.1407, allocations: 433.2 kB / 0.5023 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-05/0.1408, allocations: 39.98 kB / 0.5023 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.1409, allocations: 27.98 kB / 0.5024 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1409, allocations: 0 / 0.5024 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.141, allocations: 15.98 kB / 0.5024 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.141, allocations: 8 kB / 0.5024 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.141, allocations: 0 / 0.5024 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.1419, allocations: 0.7147 MB / 0.5031 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.1421, allocations: 132.7 kB / 0.5032 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/0.1422, allocations: 4.062 kB / 0.5032 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.1423, allocations: 12 kB / 0.5032 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.1424, allocations: 27.97 kB / 0.5033 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.1424, allocations: 8 kB / 0.5033 GB, free: 11.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003783/0.1428, allocations: 403 kB / 0.5037 GB, free: 11.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1428, allocations: 0 / 0.5037 GB, free: 11.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005375/0.1434, allocations: 147.8 kB / 0.5038 GB, free: 11.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/0.1447, allocations: 1.317 MB / 0.5051 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007488/0.1455, allocations: 0.6758 MB / 0.5057 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1455, allocations: 0 / 0.5057 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.1459, allocations: 488.2 kB / 0.5062 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.1464, allocations: 102.6 kB / 0.5063 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006627/0.1531, allocations: 5.332 MB / 0.5115 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.1536, allocations: 0.878 MB / 0.5124 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00033/0.154, allocations: 120.1 kB / 0.5125 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.1542, allocations: 135.4 kB / 0.5126 GB, free: 1.652 MB / 398.1 MB Notification: Performance of SimCode: time 1.804e-06/0.1542, allocations: 0 / 0.5126 GB, free: 1.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.1877, allocations: 12.79 MB / 0.5251 GB, free: 4.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.158, allocations: 11.98 kB / 0.5251 GB, free: 4.836 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches