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.00138/0.00138, allocations: 123.6 kB / 20.44 MB, free: 1.297 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.001485/0.001485, allocations: 208.7 kB / 23.74 MB, free: 4.535 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.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2244/0.2244, allocations: 46.93 MB / 360.9 MB, free: 4.266 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.002141/0.002141, allocations: 71.83 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3047, allocations: 66.03 MB / 0.5607 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003801/0.3085, allocations: 2.248 MB / 0.5629 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.3119, allocations: 2.188 MB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.312, allocations: 4 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.3123, allocations: 67.58 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.3125, allocations: 111.3 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3136, allocations: 456.6 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006055/0.3142, allocations: 0.5093 MB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.965e-05/0.3143, allocations: 21.28 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.3146, allocations: 187 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.3148, allocations: 214.9 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.3149, allocations: 12 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.3159, allocations: 0.663 MB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.316, allocations: 115.4 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.3162, allocations: 198.6 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.3172, allocations: 0.8111 MB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3172, allocations: 0 / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3172, allocations: 0 / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3172, allocations: 0 / 0.5683 GB, free: 12.52 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.001237/0.3185, allocations: 0.7501 MB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3185, allocations: 16.03 kB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.3186, allocations: 102.7 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.319, allocations: 84.56 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.3194, allocations: 262.5 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.3195, allocations: 37.38 kB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.3195, allocations: 47.94 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3206, allocations: 0.6961 MB / 0.5702 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3206, allocations: 0 / 0.5702 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.3206, allocations: 23.98 kB / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.3207, allocations: 21 kB / 0.5703 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009372/0.3216, allocations: 0.4998 MB / 0.5707 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.3237, allocations: 1.461 MB / 0.5722 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/0.3243, allocations: 311.5 kB / 0.5725 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.3247, allocations: 148.1 kB / 0.5726 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/0.3247, allocations: 12.11 kB / 0.5726 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3248, allocations: 42.5 kB / 0.5727 GB, free: 7.844 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.3248, allocations: 4 kB / 0.5727 GB, free: 7.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001259/0.326, allocations: 0.5128 MB / 0.5732 GB, free: 7.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/0.3261, allocations: 110.8 kB / 0.5733 GB, free: 7.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006814/0.3268, allocations: 0.5643 MB / 0.5738 GB, free: 6.613 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.3268, allocations: 33.64 kB / 0.5739 GB, free: 6.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.327, allocations: 232.4 kB / 0.5741 GB, free: 6.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.3271, allocations: 79.31 kB / 0.5741 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.3272, allocations: 89.64 kB / 0.5742 GB, free: 6.172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3274, allocations: 358.8 kB / 0.5746 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.3278, allocations: 147.8 kB / 0.5747 GB, free: 5.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.3282, allocations: 253.5 kB / 0.575 GB, free: 5.375 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/0.329, allocations: 426.4 kB / 0.5754 GB, free: 4.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.329, allocations: 0 / 0.5754 GB, free: 4.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009853/0.33, allocations: 491.9 kB / 0.5758 GB, free: 4.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.33, allocations: 11.94 kB / 0.5758 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.718e-05/0.3301, allocations: 44.42 kB / 0.5759 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3301, allocations: 4 kB / 0.5759 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.3303, allocations: 43.89 kB / 0.5759 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.3303, allocations: 8 kB / 0.5759 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.3306, allocations: 59.55 kB / 0.576 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.3307, allocations: 19.98 kB / 0.576 GB, free: 4.242 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.0002513/0.3309, allocations: 217.7 kB / 0.5762 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.331, allocations: 55.59 kB / 0.5763 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009036/0.3319, allocations: 477.4 kB / 0.5767 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3319, allocations: 4 kB / 0.5767 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3319, allocations: 0 / 0.5767 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.3319, allocations: 3.938 kB / 0.5767 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.3325, allocations: 380.3 kB / 0.5771 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.686e-05/0.3326, allocations: 39.98 kB / 0.5771 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.3328, allocations: 23.97 kB / 0.5772 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3328, allocations: 8 kB / 0.5772 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.3328, allocations: 16 kB / 0.5772 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3328, allocations: 0 / 0.5772 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3328, allocations: 7.875 kB / 0.5772 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009344/0.3337, allocations: 0.6206 MB / 0.5778 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3338, allocations: 59.58 kB / 0.5779 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.3339, allocations: 4 kB / 0.5779 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.3342, allocations: 15.98 kB / 0.5779 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.3343, allocations: 27.91 kB / 0.5779 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.3343, allocations: 15.98 kB / 0.5779 GB, free: 2.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004717/0.3348, allocations: 422.7 kB / 0.5783 GB, free: 1.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3348, allocations: 4 kB / 0.5783 GB, free: 1.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006349/0.3354, allocations: 171.6 kB / 0.5785 GB, free: 1.637 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.001566/0.337, allocations: 1.3 MB / 0.5798 GB, free: 312 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.338, allocations: 0.6599 MB / 0.5804 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3381, allocations: 0 / 0.5804 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.3386, allocations: 492.2 kB / 0.5809 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.3393, allocations: 90.66 kB / 0.581 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007499/0.3468, allocations: 5.416 MB / 0.5862 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.3473, allocations: 0.8818 MB / 0.5871 GB, free: 8.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.3475, allocations: 83.33 kB / 0.5872 GB, free: 8.348 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.3477, allocations: 131.4 kB / 0.5873 GB, free: 8.219 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3477, allocations: 0 / 0.5873 GB, free: 8.219 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04492/0.3926, allocations: 14.55 MB / 0.6015 GB, free: 9.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.66, allocations: 0 / 0.6015 GB, free: 9.891 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.667477634968236]