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.001707/0.001707, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001513/0.001513, allocations: 212.2 kB / 23.73 MB, free: 4.387 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2203/0.2203, allocations: 46.96 MB / 360.9 MB, free: 3.988 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.001989/0.001989, allocations: 63.89 kB / 0.4961 GB, free: 7.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 66.04 MB / 0.5606 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003723/0.3365, allocations: 2.133 MB / 0.5627 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.3399, allocations: 1.931 MB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.3401, allocations: 4 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.3404, allocations: 67.53 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.3407, allocations: 103.5 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3419, allocations: 445.9 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.3425, allocations: 0.5092 MB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.391e-05/0.3426, allocations: 21.28 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.3429, allocations: 187 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.3432, allocations: 206.9 kB / 0.5661 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.3432, allocations: 16 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008294/0.3441, allocations: 379.4 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.3442, allocations: 107.4 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.3444, allocations: 155 kB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.3455, allocations: 0.7447 MB / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3455, allocations: 0 / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3455, allocations: 0 / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.3455, allocations: 0 / 0.5674 GB, free: 13.17 MB / 414.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.001422/0.3469, allocations: 0.7502 MB / 0.5682 GB, free: 12.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3469, allocations: 8.031 kB / 0.5682 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.3471, allocations: 106.7 kB / 0.5683 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.3475, allocations: 80.58 kB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.348, allocations: 258.5 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.3481, allocations: 37.38 kB / 0.5686 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.3481, allocations: 55.94 kB / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.3493, allocations: 0.6922 MB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3493, allocations: 0 / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.3493, allocations: 20 kB / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.3494, allocations: 24.98 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.3504, allocations: 0.4998 MB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.3528, allocations: 1.406 MB / 0.5713 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.3534, allocations: 310.2 kB / 0.5716 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/0.3538, allocations: 146.4 kB / 0.5717 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.3538, allocations: 16.12 kB / 0.5717 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.3539, allocations: 42.48 kB / 0.5718 GB, free: 8.562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.295e-06/0.3539, allocations: 0 / 0.5718 GB, free: 8.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001332/0.3552, allocations: 0.5155 MB / 0.5723 GB, free: 8.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.3553, allocations: 111.1 kB / 0.5724 GB, free: 7.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.356, allocations: 0.5721 MB / 0.5729 GB, free: 7.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.356, allocations: 25.7 kB / 0.573 GB, free: 7.297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3562, allocations: 236.4 kB / 0.5732 GB, free: 7.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.3563, allocations: 79.31 kB / 0.5733 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.3564, allocations: 89.64 kB / 0.5733 GB, free: 6.891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3566, allocations: 354.8 kB / 0.5737 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.357, allocations: 151.8 kB / 0.5738 GB, free: 6.387 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.3574, allocations: 253.6 kB / 0.5741 GB, free: 6.094 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008435/0.3583, allocations: 430 kB / 0.5745 GB, free: 5.629 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3583, allocations: 4 kB / 0.5745 GB, free: 5.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001026/0.3593, allocations: 480.8 kB / 0.5749 GB, free: 5.148 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3593, allocations: 12.38 kB / 0.575 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-05/0.3594, allocations: 43.98 kB / 0.575 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.3594, allocations: 8 kB / 0.575 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.3596, allocations: 31.91 kB / 0.575 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.3596, allocations: 7.938 kB / 0.575 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.3599, allocations: 71.48 kB / 0.5751 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.36, allocations: 20 kB / 0.5751 GB, free: 4.957 MB / 414.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.0002659/0.3602, allocations: 221.7 kB / 0.5753 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.3604, allocations: 51.61 kB / 0.5754 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009489/0.3613, allocations: 463.5 kB / 0.5758 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3613, allocations: 8 kB / 0.5758 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3613, allocations: 0 / 0.5758 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.3613, allocations: 7.922 kB / 0.5758 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.362, allocations: 348.5 kB / 0.5762 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.679e-05/0.362, allocations: 36 kB / 0.5762 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3622, allocations: 27.91 kB / 0.5762 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.3622, allocations: 7.984 kB / 0.5762 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.3622, allocations: 19.94 kB / 0.5763 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3622, allocations: 4 kB / 0.5763 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3622, allocations: 3.938 kB / 0.5763 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3632, allocations: 0.6271 MB / 0.5769 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3634, allocations: 55.58 kB / 0.5769 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.3634, allocations: 4 kB / 0.5769 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.3637, allocations: 19.98 kB / 0.577 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3638, allocations: 31.84 kB / 0.577 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.3639, allocations: 16 kB / 0.577 GB, free: 2.961 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004967/0.3644, allocations: 414.8 kB / 0.5774 GB, free: 2.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3644, allocations: 0 / 0.5774 GB, free: 2.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006704/0.365, allocations: 171.6 kB / 0.5776 GB, free: 2.391 MB / 414.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.001749/0.3668, allocations: 1.311 MB / 0.5788 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3679, allocations: 0.6604 MB / 0.5795 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3679, allocations: 0 / 0.5795 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.3685, allocations: 484.3 kB / 0.58 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.3693, allocations: 94.09 kB / 0.58 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008078/0.3773, allocations: 5.416 MB / 0.5853 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3777, allocations: 284 kB / 0.5856 GB, free: 9.785 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.3779, allocations: 75.33 kB / 0.5857 GB, free: 9.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3781, allocations: 135.3 kB / 0.5858 GB, free: 9.574 MB / 430.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3781, allocations: 4 kB / 0.5858 GB, free: 9.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04996/0.428, allocations: 15.55 MB / 0.601 GB, free: 10.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.79, allocations: 10.92 kB / 0.601 GB, free: 10.32 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.789289417210966]