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.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.0008296/0.0008296, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001033/0.001033, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.8894/0.8894, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2424/0.2424, allocations: 32.79 MB / 293.5 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] 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.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_0_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_0_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 1.573e-06/1.573e-06, allocations: 3.938 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.785e-05, allocations: 2.844 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002438/0.002456, allocations: 2.151 MB / 441.8 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.004492, allocations: 1.931 MB / 443.7 MB, free: 144 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004593, allocations: 0 / 443.7 MB, free: 144 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.004832, allocations: 75.53 kB / 443.8 MB, free: 68 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1687/0.1735, allocations: 109 kB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1747, allocations: 437 kB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.1751, allocations: 0.5347 MB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.377e-05/0.1752, allocations: 21.06 kB / 444.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.1755, allocations: 237.9 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1756, allocations: 175.4 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1757, allocations: 16.06 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.1762, allocations: 380.4 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.934e-05/0.1763, allocations: 103.3 kB / 445.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.1763, allocations: 129.3 kB / 445.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000643/0.177, allocations: 0.7382 MB / 446.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.177, allocations: 0.5625 kB / 446.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.177, allocations: 1.562 kB / 446.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.177, allocations: 0 / 446.6 MB, free: 42.85 MB / 410.7 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.0007372/0.1777, allocations: 0.7502 MB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1778, allocations: 17.89 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.965e-05/0.1778, allocations: 91.72 kB / 447.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.1781, allocations: 90.78 kB / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.1783, allocations: 254.5 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1783, allocations: 40.03 kB / 447.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.1783, allocations: 47.88 kB / 447.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.179, allocations: 0.6898 MB / 448.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.179, allocations: 2.562 kB / 448.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.179, allocations: 25.06 kB / 448.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.179, allocations: 24.66 kB / 448.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.1795, allocations: 0.498 MB / 449.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1806, allocations: 1.4 MB / 450.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.181, allocations: 306.7 kB / 450.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.1812, allocations: 148.4 kB / 451 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.1812, allocations: 13.94 kB / 451 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.1812, allocations: 40.78 kB / 451 MB, free: 41.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.1812, allocations: 0 / 451 MB, free: 41.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007042/0.1819, allocations: 0.5129 MB / 451.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.182, allocations: 111.7 kB / 451.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1823, allocations: 0.5664 MB / 452.2 MB, free: 40.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1823, allocations: 28.89 kB / 452.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.1824, allocations: 241.8 kB / 452.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1824, allocations: 82.12 kB / 452.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.1825, allocations: 82 kB / 452.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.1825, allocations: 353 kB / 453 MB, free: 39.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.1828, allocations: 158.9 kB / 453.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.183, allocations: 247.3 kB / 453.4 MB, free: 39.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.1834, allocations: 429.1 kB / 453.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1834, allocations: 0 / 453.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005192/0.1839, allocations: 491.7 kB / 454.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.184, allocations: 10.28 kB / 454.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.921e-05/0.184, allocations: 46.77 kB / 454.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.184, allocations: 3.188 kB / 454.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1841, allocations: 33.94 kB / 454.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1841, allocations: 13 kB / 454.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1843, allocations: 68.53 kB / 454.5 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1843, allocations: 19.88 kB / 454.5 MB, free: 39.43 MB / 410.7 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.000125/0.1844, allocations: 228.5 kB / 454.7 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.1845, allocations: 46.77 kB / 454.8 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.1849, allocations: 468.3 kB / 455.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.185, allocations: 3.25 kB / 455.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.185, allocations: 3.375 kB / 455.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.185, allocations: 6.578 kB / 455.2 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.1853, allocations: 350.6 kB / 455.6 MB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/0.1853, allocations: 39.12 kB / 455.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.1854, allocations: 28.95 kB / 455.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1854, allocations: 3.188 kB / 455.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1854, allocations: 13.23 kB / 455.7 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1854, allocations: 3 kB / 455.7 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1854, allocations: 0 / 455.7 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.1859, allocations: 0.6228 MB / 456.3 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.1859, allocations: 63.44 kB / 456.3 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.186, allocations: 4 kB / 456.3 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1861, allocations: 18.25 kB / 456.4 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.1862, allocations: 27.2 kB / 456.4 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1862, allocations: 12.88 kB / 456.4 MB, free: 38.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002371/0.1864, allocations: 412.1 kB / 456.8 MB, free: 38.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1864, allocations: 0 / 456.8 MB, free: 38.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004019/0.1868, allocations: 182.6 kB / 457 MB, free: 38.3 MB / 410.7 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.0008211/0.1877, allocations: 1.32 MB / 458.3 MB, free: 37.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.1882, allocations: 0.6618 MB / 459 MB, free: 36.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1882, allocations: 0 / 459 MB, free: 36.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.1884, allocations: 485.9 kB / 459.4 MB, free: 36.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.1889, allocations: 101.5 kB / 459.5 MB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.1934, allocations: 5.433 MB / 465 MB, free: 33.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.1936, allocations: 282.2 kB / 465.2 MB, free: 33.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.1937, allocations: 81.19 kB / 465.3 MB, free: 33.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.1938, allocations: 133.7 kB / 465.5 MB, free: 33.62 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1938, allocations: 0 / 465.5 MB, free: 33.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.2192, allocations: 15.69 MB / 481.1 MB, free: 31.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.159, allocations: 5.516 kB / 481.2 MB, free: 31.48 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_4.0.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: 9.205944786779583]