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.001579/0.001579, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001743/0.001743, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.315/1.315, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.1958/0.1958, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.002726/0.002726, allocations: 66.7 kB / 382.9 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1054, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002901/0.1083, allocations: 1.941 MB / 442.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1099, allocations: 1.17 MB / 443.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.11, allocations: 4 kB / 443.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1103, allocations: 71.58 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.1105, allocations: 103.3 kB / 443.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.1109, allocations: 159.4 kB / 444.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.1112, allocations: 469.8 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.874e-05/0.1113, allocations: 56.95 kB / 444.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.1114, allocations: 167.1 kB / 444.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.1116, allocations: 195 kB / 445 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.1116, allocations: 8 kB / 445 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.112, allocations: 275.6 kB / 445.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.1121, allocations: 99.45 kB / 445.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1122, allocations: 182.7 kB / 445.5 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.1127, allocations: 0.5526 MB / 446.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1127, allocations: 0 / 446.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1127, allocations: 4 kB / 446.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1127, allocations: 0 / 446.1 MB, free: 1.32 MB / 318.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.0007461/0.1134, allocations: 0.7218 MB / 446.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1135, allocations: 15.97 kB / 446.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.811e-05/0.1136, allocations: 102.7 kB / 446.9 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.1137, allocations: 52.38 kB / 446.9 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1139, allocations: 287.7 kB / 447.2 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1139, allocations: 37.69 kB / 447.3 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/0.114, allocations: 52.02 kB / 447.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/0.1149, allocations: 0.6388 MB / 448 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1149, allocations: 0 / 448 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.115, allocations: 20 kB / 448 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.115, allocations: 33.3 kB / 448 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/0.1158, allocations: 0.5008 MB / 448.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.1181, allocations: 1.43 MB / 449.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/0.1188, allocations: 433 kB / 450.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.119, allocations: 144.7 kB / 450.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.1191, allocations: 19.91 kB / 450.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.1191, allocations: 34.56 kB / 450.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.1191, allocations: 0 / 450.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008901/0.12, allocations: 0.5045 MB / 451.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.1201, allocations: 55.41 kB / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.1207, allocations: 0.5407 MB / 451.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.1207, allocations: 33.7 kB / 451.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.1209, allocations: 224 kB / 451.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.121, allocations: 86.75 kB / 452 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.1211, allocations: 90.02 kB / 452.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1212, allocations: 362.7 kB / 452.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.1215, allocations: 160.2 kB / 452.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.1218, allocations: 252.7 kB / 452.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/0.1256, allocations: 1.062 MB / 453.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1256, allocations: 0 / 453.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007814/0.1264, allocations: 0.5007 MB / 454.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1264, allocations: 8.781 kB / 454.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.27e-05/0.1265, allocations: 39.98 kB / 454.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1265, allocations: 11.94 kB / 454.5 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.1267, allocations: 35.92 kB / 454.5 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1267, allocations: 11.92 kB / 454.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.127, allocations: 55.28 kB / 454.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.127, allocations: 23.94 kB / 454.6 MB, free: 8.477 MB / 334.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.000281/0.1273, allocations: 229.7 kB / 454.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.1274, allocations: 47.44 kB / 454.9 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009304/0.1284, allocations: 0.5249 MB / 455.4 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.1284, allocations: 8 kB / 455.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1284, allocations: 0 / 455.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1284, allocations: 0 / 455.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.1289, allocations: 437.1 kB / 455.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.348e-05/0.129, allocations: 39.98 kB / 455.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.1292, allocations: 24 kB / 455.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1292, allocations: 3.984 kB / 455.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.1292, allocations: 16 kB / 455.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1292, allocations: 0 / 455.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1292, allocations: 0 / 455.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/0.1302, allocations: 0.71 MB / 456.6 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.1304, allocations: 128.6 kB / 456.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.457e-05/0.1305, allocations: 11.98 kB / 456.7 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.1306, allocations: 8 kB / 456.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.1307, allocations: 23.97 kB / 456.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.1307, allocations: 16 kB / 456.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004094/0.1312, allocations: 403 kB / 457.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1312, allocations: 0 / 457.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004724/0.1316, allocations: 143.9 kB / 457.3 MB, free: 5.633 MB / 334.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.001434/0.1331, allocations: 1.321 MB / 458.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008344/0.1339, allocations: 0.7226 MB / 459.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1339, allocations: 0 / 459.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.1344, allocations: 492.2 kB / 459.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.1349, allocations: 94.66 kB / 459.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006755/0.1416, allocations: 5.483 MB / 465.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.1421, allocations: 0.8894 MB / 466.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.1423, allocations: 116.2 kB / 466.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.1425, allocations: 142.9 kB / 466.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1425, allocations: 0 / 466.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.1732, allocations: 12.7 MB / 479.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.236/9.41, allocations: 8.125 kB / 479.3 MB, free: 15.38 MB / 366.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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_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