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.001199/0.001199, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009574/0.0009574, allocations: 170 kB / 23.94 MB, free: 0.6172 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.9114/0.9114, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2449/0.2449, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 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 1.903e-06/1.903e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.102e-05, allocations: 2.281 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.1759/0.1759, allocations: 2.15 MB / 444.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.178, allocations: 1.94 MB / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.1781, allocations: 2.75 kB / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.1784, allocations: 61.88 kB / 446.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.1786, allocations: 114.7 kB / 446.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1797, allocations: 450.2 kB / 446.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.1801, allocations: 0.5236 MB / 447.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.1802, allocations: 20.5 kB / 447.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.1806, allocations: 234.6 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1807, allocations: 179.2 kB / 447.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.1808, allocations: 13.91 kB / 447.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005315/0.1813, allocations: 375.9 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.1814, allocations: 113.6 kB / 448.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1815, allocations: 127.4 kB / 448.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007109/0.1822, allocations: 0.7474 MB / 449.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1822, allocations: 0 / 449.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1822, allocations: 3.938 kB / 449.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1822, allocations: 0 / 449.2 MB, free: 41.46 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.0009294/0.1832, allocations: 0.742 MB / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1832, allocations: 12.56 kB / 450 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.529e-05/0.1833, allocations: 104 kB / 450.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.1835, allocations: 87.05 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.1838, allocations: 250.5 kB / 450.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1838, allocations: 37.12 kB / 450.4 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.1838, allocations: 52.88 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.1845, allocations: 0.6953 MB / 451.2 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1845, allocations: 3.938 kB / 451.2 MB, free: 40.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.1845, allocations: 21.91 kB / 451.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.1846, allocations: 24.28 kB / 451.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.1851, allocations: 499.4 kB / 451.7 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.1863, allocations: 1.412 MB / 453.1 MB, free: 39.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.1867, allocations: 309.7 kB / 453.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.1869, allocations: 148 kB / 453.6 MB, free: 39.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.1869, allocations: 12.62 kB / 453.6 MB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.1869, allocations: 37.12 kB / 453.6 MB, free: 39.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.934e-06/0.1869, allocations: 0 / 453.6 MB, free: 39.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007632/0.1877, allocations: 0.5123 MB / 454.1 MB, free: 39.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1877, allocations: 113.6 kB / 454.3 MB, free: 38.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.1881, allocations: 0.559 MB / 454.8 MB, free: 38.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1881, allocations: 32.95 kB / 454.8 MB, free: 38.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.1882, allocations: 242.8 kB / 455.1 MB, free: 38.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1883, allocations: 86.48 kB / 455.2 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.1883, allocations: 73.39 kB / 455.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.1884, allocations: 361.3 kB / 455.6 MB, free: 38.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.1886, allocations: 147.9 kB / 455.7 MB, free: 38.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.1888, allocations: 263.1 kB / 456 MB, free: 37.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.1892, allocations: 428.5 kB / 456.4 MB, free: 37.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1892, allocations: 3.125 kB / 456.4 MB, free: 37.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005459/0.1898, allocations: 492.2 kB / 456.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1898, allocations: 6.375 kB / 456.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-05/0.1899, allocations: 40.27 kB / 456.9 MB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1899, allocations: 6.344 kB / 456.9 MB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.19, allocations: 48.25 kB / 457 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.19, allocations: 6.469 kB / 457 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.1902, allocations: 65.62 kB / 457.1 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.1902, allocations: 23.44 kB / 457.1 MB, free: 37.51 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.0001394/0.1903, allocations: 217.2 kB / 457.3 MB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.1904, allocations: 46.06 kB / 457.3 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.1909, allocations: 468.5 kB / 457.8 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1909, allocations: 10.31 kB / 457.8 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1909, allocations: 3.062 kB / 457.8 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1909, allocations: 0 / 457.8 MB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.1912, allocations: 350 kB / 458.2 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/0.1913, allocations: 41.12 kB / 458.2 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-05/0.1913, allocations: 24.72 kB / 458.2 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1914, allocations: 0 / 458.2 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1914, allocations: 13.06 kB / 458.2 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1914, allocations: 3.031 kB / 458.2 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1914, allocations: 7.422 kB / 458.2 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.1919, allocations: 0.6271 MB / 458.9 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.1919, allocations: 57.8 kB / 458.9 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.1919, allocations: 3.375 kB / 458.9 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1921, allocations: 19.73 kB / 459 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.1922, allocations: 23.12 kB / 459 MB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1922, allocations: 21.59 kB / 459 MB, free: 36.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002465/0.1924, allocations: 413.5 kB / 459.4 MB, free: 36.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1924, allocations: 0 / 459.4 MB, free: 36.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004883/0.1929, allocations: 179.8 kB / 459.6 MB, free: 36.36 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.0008338/0.1937, allocations: 1.312 MB / 460.9 MB, free: 35.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005223/0.1943, allocations: 0.6584 MB / 461.5 MB, free: 34.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1943, allocations: 0 / 461.5 MB, free: 34.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.1945, allocations: 486.7 kB / 462 MB, free: 34.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.195, allocations: 103.4 kB / 462.1 MB, free: 34.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.1992, allocations: 5.431 MB / 467.6 MB, free: 31.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.1993, allocations: 281.9 kB / 467.8 MB, free: 31.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.1995, allocations: 82.2 kB / 467.9 MB, free: 31.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1996, allocations: 131.6 kB / 468 MB, free: 31.64 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1996, allocations: 0 / 468 MB, free: 31.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.2258, allocations: 15.69 MB / 483.7 MB, free: 29.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.259/7.485, allocations: 5.125 kB / 483.7 MB, free: 29.51 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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: 9.586054323241115]