Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.0008211/0.0008211, allocations: 92.17 kB / 17.35 MB, free: 6.344 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.0009084/0.0009087, allocations: 171.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1904/0.1904, allocations: 44.24 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 8.625 kB / 410.5 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09271, allocations: 61.93 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.001963/0.09471, allocations: 1.651 MB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.09621, allocations: 1.122 MB / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.09628, allocations: 7.938 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.09653, allocations: 63.7 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.09674, allocations: 95.55 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.09709, allocations: 135.5 kB / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.09759, allocations: 0.5718 MB / 476 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.09768, allocations: 57.02 kB / 476.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.09781, allocations: 151.1 kB / 476.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.09804, allocations: 199 kB / 476.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.09808, allocations: 12 kB / 476.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.09845, allocations: 275.5 kB / 476.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.09856, allocations: 95.47 kB / 476.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.09873, allocations: 212.5 kB / 477 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.09926, allocations: 0.5489 MB / 477.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.09927, allocations: 0 / 477.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09928, allocations: 0 / 477.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.09929, allocations: 0 / 477.6 MB, free: 8.012 MB / 350.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.0007565/0.1, allocations: 0.6283 MB / 478.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1001, allocations: 16.03 kB / 478.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.398e-05/0.1002, allocations: 102.7 kB / 478.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/0.1003, allocations: 52.28 kB / 478.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.1006, allocations: 287.7 kB / 478.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.1006, allocations: 37.69 kB / 478.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.1007, allocations: 55.92 kB / 478.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/0.1015, allocations: 0.6311 MB / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1015, allocations: 0 / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.1016, allocations: 20 kB / 479.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.1016, allocations: 33.3 kB / 479.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/0.1023, allocations: 0.5085 MB / 479.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.1043, allocations: 1.406 MB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.105, allocations: 438.2 kB / 481.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.1052, allocations: 136.8 kB / 481.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/0.1053, allocations: 15.92 kB / 481.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.1053, allocations: 34.56 kB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.835e-06/0.1053, allocations: 0 / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008069/0.1061, allocations: 0.5089 MB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.1062, allocations: 55.41 kB / 482.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.1067, allocations: 0.5485 MB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.1068, allocations: 29.7 kB / 483.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.1069, allocations: 220.1 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/0.107, allocations: 90.7 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.107, allocations: 37.7 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1072, allocations: 370.7 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1074, allocations: 152.2 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.1077, allocations: 257.7 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/0.1112, allocations: 1.034 MB / 485.2 MB, free: 40 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1112, allocations: 0 / 485.2 MB, free: 40 kB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000724/0.1119, allocations: 0.4928 MB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1119, allocations: 11.98 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.203e-05/0.112, allocations: 36 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.112, allocations: 4 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.1122, allocations: 39.91 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1122, allocations: 11.94 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.1124, allocations: 59.22 kB / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.1125, allocations: 28.39 kB / 485.9 MB, free: 15.35 MB / 366.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.0002422/0.1127, allocations: 225.6 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.1128, allocations: 43.44 kB / 486.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008709/0.1137, allocations: 0.5284 MB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1137, allocations: 8 kB / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1137, allocations: 0 / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1137, allocations: 3.984 kB / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.1142, allocations: 429.2 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.153e-05/0.1143, allocations: 35.98 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.1145, allocations: 31.98 kB / 487.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1145, allocations: 0 / 487.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.1145, allocations: 12 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1145, allocations: 8 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1145, allocations: 0 / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009219/0.1154, allocations: 0.71 MB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.1156, allocations: 132.5 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.1156, allocations: 7.875 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1158, allocations: 11.98 kB / 488.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.1159, allocations: 19.98 kB / 488.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.1159, allocations: 16 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003831/0.1163, allocations: 403 kB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1163, allocations: 0 / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.1167, allocations: 151.9 kB / 488.6 MB, free: 12.5 MB / 366.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.00129/0.118, allocations: 1.31 MB / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007012/0.1187, allocations: 0.6679 MB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1187, allocations: 0 / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.1191, allocations: 493 kB / 491.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.1196, allocations: 93.77 kB / 491.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.1256, allocations: 5.609 MB / 496.8 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1261, allocations: 0.8861 MB / 497.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.1263, allocations: 112.2 kB / 497.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.1265, allocations: 143.3 kB / 497.9 MB, free: 2.848 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1265, allocations: 0 / 497.9 MB, free: 2.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.391/3.517, allocations: 12.16 MB / 0.4981 GB, free: 6.949 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/3.518, allocations: 256.9 kB / 0.4984 GB, free: 6.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/5.916, allocations: 3.516 kB / 0.4984 GB, free: 6.688 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches