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.001313/0.001313, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001417/0.001417, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.242/0.242, allocations: 46.96 MB / 360.9 MB, free: 4.062 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.001916/0.001916, allocations: 71.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3216, allocations: 66.04 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003771/0.3253, allocations: 2.135 MB / 0.5627 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.3288, allocations: 1.927 MB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3289, allocations: 4 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.3292, allocations: 67.53 kB / 0.5647 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.3295, allocations: 119.3 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3306, allocations: 438.1 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006455/0.3313, allocations: 0.5053 MB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.3314, allocations: 17.28 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.3317, allocations: 191 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.332, allocations: 210.9 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.332, allocations: 16 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.3327, allocations: 403.4 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.3329, allocations: 103.5 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.3331, allocations: 158.9 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009669/0.334, allocations: 0.7486 MB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.334, allocations: 0 / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.334, allocations: 0 / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.334, allocations: 4 kB / 0.5675 GB, free: 13.21 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.001382/0.3354, allocations: 0.7502 MB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3355, allocations: 8.031 kB / 0.5682 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.3356, allocations: 94.7 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004153/0.336, allocations: 88.56 kB / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.3365, allocations: 246.6 kB / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.3365, allocations: 37.38 kB / 0.5687 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/0.3366, allocations: 55.92 kB / 0.5687 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3377, allocations: 0.7039 MB / 0.5694 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3377, allocations: 0 / 0.5694 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.3378, allocations: 20 kB / 0.5694 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.3378, allocations: 21 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009371/0.3387, allocations: 0.4959 MB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.341, allocations: 1.406 MB / 0.5713 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.3416, allocations: 307.5 kB / 0.5716 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.342, allocations: 146.4 kB / 0.5717 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.899e-05/0.342, allocations: 20.11 kB / 0.5718 GB, free: 8.652 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.342, allocations: 38.5 kB / 0.5718 GB, free: 8.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.454e-06/0.342, allocations: 4 kB / 0.5718 GB, free: 8.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001337/0.3434, allocations: 0.5126 MB / 0.5723 GB, free: 8.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.3435, allocations: 102.8 kB / 0.5724 GB, free: 7.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/0.3442, allocations: 0.5801 MB / 0.573 GB, free: 7.367 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.3442, allocations: 29.7 kB / 0.573 GB, free: 7.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.3444, allocations: 228.4 kB / 0.5732 GB, free: 7.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/0.3445, allocations: 87.31 kB / 0.5733 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.3446, allocations: 81.64 kB / 0.5734 GB, free: 6.934 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3448, allocations: 362.8 kB / 0.5737 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.3452, allocations: 151.8 kB / 0.5739 GB, free: 6.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.3456, allocations: 249.6 kB / 0.5741 GB, free: 6.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008074/0.3464, allocations: 437.8 kB / 0.5745 GB, free: 5.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3464, allocations: 0 / 0.5745 GB, free: 5.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00101/0.3474, allocations: 484.8 kB / 0.575 GB, free: 5.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3474, allocations: 7.938 kB / 0.575 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.69e-05/0.3475, allocations: 44.42 kB / 0.575 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.3476, allocations: 11.94 kB / 0.575 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3478, allocations: 31.97 kB / 0.5751 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3478, allocations: 7.938 kB / 0.5751 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.3481, allocations: 71.48 kB / 0.5751 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.3481, allocations: 20 kB / 0.5752 GB, free: 4.988 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.000256/0.3484, allocations: 213.7 kB / 0.5754 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.3485, allocations: 51.61 kB / 0.5754 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000935/0.3494, allocations: 463.6 kB / 0.5759 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3494, allocations: 7.984 kB / 0.5759 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3494, allocations: 0 / 0.5759 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3495, allocations: 7.938 kB / 0.5759 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.35, allocations: 348.5 kB / 0.5762 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.541e-05/0.3501, allocations: 35.98 kB / 0.5762 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3503, allocations: 31.91 kB / 0.5763 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3503, allocations: 3.938 kB / 0.5763 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.3503, allocations: 12 kB / 0.5763 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3503, allocations: 4 kB / 0.5763 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.3503, allocations: 7.938 kB / 0.5763 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.3513, allocations: 0.6206 MB / 0.5769 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3514, allocations: 59.59 kB / 0.577 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.3514, allocations: 0 / 0.577 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.3517, allocations: 27.92 kB / 0.577 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3519, allocations: 27.91 kB / 0.577 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.3519, allocations: 19.92 kB / 0.577 GB, free: 3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004637/0.3523, allocations: 414.8 kB / 0.5774 GB, free: 2.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3523, allocations: 0 / 0.5774 GB, free: 2.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006702/0.353, allocations: 171.6 kB / 0.5776 GB, free: 2.43 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.001625/0.3546, allocations: 1.307 MB / 0.5789 GB, free: 1.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.3557, allocations: 0.6647 MB / 0.5795 GB, free: 360 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3557, allocations: 0 / 0.5795 GB, free: 360 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005975/0.3563, allocations: 484.2 kB / 0.58 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.357, allocations: 101.6 kB / 0.5801 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/0.3648, allocations: 5.405 MB / 0.5854 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3652, allocations: 288 kB / 0.5856 GB, free: 9.828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.3654, allocations: 79.28 kB / 0.5857 GB, free: 9.746 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.3656, allocations: 131.4 kB / 0.5858 GB, free: 9.617 MB / 430.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3656, allocations: 0 / 0.5858 GB, free: 9.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04621/0.4118, allocations: 15.64 MB / 0.6011 GB, free: 10.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.24, allocations: 7.922 kB / 0.6011 GB, free: 10.27 MB / 446.1 MB " [Timeout remaining time 649] (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.317459932004567]