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.001105/0.001105, allocations: 105 kB / 17.21 MB, free: 6.273 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.001067/0.001066, allocations: 194 kB / 18.12 MB, free: 5.363 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.392/1.392, allocations: 222.9 MB / 241.8 MB, free: 15.42 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.2191/0.2191, allocations: 44.17 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.88 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1176, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003428/0.1211, allocations: 2.198 MB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1237, allocations: 1.791 MB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1239, allocations: 0 / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1242, allocations: 63.66 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.1246, allocations: 135.4 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.1254, allocations: 289.5 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006/0.1261, allocations: 0.6264 MB / 473.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1262, allocations: 65.03 kB / 473.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.1265, allocations: 171 kB / 474 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.1268, allocations: 234.8 kB / 474.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.302e-05/0.1268, allocations: 8 kB / 474.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008641/0.1277, allocations: 0.5498 MB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1279, allocations: 107.5 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.1281, allocations: 190.6 kB / 475 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008799/0.129, allocations: 0.7087 MB / 475.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.129, allocations: 4 kB / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.129, allocations: 0 / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.129, allocations: 0 / 475.8 MB, free: 7.555 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.00128/0.1303, allocations: 0.7837 MB / 476.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1303, allocations: 12.03 kB / 476.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.1305, allocations: 98.69 kB / 476.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1306, allocations: 56.22 kB / 476.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1309, allocations: 307.9 kB / 477 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.131, allocations: 33 kB / 477 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.131, allocations: 47.98 kB / 477.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.1321, allocations: 0.7109 MB / 477.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1322, allocations: 3.938 kB / 477.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.1322, allocations: 19.98 kB / 477.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.258e-05/0.1323, allocations: 53.28 kB / 477.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.1335, allocations: 0.7428 MB / 478.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.1358, allocations: 1.43 MB / 480 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.1366, allocations: 460.4 kB / 480.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.1369, allocations: 157.2 kB / 480.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.137, allocations: 12.22 kB / 480.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.137, allocations: 34.8 kB / 480.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.137, allocations: 0 / 480.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001138/0.1381, allocations: 0.5443 MB / 481.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1382, allocations: 55.41 kB / 481.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005872/0.1388, allocations: 0.529 MB / 481.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1388, allocations: 29.7 kB / 481.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.139, allocations: 248.2 kB / 482.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/0.1391, allocations: 98.58 kB / 482.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1393, allocations: 97.95 kB / 482.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1394, allocations: 362.7 kB / 482.6 MB, free: 448 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.1397, allocations: 168.6 kB / 482.8 MB, free: 280 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.1402, allocations: 293.3 kB / 483.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007425/0.1409, allocations: 0.4889 MB / 483.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1409, allocations: 4 kB / 483.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009173/0.1418, allocations: 0.5355 MB / 484.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1419, allocations: 4.562 kB / 484.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1419, allocations: 8 kB / 484.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1419, allocations: 8 kB / 484.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009978/0.1429, allocations: 219.8 kB / 484.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/0.1469, allocations: 7.309 MB / 491.7 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.1474, allocations: 63.56 kB / 491.7 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.1475, allocations: 27.98 kB / 491.8 MB, free: 6.922 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.0004864/0.148, allocations: 233.5 kB / 492 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.1481, allocations: 43.44 kB / 492 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.1493, allocations: 0.5447 MB / 492.6 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1494, allocations: 0 / 492.6 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1494, allocations: 4 kB / 492.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.1494, allocations: 0 / 492.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.15, allocations: 425.1 kB / 493 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.15, allocations: 4 kB / 493 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008904/0.1509, allocations: 195.9 kB / 493.2 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.1509, allocations: 0 / 493.2 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.151, allocations: 27.92 kB / 493.2 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003934/0.1549, allocations: 7.298 MB / 0.4888 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1549, allocations: 0 / 0.4888 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.1558, allocations: 0.5156 MB / 0.4893 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.1559, allocations: 120.6 kB / 0.4894 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.156, allocations: 8 kB / 0.4894 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.1563, allocations: 11.97 kB / 0.4894 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.1564, allocations: 27.91 kB / 0.4894 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.1564, allocations: 15.98 kB / 0.4895 GB, free: 13.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004343/0.1568, allocations: 399 kB / 0.4898 GB, free: 12.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.1569, allocations: 0 / 0.4898 GB, free: 12.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006137/0.1575, allocations: 159.8 kB / 0.49 GB, free: 12.54 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.001409/0.1589, allocations: 1.153 MB / 0.4911 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.1604, allocations: 0.5439 MB / 0.4916 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1605, allocations: 0 / 0.4916 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.1615, allocations: 352.1 kB / 0.492 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.162, allocations: 97.48 kB / 0.4921 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/0.1692, allocations: 5.573 MB / 0.4975 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.1696, allocations: 0.9013 MB / 0.4984 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003731/0.17, allocations: 152.1 kB / 0.4985 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.1702, allocations: 139.4 kB / 0.4987 GB, free: 3.41 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1703, allocations: 0 / 0.4987 GB, free: 3.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2064/0.3767, allocations: 13.93 MB / 0.5123 GB, free: 48.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.3769, allocations: 288.1 kB / 0.5126 GB, free: 48.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.522, allocations: 5.875 kB / 0.5126 GB, free: 48.57 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