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.001158/0.001158, allocations: 113.1 kB / 17.33 MB, free: 6.02 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.001152/0.001152, allocations: 197.3 kB / 18.25 MB, free: 5.113 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.326/1.326, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2101/0.2101, allocations: 44.18 MB / 336.3 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.27 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1106, allocations: 60.81 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.00355/0.1142, allocations: 2.222 MB / 471.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1158, allocations: 0.8998 MB / 472 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.116, allocations: 0 / 472 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.1165, allocations: 67.59 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.117, allocations: 135.4 kB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.1173, allocations: 75.73 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005296/0.1178, allocations: 489.7 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.118, allocations: 65.03 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.1183, allocations: 187 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.1187, allocations: 234.8 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.425e-05/0.1188, allocations: 12 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.1191, allocations: 195.7 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.1193, allocations: 103.5 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.1196, allocations: 198.6 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008346/0.1205, allocations: 0.5217 MB / 474.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1205, allocations: 4 kB / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1205, allocations: 0 / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.15e-05/0.1205, allocations: 0 / 474.2 MB, free: 9.238 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.00145/0.122, allocations: 0.7564 MB / 475 MB, free: 8.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.122, allocations: 12.03 kB / 475 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.1222, allocations: 94.7 kB / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1223, allocations: 64.27 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.1229, allocations: 303.8 kB / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.1229, allocations: 40.98 kB / 475.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.1231, allocations: 43.98 kB / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.1247, allocations: 0.7109 MB / 476.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1248, allocations: 0 / 476.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/0.1249, allocations: 19.98 kB / 476.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.125, allocations: 57.22 kB / 476.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.127, allocations: 0.7467 MB / 477 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.1304, allocations: 1.441 MB / 478.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.1317, allocations: 448.5 kB / 478.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.1322, allocations: 157.2 kB / 479.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.918e-05/0.1323, allocations: 8.234 kB / 479.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.1323, allocations: 34.8 kB / 479.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.986e-06/0.1323, allocations: 0 / 479.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001781/0.1341, allocations: 0.5481 MB / 479.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.1342, allocations: 55.41 kB / 479.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000904/0.1351, allocations: 0.5251 MB / 480.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.1352, allocations: 29.7 kB / 480.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.1354, allocations: 232.5 kB / 480.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.1356, allocations: 106.5 kB / 480.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.1358, allocations: 86 kB / 480.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.136, allocations: 354.8 kB / 481 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.1365, allocations: 156.6 kB / 481.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/0.1371, allocations: 252.2 kB / 481.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.1383, allocations: 443.5 kB / 481.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1383, allocations: 4 kB / 481.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001401/0.1397, allocations: 496.8 kB / 482.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.1398, allocations: 12.06 kB / 482.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1398, allocations: 0 / 482.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.1398, allocations: 12 kB / 482.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.1415, allocations: 207.8 kB / 482.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00634/0.1478, allocations: 7.317 MB / 489.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.1484, allocations: 59.39 kB / 490 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.1485, allocations: 19.98 kB / 490 MB, free: 8.867 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.0005325/0.1491, allocations: 230.2 kB / 490.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.1492, allocations: 47.44 kB / 490.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.1509, allocations: 0.5524 MB / 490.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.151, allocations: 4 kB / 490.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.151, allocations: 0 / 490.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.151, allocations: 3.984 kB / 490.8 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1521, allocations: 429.2 kB / 491.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1521, allocations: 0 / 491.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.1535, allocations: 195.9 kB / 491.4 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.1535, allocations: 4 kB / 491.4 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.1536, allocations: 15.92 kB / 491.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006142/0.1598, allocations: 7.313 MB / 498.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1598, allocations: 0 / 498.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1609, allocations: 0.5195 MB / 499.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.1611, allocations: 124.5 kB / 499.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/0.1612, allocations: 4 kB / 499.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1614, allocations: 11.98 kB / 499.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.1615, allocations: 27.97 kB / 499.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.1615, allocations: 11.98 kB / 499.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005648/0.1621, allocations: 395 kB / 499.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1621, allocations: 4 kB / 499.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008581/0.163, allocations: 131.8 kB / 500 MB, free: 14.5 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.001986/0.165, allocations: 1.087 MB / 0.4893 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.1677, allocations: 0.5786 MB / 0.4899 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1678, allocations: 0 / 0.4899 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.1696, allocations: 348.1 kB / 0.4902 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/0.1705, allocations: 93.72 kB / 0.4903 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.1825, allocations: 5.528 MB / 0.4957 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.1832, allocations: 0.8933 MB / 0.4966 GB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006875/0.1839, allocations: 128.1 kB / 0.4967 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.1843, allocations: 147.4 kB / 0.4968 GB, free: 5.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1843, allocations: 0 / 0.4968 GB, free: 5.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/0.4409, allocations: 13.11 MB / 0.5096 GB, free: 51.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.4411, allocations: 281.5 kB / 0.5099 GB, free: 50.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.67, allocations: 2.5 kB / 0.5099 GB, free: 50.96 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