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_evenGapOverall_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.00149/0.00149, allocations: 104.2 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.001824/0.001824, allocations: 191.9 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.379/1.379, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2054/0.2054, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.03 kB / 408.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1024, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003394/0.1059, allocations: 2.148 MB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1085, allocations: 1.767 MB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1086, allocations: 3.938 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.109, allocations: 71.58 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.1095, allocations: 143.3 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008599/0.1103, allocations: 318.7 kB / 473.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.1109, allocations: 493.6 kB / 474.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.111, allocations: 57.06 kB / 474.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.1113, allocations: 183 kB / 474.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.1116, allocations: 222.9 kB / 474.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.1116, allocations: 12 kB / 474.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.1125, allocations: 0.5498 MB / 475.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1127, allocations: 119.5 kB / 475.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.1129, allocations: 194.6 kB / 475.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007934/0.1137, allocations: 0.7126 MB / 476.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1138, allocations: 0 / 476.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1138, allocations: 0 / 476.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1138, allocations: 0 / 476.3 MB, free: 7.242 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.001112/0.1149, allocations: 0.7788 MB / 477.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1149, allocations: 11.97 kB / 477.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.1151, allocations: 106.7 kB / 477.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.1151, allocations: 52.28 kB / 477.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.1155, allocations: 309.5 kB / 477.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.1155, allocations: 40.98 kB / 477.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/0.1156, allocations: 44 kB / 477.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/0.1165, allocations: 0.7109 MB / 478.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1166, allocations: 4 kB / 478.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.1166, allocations: 20 kB / 478.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/0.1167, allocations: 57.27 kB / 478.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.1178, allocations: 0.7428 MB / 479.2 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.1198, allocations: 1.43 MB / 480.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.1205, allocations: 450.4 kB / 481.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.1209, allocations: 161.2 kB / 481.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/0.1209, allocations: 8.219 kB / 481.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.121, allocations: 38.78 kB / 481.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.436e-06/0.121, allocations: 0 / 481.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001071/0.122, allocations: 0.5442 MB / 481.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1221, allocations: 51.41 kB / 481.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.1226, allocations: 0.5329 MB / 482.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.1227, allocations: 33.7 kB / 482.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1228, allocations: 248 kB / 482.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.1229, allocations: 102.6 kB / 482.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.123, allocations: 89.97 kB / 482.9 MB, free: 500 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1232, allocations: 362.8 kB / 483.2 MB, free: 128 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.1235, allocations: 164.5 kB / 483.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.1239, allocations: 301.3 kB / 483.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.1246, allocations: 496.6 kB / 484.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1246, allocations: 0 / 484.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009029/0.1255, allocations: 0.5355 MB / 484.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1255, allocations: 8.109 kB / 484.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.1256, allocations: 7.938 kB / 484.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.1256, allocations: 12.55 kB / 484.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000943/0.1265, allocations: 223.8 kB / 484.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.1301, allocations: 7.306 MB / 492.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.1304, allocations: 63.28 kB / 492.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.1304, allocations: 24.27 kB / 492.3 MB, free: 6.609 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * 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.0002675/0.1307, allocations: 237.6 kB / 492.6 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/0.1308, allocations: 43.44 kB / 492.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.1318, allocations: 0.5485 MB / 493.1 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1318, allocations: 4 kB / 493.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1319, allocations: 0 / 493.1 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1319, allocations: 3.984 kB / 493.2 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.1324, allocations: 429.2 kB / 493.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1324, allocations: 0 / 493.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/0.1332, allocations: 199.8 kB / 493.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1332, allocations: 4 kB / 493.8 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.1333, allocations: 15.92 kB / 493.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.1367, allocations: 7.306 MB / 0.4893 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1367, allocations: 3.938 kB / 0.4893 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.1375, allocations: 0.5073 MB / 0.4898 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1376, allocations: 124.6 kB / 0.49 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.1377, allocations: 4 kB / 0.49 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.1379, allocations: 11.98 kB / 0.49 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.138, allocations: 23.97 kB / 0.49 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.1381, allocations: 23.92 kB / 0.49 GB, free: 12.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003846/0.1385, allocations: 387 kB / 0.4904 GB, free: 12.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1385, allocations: 0 / 0.4904 GB, free: 12.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005471/0.139, allocations: 167.8 kB / 0.4906 GB, free: 12.22 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.001379/0.1404, allocations: 1.153 MB / 0.4917 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.142, allocations: 0.6047 MB / 0.4923 GB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.142, allocations: 1.125 kB / 0.4923 GB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009926/0.143, allocations: 347.7 kB / 0.4926 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.1435, allocations: 89.84 kB / 0.4927 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.1502, allocations: 5.453 MB / 0.498 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.1507, allocations: 0.8936 MB / 0.4989 GB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003562/0.1511, allocations: 148.2 kB / 0.499 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.1513, allocations: 143.4 kB / 0.4992 GB, free: 3.16 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1513, allocations: 0 / 0.4992 GB, free: 3.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2094/0.3607, allocations: 14.48 MB / 0.5133 GB, free: 49.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.35, allocations: 17.53 kB / 0.5133 GB, free: 49.23 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches