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_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.0008596/0.0008596, allocations: 79.69 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.0009207/0.0009207, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8941/0.8941, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2444/0.2444, allocations: 34.24 MB / 294.9 MB, free: 0.7305 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_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_1_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_1_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.703e-06/1.703e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.107e-05, allocations: 2.281 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.1825/0.1825, allocations: 1.878 MB / 444.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1838, allocations: 1.057 MB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-05/0.1839, allocations: 2.906 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.1841, allocations: 52.42 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.1843, allocations: 74.97 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.1848, allocations: 185.2 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.185, allocations: 234.8 kB / 445.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.185, allocations: 10.28 kB / 445.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.1853, allocations: 122.7 kB / 445.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1854, allocations: 92.59 kB / 445.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1854, allocations: 8.844 kB / 445.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.1856, allocations: 136.7 kB / 446 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.1857, allocations: 58.97 kB / 446.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.1857, allocations: 56.56 kB / 446.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.186, allocations: 311.9 kB / 446.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.186, allocations: 0 / 446.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.186, allocations: 3.25 kB / 446.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.186, allocations: 2.75 kB / 446.5 MB, free: 42.74 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.0006583/0.1867, allocations: 494.6 kB / 446.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1867, allocations: 10.88 kB / 447 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.1868, allocations: 55.31 kB / 447 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.187, allocations: 62.31 kB / 447.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.1872, allocations: 175.6 kB / 447.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1872, allocations: 8.125 kB / 447.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1872, allocations: 14.62 kB / 447.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.1875, allocations: 281.1 kB / 447.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1875, allocations: 10.81 kB / 447.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1875, allocations: 10 kB / 447.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.1876, allocations: 11.95 kB / 447.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.1878, allocations: 224.5 kB / 447.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.1885, allocations: 0.7062 MB / 448.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.1888, allocations: 227.3 kB / 448.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.1889, allocations: 101.3 kB / 448.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.189, allocations: 2.844 kB / 448.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.189, allocations: 36.78 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.354e-06/0.189, allocations: 3.234 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005167/0.1895, allocations: 319 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.1895, allocations: 113.2 kB / 449.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1897, allocations: 278.2 kB / 449.5 MB, free: 41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.1897, allocations: 28.67 kB / 449.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.1898, allocations: 138.1 kB / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1898, allocations: 52.7 kB / 449.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.1898, allocations: 42.75 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.1899, allocations: 331.3 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.19, allocations: 88.61 kB / 450.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1902, allocations: 131.3 kB / 450.3 MB, free: 40.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.1904, allocations: 216.1 kB / 450.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1904, allocations: 0 / 450.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003399/0.1908, allocations: 265.3 kB / 450.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1908, allocations: 5.406 kB / 450.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.1908, allocations: 12 kB / 450.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1908, allocations: 2.812 kB / 450.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1909, allocations: 39.16 kB / 450.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1909, allocations: 2.625 kB / 450.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.464e-05/0.191, allocations: 41.44 kB / 450.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.191, allocations: 9 kB / 450.9 MB, free: 40.18 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 8.026e-05/0.1911, allocations: 142.2 kB / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.1912, allocations: 30.44 kB / 451.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.1914, allocations: 223.5 kB / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1914, allocations: 2.812 kB / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1914, allocations: 3.938 kB / 451.3 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1914, allocations: 7.234 kB / 451.3 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.1917, allocations: 223.5 kB / 451.5 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.1917, allocations: 11.41 kB / 451.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.1918, allocations: 30.72 kB / 451.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1918, allocations: 0 / 451.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1918, allocations: 6.109 kB / 451.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1918, allocations: 2.781 kB / 451.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1918, allocations: 7.875 kB / 451.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.1921, allocations: 483 kB / 452.1 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.1921, allocations: 20.33 kB / 452.1 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1922, allocations: 3.234 kB / 452.1 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1923, allocations: 23.17 kB / 452.1 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.1923, allocations: 12.78 kB / 452.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.1923, allocations: 13.88 kB / 452.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.816e-05/0.1924, allocations: 199.5 kB / 452.3 MB, free: 39.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1924, allocations: 6.906 kB / 452.3 MB, free: 39.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.1928, allocations: 76.59 kB / 452.4 MB, free: 39.28 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.0005795/0.1933, allocations: 1.07 MB / 453.5 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.1937, allocations: 279 kB / 453.8 MB, free: 38.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1937, allocations: 0 / 453.8 MB, free: 38.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1938, allocations: 176.8 kB / 453.9 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1942, allocations: 51.67 kB / 454 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.1965, allocations: 2.978 MB / 457 MB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.09e-05/0.1966, allocations: 156.1 kB / 457.1 MB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1967, allocations: 41.28 kB / 457.2 MB, free: 36.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.1968, allocations: 63.55 kB / 457.2 MB, free: 36.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1968, allocations: 0 / 457.2 MB, free: 36.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.2184, allocations: 7.583 MB / 464.8 MB, free: 34.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.383, allocations: 10.45 kB / 464.8 MB, free: 34.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_4.1.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: 9.379889878444374]