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.001094/0.001094, allocations: 99.38 kB / 16.27 MB, free: 5.957 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.001077/0.001077, allocations: 187.6 kB / 17.19 MB, free: 5.594 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.352/1.352, allocations: 205.1 MB / 223.1 MB, free: 12.15 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.2158/0.2158, allocations: 43.51 MB / 313.9 MB, free: 0.5156 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.001429/0.001429, allocations: 63.36 kB / 382.9 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09356, 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.002726/0.09633, allocations: 1.934 MB / 442.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.0977, allocations: 1.177 MB / 443.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.811e-05/0.09779, allocations: 0 / 443.8 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.09805, allocations: 71.53 kB / 443.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.09826, allocations: 95.41 kB / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.09868, allocations: 167.4 kB / 444.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.09905, allocations: 473.8 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.09914, allocations: 56.97 kB / 444.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.09925, allocations: 159.1 kB / 444.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.09946, allocations: 198.9 kB / 444.9 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.0995, allocations: 12 kB / 445 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.09991, allocations: 271.6 kB / 445.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.798e-05/0.1, allocations: 103.5 kB / 445.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1002, allocations: 178.8 kB / 445.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.1006, allocations: 0.5565 MB / 446.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1007, allocations: 0 / 446.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1007, allocations: 0 / 446.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1007, allocations: 0 / 446.1 MB, free: 1.324 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.0008172/0.1015, allocations: 0.7334 MB / 446.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1015, allocations: 8.031 kB / 446.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.964e-05/0.1016, allocations: 94.7 kB / 446.9 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.1017, allocations: 48.38 kB / 446.9 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.102, allocations: 300.9 kB / 447.2 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.102, allocations: 37.67 kB / 447.3 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/0.1021, allocations: 56.02 kB / 447.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/0.103, allocations: 0.6272 MB / 448 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.103, allocations: 0 / 448 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.103, allocations: 23.91 kB / 448 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.1031, allocations: 33.3 kB / 448 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007205/0.1038, allocations: 0.5047 MB / 448.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.106, allocations: 1.422 MB / 449.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.1068, allocations: 437 kB / 450.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.107, allocations: 144.7 kB / 450.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-05/0.1071, allocations: 19.91 kB / 450.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1071, allocations: 38.56 kB / 450.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.1071, allocations: 0 / 450.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008555/0.108, allocations: 0.4967 MB / 451.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.108, allocations: 55.41 kB / 451.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005864/0.1086, allocations: 0.5486 MB / 451.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1087, allocations: 29.7 kB / 451.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1088, allocations: 220.1 kB / 451.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.1089, allocations: 94.73 kB / 452 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.109, allocations: 86.02 kB / 452.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1092, allocations: 370.7 kB / 452.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.1094, allocations: 156.2 kB / 452.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.1098, allocations: 256.7 kB / 452.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/0.1135, allocations: 1.05 MB / 453.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1136, allocations: 4 kB / 453.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007892/0.1143, allocations: 0.4966 MB / 454.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1144, allocations: 4 kB / 454.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.382e-05/0.1145, allocations: 47.92 kB / 454.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1145, allocations: 7.938 kB / 454.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.1147, allocations: 39.91 kB / 454.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1147, allocations: 7.938 kB / 454.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.115, allocations: 59.28 kB / 454.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.115, allocations: 28.33 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.0002934/0.1153, allocations: 225.5 kB / 454.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.1154, allocations: 43.44 kB / 454.8 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009223/0.1163, allocations: 0.5249 MB / 455.4 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.1164, allocations: 4 kB / 455.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1164, allocations: 7.984 kB / 455.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1164, allocations: 0 / 455.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.117, allocations: 437.1 kB / 455.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.369e-05/0.117, allocations: 43.92 kB / 455.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1172, allocations: 27.98 kB / 455.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1172, allocations: 0 / 455.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.1172, allocations: 12 kB / 455.9 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1173, allocations: 4 kB / 455.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1173, allocations: 0 / 455.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1183, allocations: 0.71 MB / 456.6 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.1184, allocations: 136.5 kB / 456.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.1185, allocations: 0 / 456.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.1187, allocations: 8 kB / 456.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.1188, allocations: 27.97 kB / 456.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.1188, allocations: 16 kB / 456.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004408/0.1192, allocations: 395 kB / 457.2 MB, free: 5.781 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1192, allocations: 0 / 457.2 MB, free: 5.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005301/0.1198, allocations: 151.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.001448/0.1212, allocations: 1.317 MB / 458.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009257/0.1222, allocations: 0.7226 MB / 459.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1222, allocations: 0 / 459.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.1226, allocations: 492.2 kB / 459.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.1231, allocations: 91.3 kB / 459.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.1296, 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.0004477/0.1301, allocations: 0.8894 MB / 466.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002686/0.1303, allocations: 116.2 kB / 466.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.1305, allocations: 139.4 kB / 466.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of SimCode: time 1.693e-06/0.1305, allocations: 4 kB / 466.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.165, allocations: 12.69 MB / 479.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.126, allocations: 19.62 kB / 479.3 MB, free: 15.37 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 & 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