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_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 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_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.001328/0.001328, allocations: 104 kB / 17.63 MB, free: 5.523 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.001549/0.001549, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.307/1.307, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1992/0.1992, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.69 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1095, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003756/0.1133, allocations: 2.157 MB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1147, allocations: 0.8996 MB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.1147, allocations: 0 / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.115, allocations: 75.58 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.1154, allocations: 143.2 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1157, allocations: 91.62 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.1161, allocations: 485.7 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1162, allocations: 57.06 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.1164, allocations: 187 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.1167, allocations: 226.9 kB / 473.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.1168, allocations: 12 kB / 473.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.1171, allocations: 191.7 kB / 473.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1173, allocations: 111.5 kB / 474 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.1175, allocations: 194.6 kB / 474.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.118, allocations: 0.5217 MB / 474.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.118, allocations: 4 kB / 474.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.118, allocations: 3.938 kB / 474.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.118, allocations: 0 / 474.7 MB, free: 8.898 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001117/0.1191, allocations: 0.7526 MB / 475.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1192, allocations: 8.031 kB / 475.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1193, allocations: 102.7 kB / 475.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.851e-05/0.1194, allocations: 52.28 kB / 475.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.1198, allocations: 311.8 kB / 475.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.1198, allocations: 41 kB / 476 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.1199, allocations: 47.98 kB / 476 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1209, allocations: 0.707 MB / 476.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1209, allocations: 0 / 476.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.121, allocations: 19.98 kB / 476.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/0.1211, allocations: 53.28 kB / 476.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.1222, allocations: 0.7466 MB / 477.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.1241, allocations: 1.442 MB / 479 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/0.1249, allocations: 462.2 kB / 479.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.1252, allocations: 153.2 kB / 479.6 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.1252, allocations: 20.2 kB / 479.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1253, allocations: 30.8 kB / 479.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.1253, allocations: 0 / 479.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001063/0.1263, allocations: 0.552 MB / 480.2 MB, free: 3.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1264, allocations: 51.41 kB / 480.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005325/0.1269, allocations: 0.529 MB / 480.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1269, allocations: 29.7 kB / 480.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.1271, allocations: 228.5 kB / 481 MB, free: 2.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/0.1272, allocations: 106.5 kB / 481.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1273, allocations: 82.11 kB / 481.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1275, allocations: 366.7 kB / 481.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.1278, allocations: 152.5 kB / 481.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.1281, allocations: 252.3 kB / 481.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.1288, allocations: 431.6 kB / 482.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1288, allocations: 4 kB / 482.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008315/0.1296, allocations: 0.4888 MB / 482.9 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1297, allocations: 4 kB / 482.9 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1297, allocations: 4.375 kB / 482.9 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1297, allocations: 11.98 kB / 482.9 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000939/0.1306, allocations: 211.8 kB / 483.1 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.135, allocations: 7.317 MB / 490.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.1353, allocations: 55.64 kB / 490.5 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.1354, allocations: 27.98 kB / 490.5 MB, free: 8.516 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.1357, allocations: 222.3 kB / 490.7 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.1357, allocations: 47.44 kB / 490.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009859/0.1367, allocations: 0.5446 MB / 491.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1368, allocations: 11.98 kB / 491.3 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1368, allocations: 3.938 kB / 491.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1368, allocations: 3.938 kB / 491.3 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.1373, allocations: 425.2 kB / 491.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1373, allocations: 4 kB / 491.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/0.1381, allocations: 195.9 kB / 491.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.1381, allocations: 3.984 kB / 491.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.1381, allocations: 15.94 kB / 491.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.1419, allocations: 7.31 MB / 499.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1419, allocations: 4.031 kB / 499.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/0.1427, allocations: 0.5111 MB / 499.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1428, allocations: 128.5 kB / 499.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.1429, allocations: 4 kB / 499.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.1431, allocations: 15.92 kB / 499.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/0.1432, allocations: 23.97 kB / 499.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.1433, allocations: 15.98 kB / 499.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003998/0.1437, allocations: 391 kB / 0.4886 GB, free: 14.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1437, allocations: 0 / 0.4886 GB, free: 14.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004591/0.1441, allocations: 127.8 kB / 0.4887 GB, free: 14.16 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/0.1453, allocations: 1.095 MB / 0.4898 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.1469, allocations: 0.5782 MB / 0.4904 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1469, allocations: 4 kB / 0.4904 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.1479, allocations: 343.6 kB / 0.4907 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.1485, allocations: 93.52 kB / 0.4908 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006847/0.1554, allocations: 5.417 MB / 0.4961 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.1558, allocations: 0.8933 MB / 0.4969 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003132/0.1561, allocations: 124.1 kB / 0.4971 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.1563, allocations: 143.4 kB / 0.4972 GB, free: 5.281 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1564, allocations: 0 / 0.4972 GB, free: 5.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2121/0.3685, allocations: 13.27 MB / 0.5102 GB, free: 50.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.02, allocations: 9.094 kB / 0.5102 GB, free: 50.9 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_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/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches