Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 46.91 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.89 kB / 0.491 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1273, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.004128/0.1315, allocations: 2.248 MB / 0.5576 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.1351, allocations: 2.165 MB / 0.5597 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.1353, allocations: 4 kB / 0.5597 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1357, allocations: 63.58 kB / 0.5598 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.136, allocations: 119.3 kB / 0.5599 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.1374, allocations: 442.2 kB / 0.5603 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006977/0.1381, allocations: 0.5132 MB / 0.5608 GB, free: 256 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1382, allocations: 41.09 kB / 0.5608 GB, free: 212 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.1386, allocations: 183 kB / 0.561 GB, free: 28 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.139, allocations: 218.9 kB / 0.5612 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.91e-05/0.1391, allocations: 15.94 kB / 0.5612 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.1403, allocations: 0.6629 MB / 0.5619 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1404, allocations: 103.5 kB / 0.562 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.1407, allocations: 194.7 kB / 0.5622 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.142, allocations: 0.8093 MB / 0.563 GB, free: 14.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.142, allocations: 0 / 0.563 GB, free: 14.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.142, allocations: 3.938 kB / 0.563 GB, free: 14.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.142, allocations: 0 / 0.563 GB, free: 14.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001618/0.1436, allocations: 0.8255 MB / 0.5638 GB, free: 13.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1437, allocations: 12.03 kB / 0.5638 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.1438, allocations: 94.7 kB / 0.5639 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004427/0.1442, allocations: 84.56 kB / 0.564 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.1447, allocations: 320.4 kB / 0.5643 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.1447, allocations: 37.38 kB / 0.5643 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.1448, allocations: 55.88 kB / 0.5644 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.146, allocations: 0.6884 MB / 0.565 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.146, allocations: 0 / 0.565 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.146, allocations: 27.92 kB / 0.5651 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.1461, allocations: 25 kB / 0.5651 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1471, allocations: 0.4959 MB / 0.5656 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.1495, allocations: 1.501 MB / 0.567 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.1501, allocations: 305.5 kB / 0.5673 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.1505, allocations: 150.4 kB / 0.5675 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.995e-05/0.1506, allocations: 20.11 kB / 0.5675 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1506, allocations: 34.5 kB / 0.5675 GB, free: 9.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.1506, allocations: 0 / 0.5675 GB, free: 9.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.001412/0.152, allocations: 0.5243 MB / 0.568 GB, free: 8.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.1521, allocations: 106.8 kB / 0.5681 GB, free: 8.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007029/0.1528, allocations: 0.5682 MB / 0.5687 GB, free: 7.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.1528, allocations: 25.7 kB / 0.5687 GB, free: 7.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.153, allocations: 240.7 kB / 0.5689 GB, free: 7.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.373e-05/0.1531, allocations: 83.31 kB / 0.569 GB, free: 7.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.1533, allocations: 81.64 kB / 0.5691 GB, free: 7.473 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1535, allocations: 362.8 kB / 0.5694 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.1538, allocations: 139.9 kB / 0.5696 GB, free: 6.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.1543, allocations: 268.5 kB / 0.5698 GB, free: 6.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009358/0.1552, allocations: 423.7 kB / 0.5702 GB, free: 6.207 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1552, allocations: 8 kB / 0.5702 GB, free: 6.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001066/0.1563, allocations: 485.1 kB / 0.5707 GB, free: 5.719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.1563, allocations: 15.92 kB / 0.5707 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-05/0.1564, allocations: 36 kB / 0.5708 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.1564, allocations: 8 kB / 0.5708 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1566, allocations: 35.89 kB / 0.5708 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1567, allocations: 4 kB / 0.5708 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.157, allocations: 71.53 kB / 0.5709 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.157, allocations: 28 kB / 0.5709 GB, free: 5.523 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.1574, allocations: 223.8 kB / 0.5711 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.1575, allocations: 51.61 kB / 0.5712 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.1585, allocations: 461.3 kB / 0.5716 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1585, allocations: 4 kB / 0.5716 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1585, allocations: 4 kB / 0.5716 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1585, allocations: 7.922 kB / 0.5716 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000751/0.1593, allocations: 401.3 kB / 0.572 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.858e-05/0.1594, allocations: 39.98 kB / 0.572 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1595, allocations: 27.97 kB / 0.5721 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1595, allocations: 0 / 0.5721 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.1595, allocations: 8 kB / 0.5721 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/0.1596, allocations: 7.938 kB / 0.5721 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1596, allocations: 3.938 kB / 0.5721 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.1607, allocations: 0.6229 MB / 0.5727 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.1609, allocations: 132.7 kB / 0.5728 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.1609, allocations: 4 kB / 0.5728 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.1613, allocations: 27.91 kB / 0.5728 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.1613, allocations: 27.92 kB / 0.5729 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.1614, allocations: 11.98 kB / 0.5729 GB, free: 3.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004958/0.1619, allocations: 414.7 kB / 0.5733 GB, free: 2.973 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1619, allocations: 0 / 0.5733 GB, free: 2.973 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007354/0.1626, allocations: 183.5 kB / 0.5735 GB, free: 2.793 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/0.1644, allocations: 1.306 MB / 0.5747 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.1656, allocations: 0.6578 MB / 0.5754 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1656, allocations: 0 / 0.5754 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.1662, allocations: 493 kB / 0.5758 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/0.1669, allocations: 93.34 kB / 0.5759 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008507/0.1754, allocations: 5.406 MB / 0.5812 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.176, allocations: 0.8935 MB / 0.5821 GB, free: 9.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.1762, allocations: 71.34 kB / 0.5822 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.1764, allocations: 135.4 kB / 0.5823 GB, free: 9.391 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1764, allocations: 0 / 0.5823 GB, free: 9.391 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2768/0.4532, allocations: 14.29 MB / 0.5962 GB, free: 35.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.766/9.219, allocations: 10.61 kB / 0.5962 GB, free: 35.92 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mflow_test in file ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.402187704807147]