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_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 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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001557/0.001557, allocations: 107.5 kB / 16.27 MB, free: 5.98 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.001795/0.001795, allocations: 187.7 kB / 17.19 MB, free: 5.625 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.337/1.337, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2091/0.2091, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001514/0.001514, allocations: 74.2 kB / 382.9 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.0935, allocations: 57.78 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002891/0.09643, allocations: 2.143 MB / 442.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.09861, allocations: 1.807 MB / 444.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.09882, allocations: 3.938 kB / 444.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.09917, allocations: 71.58 kB / 444.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.09962, allocations: 143.3 kB / 444.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008282/0.1005, allocations: 326.7 kB / 445.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.1009, allocations: 485.7 kB / 445.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.101, allocations: 60.98 kB / 445.7 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.1012, allocations: 183 kB / 445.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.1015, allocations: 226.9 kB / 446.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.1016, allocations: 12 kB / 446.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/0.1023, allocations: 0.5538 MB / 446.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1024, allocations: 119.4 kB / 446.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.1026, allocations: 186.7 kB / 446.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008641/0.1034, allocations: 0.7162 MB / 447.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1035, allocations: 0 / 447.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1035, allocations: 0 / 447.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1035, allocations: 0 / 447.6 MB, free: 15.77 MB / 334.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.001404/0.1049, allocations: 0.7759 MB / 448.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.105, allocations: 8.031 kB / 448.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.1051, allocations: 102.7 kB / 448.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1052, allocations: 52.28 kB / 448.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.1056, allocations: 307.9 kB / 448.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.1057, allocations: 40.92 kB / 448.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.1057, allocations: 47.98 kB / 449 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.1069, allocations: 0.7109 MB / 449.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1069, allocations: 0 / 449.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.107, allocations: 19.98 kB / 449.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.305e-05/0.107, allocations: 57.27 kB / 449.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.1083, allocations: 0.7389 MB / 450.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.1105, allocations: 1.445 MB / 451.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.1113, allocations: 465.8 kB / 452.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.1116, allocations: 153.2 kB / 452.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.1116, allocations: 12.44 kB / 452.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1117, allocations: 34.56 kB / 452.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.1117, allocations: 0 / 452.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001179/0.1129, allocations: 0.5435 MB / 453.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.1129, allocations: 51.41 kB / 453.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.1135, allocations: 0.5329 MB / 453.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.1136, allocations: 29.7 kB / 453.7 MB, free: 9.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1138, allocations: 244.1 kB / 454 MB, free: 9.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.1139, allocations: 106.5 kB / 454.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.114, allocations: 94.05 kB / 454.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1142, allocations: 358.7 kB / 454.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.1145, allocations: 168.6 kB / 454.7 MB, free: 8.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.1149, allocations: 293.4 kB / 455 MB, free: 8.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007423/0.1157, allocations: 0.4888 MB / 455.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.1157, allocations: 4 kB / 455.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009683/0.1167, allocations: 0.5355 MB / 456 MB, free: 7.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1167, allocations: 4.562 kB / 456 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1167, allocations: 4 kB / 456 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1167, allocations: 12 kB / 456 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/0.1177, allocations: 223.8 kB / 456.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.1216, allocations: 7.309 MB / 463.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.122, allocations: 67.64 kB / 463.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.122, allocations: 24 kB / 463.6 MB, free: 15.14 MB / 350.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.0002822/0.1223, allocations: 233.5 kB / 463.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.821e-05/0.1224, allocations: 51.44 kB / 463.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.1235, allocations: 0.5524 MB / 464.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1235, allocations: 0 / 464.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1235, allocations: 0 / 464.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1235, allocations: 4 kB / 464.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.1241, allocations: 421.2 kB / 464.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1241, allocations: 0 / 464.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.125, allocations: 207.8 kB / 465.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.125, allocations: 0 / 465.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.1251, allocations: 11.94 kB / 465.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/0.1289, allocations: 7.298 MB / 472.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1289, allocations: 3.938 kB / 472.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/0.1297, allocations: 0.5156 MB / 472.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.1299, allocations: 124.5 kB / 473 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.1299, allocations: 4 kB / 473 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.1302, allocations: 15.98 kB / 473.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.1303, allocations: 23.91 kB / 473.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.1303, allocations: 15.98 kB / 473.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004268/0.1307, allocations: 395 kB / 473.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1308, allocations: 0 / 473.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005823/0.1313, allocations: 167.8 kB / 473.7 MB, free: 4.75 MB / 350.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.001345/0.1327, allocations: 1.141 MB / 474.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.1343, allocations: 0.6059 MB / 475.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1343, allocations: 0 / 475.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.1354, allocations: 356.5 kB / 475.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.136, allocations: 91.88 kB / 475.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/0.1432, allocations: 5.461 MB / 481.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.1437, allocations: 0.9052 MB / 482.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003962/0.1441, allocations: 140.2 kB / 482.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.1443, allocations: 139.4 kB / 482.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1443, allocations: 0 / 482.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.181, allocations: 14.5 MB / 497 MB, free: 13.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.49, allocations: 4.5 kB / 497 MB, free: 13.21 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches