Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009169/0.0009169, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008823/0.0008823, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8724/0.8724, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 34.24 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.537e-05, allocations: 2.281 kB / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.1791/0.1791, allocations: 1.872 MB / 444.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1802, allocations: 1.063 MB / 445.1 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.1803, allocations: 5.688 kB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.1805, allocations: 54.22 kB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1806, allocations: 65.53 kB / 445.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.181, allocations: 184.5 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1812, allocations: 239.2 kB / 445.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.1812, allocations: 8.094 kB / 445.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.1814, allocations: 122 kB / 445.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.1815, allocations: 96.22 kB / 445.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1815, allocations: 9.875 kB / 445.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.1817, allocations: 133.8 kB / 446 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.1817, allocations: 60.73 kB / 446.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.1818, allocations: 57.5 kB / 446.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.182, allocations: 311.3 kB / 446.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1821, allocations: 0 / 446.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1821, allocations: 6.531 kB / 446.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.778e-06/0.1821, allocations: 0 / 446.4 MB, free: 42.65 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.000614/0.1827, allocations: 0.4904 MB / 446.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1827, allocations: 8.125 kB / 446.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.1827, allocations: 52.69 kB / 447 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.1829, allocations: 57.98 kB / 447.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1831, allocations: 171.9 kB / 447.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1831, allocations: 9.562 kB / 447.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1831, allocations: 17.56 kB / 447.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.1834, allocations: 284.9 kB / 447.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1835, allocations: 3.938 kB / 447.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1835, allocations: 6.844 kB / 447.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.1835, allocations: 11.75 kB / 447.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.1838, allocations: 220.9 kB / 447.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.1844, allocations: 0.7154 MB / 448.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.1847, allocations: 223.6 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.1848, allocations: 100.5 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1848, allocations: 2.75 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.1848, allocations: 37.34 kB / 448.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.1848, allocations: 0 / 448.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005034/0.1853, allocations: 324.8 kB / 449.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.1854, allocations: 113.1 kB / 449.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1855, allocations: 278.8 kB / 449.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.1855, allocations: 29.7 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.1856, allocations: 137.8 kB / 449.7 MB, free: 40.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.1856, allocations: 48.58 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.1857, allocations: 38.95 kB / 449.8 MB, free: 40.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.388e-05/0.1857, allocations: 334.7 kB / 450.1 MB, free: 40.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1858, allocations: 88.44 kB / 450.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.186, allocations: 126.8 kB / 450.3 MB, free: 40.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.1862, allocations: 214.5 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1862, allocations: 6.875 kB / 450.5 MB, free: 40.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003139/0.1865, allocations: 262.1 kB / 450.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1865, allocations: 5.625 kB / 450.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.1866, allocations: 12.94 kB / 450.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1866, allocations: 10.14 kB / 450.8 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.1867, allocations: 40.16 kB / 450.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1867, allocations: 3.281 kB / 450.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-05/0.1868, allocations: 34 kB / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1868, allocations: 9.156 kB / 450.9 MB, free: 40.05 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.65e-05/0.1869, allocations: 150.3 kB / 451.1 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.1869, allocations: 22.98 kB / 451.1 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.1872, allocations: 217.8 kB / 451.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1872, allocations: 2.875 kB / 451.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1872, allocations: 3.938 kB / 451.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1872, allocations: 3.188 kB / 451.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.1874, allocations: 232.5 kB / 451.5 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.1874, allocations: 9.625 kB / 451.5 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.1875, allocations: 29.98 kB / 451.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1875, allocations: 2.938 kB / 451.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1875, allocations: 10.06 kB / 451.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1875, allocations: 4 kB / 451.6 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1875, allocations: 9.031 kB / 451.6 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.1878, allocations: 471.8 kB / 452.1 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.1878, allocations: 23.83 kB / 452.1 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1878, allocations: 6.016 kB / 452.1 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.188, allocations: 18.83 kB / 452.1 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.188, allocations: 24.55 kB / 452.1 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.188, allocations: 5.438 kB / 452.1 MB, free: 39.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.483e-05/0.1881, allocations: 207.9 kB / 452.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1881, allocations: 0 / 452.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.1884, allocations: 77.16 kB / 452.4 MB, free: 39.16 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.0005536/0.189, allocations: 1.072 MB / 453.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.1893, allocations: 282.2 kB / 453.8 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1893, allocations: 0 / 453.8 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.1894, allocations: 177 kB / 453.9 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1898, allocations: 46.22 kB / 454 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.1918, allocations: 2.974 MB / 456.9 MB, free: 36.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.255e-05/0.1919, allocations: 153.5 kB / 457.1 MB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.981e-05/0.192, allocations: 40.69 kB / 457.1 MB, free: 36.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.1921, allocations: 63.86 kB / 457.2 MB, free: 36.02 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1921, allocations: 0 / 457.2 MB, free: 36.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.2115, allocations: 7.572 MB / 464.8 MB, free: 34.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/7.507, allocations: 3.859 kB / 464.8 MB, free: 34.67 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_trunk_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.475341564975679]