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_evenGapTurbulent.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.0008764/0.0008764, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001333/0.001333, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9205/0.9205, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.2373/0.2373, allocations: 32.78 MB / 293.5 MB, free: 1.215 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_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.457e-05, allocations: 2.281 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002544/0.002569, allocations: 1.884 MB / 441.5 MB, free: 2.324 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003962, allocations: 1.059 MB / 442.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.004054, allocations: 0 / 442.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.004296, allocations: 51.62 kB / 442.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.004455, allocations: 71.53 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.004941, allocations: 187.2 kB / 442.9 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.005174, allocations: 234.9 kB / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.005221, allocations: 5.812 kB / 443.1 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.005422, allocations: 123.5 kB / 443.2 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.005539, allocations: 91.69 kB / 443.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.005561, allocations: 8 kB / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.005793, allocations: 135.8 kB / 443.4 MB, free: 380 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/0.005875, allocations: 59.75 kB / 443.5 MB, free: 320 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.005935, allocations: 59.78 kB / 443.6 MB, free: 260 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1708/0.1767, allocations: 305.2 kB / 443.9 MB, free: 43.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1767, allocations: 4.297 kB / 443.9 MB, free: 43.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1767, allocations: 2.875 kB / 443.9 MB, free: 43.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1767, allocations: 2.625 kB / 443.9 MB, free: 43.67 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006849/0.1774, allocations: 490.2 kB / 444.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1774, allocations: 11.66 kB / 444.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.1775, allocations: 51.25 kB / 444.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.1778, allocations: 58.14 kB / 444.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.178, allocations: 179.2 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.178, allocations: 13.53 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.178, allocations: 16.19 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1783, allocations: 289 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1783, allocations: 0 / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1783, allocations: 10.12 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.1784, allocations: 14.3 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.1786, allocations: 223.7 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.1792, allocations: 0.7032 MB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1796, allocations: 230 kB / 446.1 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1797, allocations: 96.02 kB / 446.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.1797, allocations: 9.109 kB / 446.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.092e-05/0.1797, allocations: 40.19 kB / 446.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.1797, allocations: 0 / 446.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004992/0.1802, allocations: 313.4 kB / 446.6 MB, free: 42.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.1803, allocations: 116.9 kB / 446.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1804, allocations: 276.9 kB / 447 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1804, allocations: 28.67 kB / 447 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.1805, allocations: 142.1 kB / 447.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1805, allocations: 49.92 kB / 447.2 MB, free: 42.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.1806, allocations: 40.39 kB / 447.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.464e-05/0.1806, allocations: 333.5 kB / 447.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1807, allocations: 86.7 kB / 447.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.1809, allocations: 127.4 kB / 447.7 MB, free: 41.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.1811, allocations: 215.7 kB / 448 MB, free: 41.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1811, allocations: 5.344 kB / 448 MB, free: 41.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000323/0.1815, allocations: 265.6 kB / 448.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1815, allocations: 9 kB / 448.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.1815, allocations: 12.5 kB / 448.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1815, allocations: 0 / 448.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1816, allocations: 32.39 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1816, allocations: 10.38 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.1817, allocations: 40.61 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.1817, allocations: 9.625 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 7.785e-05/0.1818, allocations: 150 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.1818, allocations: 23.52 kB / 448.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.1821, allocations: 226.2 kB / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1821, allocations: 2.875 kB / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1821, allocations: 5.359 kB / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1821, allocations: 4 kB / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.1823, allocations: 228.6 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.1823, allocations: 8.625 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.1824, allocations: 32.97 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1824, allocations: 0 / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1824, allocations: 5.719 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1824, allocations: 2.719 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1824, allocations: 3.938 kB / 449 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.1827, allocations: 486.2 kB / 449.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.1828, allocations: 23.83 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1828, allocations: 9.781 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1829, allocations: 15.3 kB / 449.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.1829, allocations: 20.05 kB / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.183, allocations: 5.781 kB / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.503e-05/0.183, allocations: 204.4 kB / 449.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.183, allocations: 4 kB / 449.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.1833, allocations: 75.91 kB / 449.8 MB, free: 40.86 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000563/0.1839, allocations: 1.071 MB / 450.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.1842, allocations: 279.9 kB / 451.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1842, allocations: 0 / 451.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1845, allocations: 177.8 kB / 451.4 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1848, allocations: 47.02 kB / 451.4 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.187, allocations: 2.981 MB / 454.4 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.167e-05/0.1871, allocations: 154.5 kB / 454.5 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.973e-05/0.1872, allocations: 38.3 kB / 454.6 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.1873, allocations: 63.52 kB / 454.6 MB, free: 37.94 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1873, allocations: 0 / 454.6 MB, free: 37.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.2047, allocations: 7.582 MB / 462.2 MB, free: 36.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/6.992, allocations: 4 kB / 462.2 MB, free: 36.62 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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_evenGapTurbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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_evenGapTurbulent_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.980428967624903]